Hello all,

I'm not sure if this is actually a bug or if it's just me being stupid, but I would appreciate if you could check this out.
Here is the thing.
I have Player 2.1.1 and Stage 2.0.1 running on my Mac OS 10.4 gracefully. I'm using Fink to install the linux libraries required by Player/Stage and I'm running the default X11 (the xfree86 version, not the latest X.org that 10.5 Leopards run!).

I had a few problems at the beginning, because, even with 'cmake' finding fltk-config, when running 'make' it could not find the FLTK header files.
(btw, I exported the CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH before running 'cmake' as described in INSTALL.txt file, but it either didn't work or something else happened)
I changed the following lines using 'ccmake':
CMAKE_CXX_FLAGS: /sw/include
CMAKE_C_FLAGS: /sw/include
(notice that /sw/include is the default path used by Fink on my mac and possibly all Fink installations on other macs out there)
After these changes, it found the header files.

Everything compiled on my system, but when attempting to link object files and libraries to create the libstageplugin.so (the very last step to get it done) I got some Undefined Symbols:
_playerxdr_ftable_add_multi
_clock_gettime
_playerxdr_free_message
_playerxdr_get_clonefunc
_playerxdr_get_sizeoffunc

I solved all the _playerxdr_* undefined symbols by changing the link.txt (this file can be found in Stage-3.0.1-Source/libstageplugin/CMakeFiles/stageplugin.dir).
After the '-lplayerutils' I typed '-lplayerxdr'
I'm aware that there's no need to be exactly after -lplayerutils, though.
This library should be linked somehow automatically, I guess.

I'm still trying to figure out the _clock_gettime symbol on my mac. Not sure if it's provided by the libc version installed on my mac.
If you have any suggestions on how to solve this undefined symbol, I would appreciate.

Sorry if this is out of the scope of this list, but since I'm having non-trivial (I suppose) problems while attempting to install Stage on a mac machine, I think it's worth sharing with you guys this possible bugs I'm facing.

Cheers,

Murilo