Should be fixed in r2449
** Changed in: yade
Status: New => Fix Released
--
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: Fix Released
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
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp