[eq-dev] Build Issue with 0.6

Stefan Eilemann eilemann at gmail.com
Thu Nov 20 08:59:23 CET 2008


Hi Paul,

I saw that you resolved the problem, but I would like to fully understand it.


On Thu, Nov 20, 2008 at 4:27 AM, Paul Pocock
<Paul.Pocock at dsto.defence.gov.au> wrote:
> 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'

gcc 4.1 should have these atomic operations. Actually, before I
re-explain it badly, have a look at this page:

http://stackoverflow.com/questions/130740?sort=votes

Basically, setting the architecture to >=486 should do the trick. I've
checked in the appropriate change [1], can you test with this version?

You can safely use the trunk until the 0.6 release, there will be no
changes except bug fixes. Alternatively you can apply this one line to
your local version manually. I can't test it myself, for a lack of a
test system.


Cheers,

Stefan.

[1] http://equalizer.svn.sourceforge.net/equalizer/?rev=2351&view=rev



More information about the eq-dev mailing list