ld -v GNU ld (GNU Binutils for Ubuntu) 2.20 Just default installation.
scons SHCCFLAGS="-z muldefs -fPIC" did not help: C py/_packObb.cpp /home/gladk/dem/yade/testMono/build-testMono/packages40.os: In function `TetrahedronVolume(Wm3::Vector3<double> const*)': packages40.cpp:(.text+0xb60): multiple definition of `TetrahedronVolume(Wm3::Vector3<double> const*)' /home/gladk/dem/yade/testMono/build-testMono/packages0.os:packages0.cpp:(.text+0x200): first defined here /home/gladk/dem/yade/testMono/build-testMono/packages40.os: In function `TetrahedronVolume(std::vector<Wm3::Vector3<double>, std::allocator<Wm3::Vector3<double> > > const&)': packages40.cpp:(.text+0xc20): multiple definition of `TetrahedronVolume(std::vector<Wm3::Vector3<double>, std::allocator<Wm3::Vector3<double> > > const&)' /home/gladk/dem/yade/testMono/build-testMono/packages0.os:packages0.cpp:(.text+0x2c0): first defined here collect2: ld returned 1 exit status scons: *** [/home/gladk/dem/yade/testMono/build-testMono/libpackages.so] Error 1 scons: building terminated because of errors. ______________________________ [ENG] Best Regards [GER] Mit freundlichen Grüßen [RUS] С наилучшими пожеланиями [UKR] З найкращими побажаннями Anton Gladkyy 2009/11/30 Václav Šmilauer <eudo...@arcig.cz> > > > Sorry, again > What is your ld and g++ version? It works just fine here... > You can try > > scons SHCCFLAGS="-z muldefs -fPIC" > > v > > > C py/yadeWrapper/yadeWrapper.cpp > > /home/gladk/dem/yade/currentMono/build-currentMono/packages40.os: In > > function `TetrahedronVolume(Wm3::Vector3<double> const*)': > > > /home/gladk/dem/yade/currentMono/build-currentMono/include/yade-currentMono/yade/pkg-dem/Tetra.hpp:146: > multiple definition of `TetrahedronVolume(Wm3::Vector3<double> const*)' > > > /home/gladk/dem/yade/currentMono/build-currentMono/packages0.os:/home/gladk/dem/yade/currentMono/yade/pkg/dem/meta/Tetra.hpp:146: > first defined here > > /home/gladk/dem/yade/currentMono/build-currentMono/packages40.os: In > > function `std::vector<Wm3::Vector3<double>, > > std::allocator<Wm3::Vector3<double> > >::operator[](unsigned long) > > const': > > > /home/gladk/dem/yade/currentMono/build-currentMono/include/yade-currentMono/yade/pkg-dem/Tetra.hpp:147: > multiple definition of `TetrahedronVolume(std::vector<Wm3::Vector3<double>, > std::allocator<Wm3::Vector3<double> > > const&)' > > > /home/gladk/dem/yade/currentMono/build-currentMono/packages0.os:/home/gladk/dem/yade/currentMono/yade/pkg/dem/meta/Tetra.hpp:147: > first defined here > > collect2: ld returned 1 exit status > > scons: *** > > [/home/gladk/dem/yade/currentMono/build-currentMono/libpackages.so] > > Error 1 > > scons: building terminated because of errors. > > > > ______________________________ > > > > Anton Gladkyy > > > > > > 2009/11/30 <nore...@launchpad.net> > > ------------------------------------------------------------ > > revno: 1825 > > committer: Václav Šmilauer <eudo...@arcig.cz> > > branch nick: trunk > > timestamp: Mon 2009-11-30 09:48:32 +0100 > > message: > > 1. Add chunkSize option that determines how many plugins will > > be compiled together. (orthogonal to linkStrategy, that one > > determines how many will be linked to together). Should avoid > > issue with monolithic link on machines with less RAM; allows > > parallel compilation of plugins on machines with lots of RAM. > > Defaults to 20. > > 1. Re-enable crash warning in pyboot.cpp > > > > _______________________________________________ > > Mailing list: > > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > > Post to : yade-dev@lists.launchpad.net > > Unsubscribe : > > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > > More help : https://help.launchpad.net/ListHelp > > > > _______________________________________________ > Mailing list: > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > Post to : yade-dev@lists.launchpad.net > Unsubscribe : > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp