[ playerstage-Bugs-2893423 ] epuck driver blocks static linking

View: New views
1 Messages — Rating Filter:   Alert me  

[ playerstage-Bugs-2893423 ] epuck driver blocks static linking

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bugs item #2893423, was opened at 2009-11-06 17:56
Message generated for change (Tracker Item Submitted) made by newchief
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=433164&aid=2893423&group_id=42445

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: player
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Paul Osmialowski (newchief)
Assigned to: Brian Gerkey (gerkey)
Summary: epuck driver blocks static linking

Initial Comment:
I had to link player binary statically (option SHARED_LIBS set to OFF in ccmake), everything went fine except that I had to turn off Epuck driver. If it is turned on, the error message is:
Scanning dependencies of target player
[ 88%] Building CXX object server/CMakeFiles/player.dir/server.o
Linking CXX executable player
/home/newchief/psg3/src/build/server/libplayerdrivers/libplayerdrivers.a(Timer.o): In function `Timer::Timer()':Timer.cpp:(.text+0x1c4): multiple definition of `Timer::Timer()'
/home/newchief/psg3/src/build/server/libplayerdrivers/libplayerdrivers.a(epuckPosition2d.o):epuckPosition2d.cpp:(.text._ZN5TimerC1Ev[Timer::Timer()]+0x0): first defined here
/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/bin/ld: Warning: size of symbol `Timer::Timer()' changed
from 48 in /home/newchief/psg3/src/build/server/libplayerdrivers/libplayerdrivers.a(epuckPosition2d.o) to 68 in /home/newchief/psg3/src/build/server/libplayerdrivers/libplayerdrivers
.a(Timer.o)
collect2: ld returned 1 exit status
make[2]: *** [server/player] Error 1
make[1]: *** [server/CMakeFiles/player.dir/all] Error 2
make: *** [all] Error 2


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=433164&aid=2893423&group_id=42445

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Playerstage-developers mailing list
Playerstage-developers@...
https://lists.sourceforge.net/lists/listinfo/playerstage-developers