#295 Player SVN trunk: problem with replace

trunk
closed-fixed
G Biggs
player (137)
5
2009-08-04
2009-07-30
Paul Osmialowski
No

Currently Player cannot be build on systems other than Linux/MacOSX/Windows due to problems with replace infrastructure. On Solaris 10 situation looks like this:
[ 80%] Built target playerdrivers
Linking CXX executable player
ld: warning: file ../libplayercore/libplayercore.so.3.0.0-rc2~svn: attempted multiple inclusion of file
ld: warning: file ../libplayerinterface/libplayerinterface.so.3.0.0-rc2~svn: attempted multiple inclusion of file
ld: warning: file ../libplayercommon/libplayercommon.so.3.0.0-rc2~svn: attempted multiple inclusion of file
Undefined first referenced
symbol in file
cfmakeraw libplayerdrivers/libplayerdrivers.so.3.0.0-rc2~svn
ld: fatal: Symbol referencing errors. No output written to player
*** Error code 1
The following command caused the error:
cd /export/home/guest/psg22/src/build/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/player.dir/link.txt --verbose=
make: Fatal error: Command failed for target `server/player'
Current working directory /export/home/guest/psg22/src/build
*** Error code 1
The following command caused the error:
make -f server/CMakeFiles/player.dir/build.make server/CMakeFiles/player.dir/build
make: Fatal error: Command failed for target `server/CMakeFiles/player.dir/all'
Current working directory /export/home/guest/psg22/src/build
*** Error code 1
The following command caused the error:
make -f CMakeFiles/Makefile2 all
make: Fatal error: Command failed for target `all'

There's no cfmakeraw function on Solaris, however, there's cfmakeraw.c file in replace directory where replacement is defined. I don't see any traces this file was actually compiled during whole building process so there's no surprice linker cannot find a symbol defined there.

Discussion

  • G Biggs
    G Biggs
    2009-08-04

    Fixed in CVS HEAD. Thanks very much for the report.

     
  • G Biggs
    G Biggs
    2009-08-04

    • assigned_to: gerkey --> gbiggs
    • status: open --> closed-fixed