Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402759 - games-sports/vdrift-20111022 fails to link
Summary: games-sports/vdrift-20111022 fails to link
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 401821
  Show dependency tree
 
Reported: 2012-02-08 19:43 UTC by EoD
Modified: 2012-06-19 17:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Full Build Log (build.log,8.59 KB, text/plain)
2012-02-08 19:43 UTC, EoD
Details
emerge --info =games-sports/vdrift-20111022 (info.log,17.82 KB, text/plain)
2012-02-08 19:46 UTC, EoD
Details

Note You need to log in before you can comment on or make changes to this bug.
Description EoD 2012-02-08 19:43:17 UTC
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
Comment 1 EoD 2012-02-08 19:46:01 UTC
Created attachment 301287 [details]
emerge --info =games-sports/vdrift-20111022
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2012-02-08 20:21:55 UTC
does it still fail with MAKEOPTS=-j1
Comment 3 Martin Walch 2012-02-09 14:15:36 UTC
This happens with

USE="double-precision" emerge -1 bullet

(I do not know if it is intended by upstream that single precision is required.)
Comment 4 EoD 2012-02-13 19:52:47 UTC
(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.
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-02-16 09:29:35 UTC
Same here, USE="double-precision" triggers the failure (didn't test with USE="-double-precision").
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2012-06-19 17:32:44 UTC
added the use dep