Created attachment 301285 [details] Full Build Log When I try to compile vdrift, it fails to link with the following message: LINK build/vdrift build/cardynamics.o: In function `CARDYNAMICS::Tick(float, btVector3 const&, btVector3 const&)': cardynamics.cpp:(.text+0x7719): undefined reference to `btRigidBody::integrateVelocities(float)' cardynamics.cpp:(.text+0x772b): undefined reference to `btRigidBody::predictIntegratedTransform(float, btTransform&)' build/cardynamics.o: In function `CARDYNAMICS::Load(PTree const&, btVector3 const&, btVector3 const&, btVector3 const&, btQuaternion const&, bool, DynamicsWorl cardynamics.cpp:(.text+0xc42c): undefined reference to `btMultiSphereShape::btMultiSphereShape(btVector3 const*, float const*, int)' build/dynamicsworld.o: In function `btDiscreteDynamicsWorld::updateVehicles(float)': dynamicsworld.cpp:(.text._ZN23btDiscreteDynamicsWorld14updateVehiclesEf[btDiscreteDynamicsWorld::updateVehicles(float)]+0x1): undefined reference to `btDiscret build/dynamicsworld.o:(.rodata._ZTV13DynamicsWorld[vtable for DynamicsWorld]+0x70): undefined reference to `btDiscreteDynamicsWorld::stepSimulation(float, int, build/dynamicsworld.o:(.rodata._ZTV13DynamicsWorld[vtable for DynamicsWorld]+0x118): undefined reference to `btDiscreteDynamicsWorld::predictUnconstraintMotion build/dynamicsworld.o:(.rodata._ZTV13DynamicsWorld[vtable for DynamicsWorld]+0x120): undefined reference to `btDiscreteDynamicsWorld::integrateTransforms(float build/dynamicsworld.o:(.rodata._ZTV13DynamicsWorld[vtable for DynamicsWorld]+0x138): undefined reference to `btDiscreteDynamicsWorld::internalSingleStepSimulat build/dynamicsworld.o:(.rodata._ZTV13DynamicsWorld[vtable for DynamicsWorld]+0x140): undefined reference to `btDiscreteDynamicsWorld::saveKinematicState(float) build/fracturebody.o: In function `FractureBody::shiftTransform(btCompoundShape*, float*, btTransform&, btVector3&)': fracturebody.cpp:(.text+0xaa0): undefined reference to `btCompoundShape::calculatePrincipalAxisTransform(float*, btTransform&, btVector3&) const' build/loadcollisionshape.o: In function `LoadHullShape(PTree const&, btVector3 const&, btCollisionShape*&)': loadcollisionshape.cpp:(.text+0x9f): undefined reference to `btConvexHullShape::btConvexHullShape(float const*, int, int)' collect2: ld returned 1 exit status scons: *** [build/vdrift] Error 1
Created attachment 301287 [details] emerge --info =games-sports/vdrift-20111022
does it still fail with MAKEOPTS=-j1
This happens with USE="double-precision" emerge -1 bullet (I do not know if it is intended by upstream that single precision is required.)
(In reply to comment #2) > does it still fail with MAKEOPTS=-j1 It failed also with MAKEOPTS="-j1". But after updating to "sci-physics/bullet-2.79-r1" with USE="double-precision" it compiled and linked without problems.
Same here, USE="double-precision" triggers the failure (didn't test with USE="-double-precision").
added the use dep