From: Paul O. <new...@ki...> - 2009-06-10 08:43:46
|
I don't know, there's a big chance it may solve problems on QNX :) Give one more day to check it. Paul On Wed, 10 Jun 2009, gbiggs wrote: > So I can remove the extra linking to the player executable? > > Geoff > > Paul Osmialowski wrote: >> Hi Geoff, >> >> Forget about it, problem is somewhere else. I'll find out what it is. >> >> Paul >> >> On Wed, 10 Jun 2009, Paul Osmialowski wrote: >> >>> >>> On Wed, 10 Jun 2009, gbiggs wrote: >>> >>>> I've added some code to the build system which should link the server >>>> executable to the drivers' extra libs now. See if that solves your problem. >>>> >>>> Geoff >>> Hi Geoff >>> the problem still persist. I've started verbose make: >>> >>> Linking CXX executable player >>> cd /export/home/guest/psg22/src/build/server && /usr/bin/cmake -E >>> cmake_link_script CMakeFiles/player.dir/link.txt --verbose=1 >>> /usr/bin/CC -KPIC CMakeFiles/player.dir/server.o -o player >>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>> ../libplayercore/libplayercore.so.2.2.0 >>> ../libplayercore/libplayererror.so.2.2.0 >>> ../libplayercore/libplayerutils.so.2.2.0 >>> ../libplayertcp/libplayertcp.so.2.2.0 >>> ../libplayertcp/libplayerudp.so.2.2.0 >>> ../libplayerxdr/libplayerxdr.so.2.2.0 >>> ../libplayerwkb/libplayerwkb.so.2.2.0 -lpthread -lltdl -ldl -lrt -lcxcore >>> -lcv -lhighgui -lcvaux -lml -lpng12 -ltiff -lgthread-2.0 -lgdk_pixbuf-2.0 >>> -lm -lmlib -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lgtk-x11-2.0 >>> -lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lpqxx >>> -lcxcore -lcv -lhighgui -lcvaux -lml -lpng12 -ltiff -lgthread-2.0 >>> -lcxcore -lcv -lhighgui -lcvaux -lml -lpng12 -ltiff -lgthread-2.0 >>> -lcxcore -lcv -lhighgui -lcvaux -lml -lpng12 -ltiff -lgthread-2.0 -ljpeg >>> -ljpeg -ljpeg -lcxcore -lcv -lhighgui -lcvaux -lml -lpng12 -ltiff >>> -lgthread-2.0 -lcxcore -lcv -lhighgui -lcvaux -lml -lpng12 -ltiff >>> -lgthread-2.0 -lgdk_pixbuf-2.0 -lm -lmlib >>> -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lgdk_pixbuf-2.0 -lm -lmlib >>> -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lgtk-x11-2.0 >>> -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib -lpangoxft-1.0 >>> -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 >>> -lgdk_pixbuf-2.0 -lm -lmlib -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 >>> -lgdk_pixbuf-2.0 -lm -lmlib -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 >>> -lz -lpqxx ../libplayerjpeg/libplayerjpeg.so.2.2.0 -ljpeg >>> ../libplayercore/libplayercore.so.2.2.0 -lpthread -lltdl -ldl -lrt >>> ../libplayercore/libplayerutils.so.2.2.0 >>> ../libplayercore/libplayererror.so.2.2.0 >>> ../libplayerxdr/libplayerxdr.so.2.2.0 -lsocket -lnsl -lz >>> -R/export/home/guest/psg22/src/build/server/libplayerdrivers:/export/home/guest/psg22/src/build/libplayercore:/export/home/guest/psg22/src/build/libplayertcp:/export/home/guest/psg22/src/build/libplayerxdr:/export/home/guest/psg22/src/build/libplayerwkb:/export/home/guest/psg22/src/build/libplayerjpeg >>> ld: warning: file ../libplayercore/libplayercore.so.2.2.0: attempted >>> multiple inclusion of file >>> ld: warning: file ../libplayercore/libplayerutils.so.2.2.0: attempted >>> multiple inclusion of file >>> ld: warning: file ../libplayercore/libplayererror.so.2.2.0: attempted >>> multiple inclusion of file >>> ld: warning: file ../libplayerxdr/libplayerxdr.so.2.2.0: attempted >>> multiple inclusion of file >>> Undefined first referenced >>> symbol in file >>> PQresultStatus >>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>> PQresultErrorMessage >>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>> PQexec >>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>> PQclear >>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>> PQntuples >>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>> PQfinish >>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>> PQstatus >>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>> PQgetlength >>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>> PQgetvalue >>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>> PQexecParams >>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>> PQsetdbLogin >>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>> ld: fatal: Symbol referencing errors. No output written to player >>> >>> It is weird, as libpqxx is listed there! Looks like it must be listed >>> before libplayerdrivers/libplayerdrivers.so.2.2.0. >>> >>> Paul >>> >>>> Paul Osmialowski wrote: >>>>> Hi developers, >>>>> >>>>> Since I was able to compile postgis driver on Solaris for a first time, >>>>> new errors showed up: >>>>> >>>>> Undefined first referenced >>>>> symbol in file >>>>> PQresultStatus >>>>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>>>> PQresultErrorMessage >>>>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>>>> PQexec >>>>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>>>> PQclear >>>>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>>>> PQntuples >>>>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>>>> PQfinish >>>>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>>>> PQstatus >>>>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>>>> PQgetlength >>>>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>>>> PQgetvalue >>>>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>>>> PQexecParams >>>>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>>>> PQsetdbLogin >>>>> libplayerdrivers/libplayerdrivers.so.2.2.0 >>>>> 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' >>>>> >>>>> SunCC linker needs every library used while building drivers to be >>>>> explicitly linked with final player binary. The postgis driver uses >>>>> libpqxx C++ library managed by pkg-config infrastructure: >>>>> $ pkg-config libpqxx --libs >>>>> -lpqxx >>>>> I don't know which cmake files should be changed to make it work >>>>> (similarly, cameracompress driver uses libjpeg and cmake scripts know >>>>> about it while final player binary is linked). >>>>> >>>>> Paul >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Crystal Reports - New Free Runtime and 30 Day Trial >>>>> Check out the new simplified licensing option that enables unlimited >>>>> royalty-free distribution of the report engine for externally facing >>>>> server and web deployment. >>>>> http://p.sf.net/sfu/businessobjects >>>>> _______________________________________________ >>>>> Playerstage-developers mailing list >>>>> Pla...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/playerstage-developers >>>> ------------------------------------------------------------------------------ >>>> Crystal Reports - New Free Runtime and 30 Day Trial >>>> Check out the new simplified licensing option that enables unlimited >>>> royalty-free distribution of the report engine for externally facing >>>> server and web deployment. >>>> http://p.sf.net/sfu/businessobjects >>>> _______________________________________________ >>>> Playerstage-developers mailing list >>>> Pla...@li... >>>> https://lists.sourceforge.net/lists/listinfo/playerstage-developers >>>> >>> ------------------------------------------------------------------------------ >>> Crystal Reports - New Free Runtime and 30 Day Trial >>> Check out the new simplified licensing option that enables unlimited >>> royalty-free distribution of the report engine for externally facing >>> server and web deployment. >>> http://p.sf.net/sfu/businessobjects >>> _______________________________________________ >>> Playerstage-developers mailing list >>> Pla...@li... >>> https://lists.sourceforge.net/lists/listinfo/playerstage-developers >>> >> >> ------------------------------------------------------------------------------ >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensing option that enables unlimited >> royalty-free distribution of the report engine for externally facing >> server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> Playerstage-developers mailing list >> Pla...@li... >> https://lists.sourceforge.net/lists/listinfo/playerstage-developers > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Playerstage-developers mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-developers > |