yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05713
[Bug 646020] Re: Compilation error
Sorry, for previous post. It should be:
Sometimes I get compilation error:
....
....
--
Compilation error
https://bugs.launchpad.net/bugs/646020
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
Status in Yet Another Dynamic Engine: New
Bug description:
Sometimes i can copilation error:
L libplugins.so
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'Law2_ScGeom_CFpmPhys_CohesiveFrictionalPM* boost::serialization::factory<Law2_ScGeom_CFpmPhys_CohesiveFrictionalPM, 0>(__va_list_tag*)'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'non-virtual thunk to CFpmPhys::~CFpmPhys()'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'CFpmPhys::~CFpmPhys()'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'non-virtual thunk to CFpmPhys::~CFpmPhys()'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'CFpmPhys::~CFpmPhys()'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'CFpmPhys::~CFpmPhys()'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'Ip2_CFpmMat_CFpmMat_CFpmPhys* boost::serialization::factory<Ip2_CFpmMat_CFpmMat_CFpmPhys, 0>(__va_list_tag*)'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'non-virtual thunk to Ip2_CFpmMat_CFpmMat_CFpmPhys::go(boost::shared_ptr<Material> const&, boost::shared_ptr<Material> const&, boost::shared_ptr<Interaction> const&)'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'Ip2_CFpmMat_CFpmMat_CFpmPhys::go(boost::shared_ptr<Material> const&, boost::shared_ptr<Material> const&, boost::shared_ptr<Interaction> const&)'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'CFpmMat* boost::serialization::factory<CFpmMat, 0>(__va_list_tag*)'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'non-virtual thunk to Law2_ScGeom_CFpmPhys_CohesiveFrictionalPM::go(boost::shared_ptr<InteractionGeometry>&, boost::shared_ptr<InteractionPhysics>&, Interaction*)'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'Law2_ScGeom_CFpmPhys_CohesiveFrictionalPM::go(boost::shared_ptr<InteractionGeometry>&, boost::shared_ptr<InteractionPhysics>&, Interaction*)'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'CFpmState* boost::serialization::factory<CFpmState, 0>(__va_list_tag*)'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'CFpmPhys* boost::serialization::factory<CFpmPhys, 0>(__va_list_tag*)'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'Law2_ScGeom_CFpmPhys_CohesiveFrictionalPM::logger'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
/usr/bin/ld: error: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins22.os: multiple definition of 'Ip2_CFpmMat_CFpmMat_CFpmPhys::logger'
/usr/bin/ld: /home/gladk/dem/yade/cleanComp/build-cleanComp/plugins21.os: previous definition here
collect2: ld returned 1 exit status
Follow ups
References