← Back to team overview

yade-dev team mailing list archive

Build errors

 

Hi, I have the following errors with the packages in build...  The fresh installation was ok.  I then copied the junk(beginner test) files from my old installation.  It couldn't compile, then I deleted them.  I got these errors.

L libpackages.so
/home/chiab/yadeNew/build-b1/packages3.os: In function `SimpleElasticRelationshipsWater::SimpleElasticRelationshipsWater()':
packages3.cpp:(.text+0x0): multiple definition of `SimpleElasticRelationshipsWater::SimpleElasticRelationshipsWater()'
/home/chiab/yadeNew/build-b1/packages2.os:packages2.cpp:(.text+0x1250): first defined here
/home/chiab/yadeNew/build-b1/packages3.os: In function `SimpleElasticRelationshipsWater::SimpleElasticRelationshipsWater()':
packages3.cpp:(.text+0x50): multiple definition of `SimpleElasticRelationshipsWater::SimpleElasticRelationshipsWater()'
/home/chiab/yadeNew/build-b1/packages2.os:packages2.cpp:(.text+0x1200): first defined here
/home/chiab/yadeNew/build-b1/packages3.os: In function `non-virtual thunk to SimpleElasticRelationshipsWater::go(boost::shared_ptr<Material> const&, boost::shared_ptr<Material> const&, boost::shared_ptr<Interaction> const&)':
packages3.cpp:(.text+0x8d40): multiple definition of `non-virtual thunk to SimpleElasticRelationshipsWater::go(boost::shared_ptr<Material> const&, boost::shared_ptr<Material> const&, boost::shared_ptr<Interaction> const&)'
/home/chiab/yadeNew/build-b1/packages2.os:packages2.cpp:(.text+0x6fc0): first defined here
/home/chiab/yadeNew/build-b1/packages3.os: In function `SimpleElasticRelationshipsWater::go(boost::shared_ptr<Material> const&, boost::shared_ptr<Material> const&, boost::shared_ptr<Interaction> const&)':
packages3.cpp:(.text+0x8d50): multiple definition of `SimpleElasticRelationshipsWater::go(boost::shared_ptr<Material> const&, boost::shared_ptr<Material> const&, boost::shared_ptr<Interaction> const&)'
/home/chiab/yadeNew/build-b1/packages2.os:packages2.cpp:(.text+0x6fd0): first defined here
collect2: ld returned 1 exit status
scons: *** [/home/chiab/yadeNew/build-b1/libpackages.so] Error 1


Would appreciate any advice.  


Yours,

CWBoon
 		 	   		  
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop

Follow ups