yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #02382
Re: [Branch ~yade-dev/yade/trunk] Rev 1825: 1. Add chunkSize option that determines how many plugins will be compiled together. (orthogonal t...
> 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 <noreply@xxxxxxxxxxxxx>
> ------------------------------------------------------------
> revno: 1825
> committer: Václav Šmilauer <eudoxos@xxxxxxxx>
> 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
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help : https://help.launchpad.net/ListHelp
Follow ups
References