[eq-dev] Build Issue with 0.6
Paul Pocock
Paul.Pocock at dsto.defence.gov.au
Thu Nov 20 04:27:35 CET 2008
Hi Stefan, I'm having issues with Equalizer 0.6 under
SLES 10.1 running kernel 2.6.16.21 using gcc 4.1.0:
global.h: In member function ‘void
eq::server::Global::setNodeIAttribute(eq::Node::IAttribute, float)’:
global.h:66: warning: converting to ‘int32_t’ from ‘const float’
/tmp/ccpQPMGb.o: In function `main':
eqServer.cpp:(.text+0x159): undefined reference to
`__sync_add_and_fetch_4'
eqServer.cpp:(.text+0x1dc): undefined reference to
`__sync_sub_and_fetch_4'
eqServer.cpp:(.text+0x23c): undefined reference to
`__sync_add_and_fetch_4'
eqServer.cpp:(.text+0x310): undefined reference to
`__sync_fetch_and_add_4'
eqServer.cpp:(.text+0x3b5): undefined reference to
`__sync_sub_and_fetch_4'
collect2: ld returned 1 exit status
make[1]: *** [.././build/Linux/bin/eqServer] Error 1
make[1]: Leaving directory
`/home/paul/downloads/equalizer-0.6-rc1/server'
make: *** [server] Error 2
It appears to be related (I think) to shared_ptr using gcc atomic
intrinsics. I believe the source of the error may be in atomic.h
but I am unable to rectify the problem. Would you have any idea what the
issue is?
Regards
Paul
IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email.
More information about the eq-dev
mailing list