mohitsh / jslibs

Automatically exported from code.google.com/p/jslibs
0 stars 0 forks source link

`make all copy` fails with "/usr/bin/ld: cannot find -lfast" #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Trying to run `make all copy` as directed on the jslibsBuild wiki page
fails for me.
OS: Ubuntu 8.04
Apt packages installed:
gcc (points to gcc-4.2 package), gcc-3.4 package also installed in case it
was a version compatibility issue)
g++ (points to g++-4.2 package), g++-3.4 package also installed in case it
was a version compatibility issue)
make (3.81-3 in apt)
automake1.8 (1.8.5)
libtool (1.5.26)
pkg-config
gettext

`make all copy` fails with this at the bottom:
{{{
cp ./src/libtomcrypt.a ./opt/
make[2]: Leaving directory
`/home/daniel/Workspace/AtelesWiki/libs/jslibs/libs/libtomcrypt'
gcc -Wall -O3 -s -funroll-loops -fpic -m32 -fno-exceptions -fno-rtti
-felide-constructors  -DLTM_DESC  -I../../libs/js/opt -I../../libs/js/src
-I../../libs/libtommath/src -I../../libs/libtomcrypt/src/src/headers -o
jscrypt.so -shared -Wl,-soname,jscrypt.so asymmetricCipher.o cipher.o
error.o hash.o main.o misc.o prng.o stdafx.o -Wl,-Bstatic
../../libs/libtomcrypt/src/libtomcrypt.a
../../libs/libtommath/src/libtommath.a -Wl,-Bdynamic  -Wl,-Bdynamic
-L../../libs/js/opt -ljs
mkdir -p ./opt/
cp jscrypt.so ./opt/
make[1]: Leaving directory
`/home/daniel/Workspace/AtelesWiki/libs/jslibs/src/jscrypt'
make -C src/jsode all copy BUILD=opt
make[1]: Entering directory
`/home/daniel/Workspace/AtelesWiki/libs/jslibs/src/jsode'
gcc -Wall -O3 -s -funroll-loops -fpic -m32 -fno-exceptions -fno-rtti
-felide-constructors    -I../../libs/js/opt -I../../libs/js/src
-I../../libs/ode/src/include -o jsode.so -shared -Wl,-soname,jsode.so
body.o geomBox.o geomCapsule.o geom.o geomPlane.o geomRay.o geomSphere.o
geomTrimesh.o jointBall.o joint.o jointFixed.o jointHinge.o jointPlane.o
jointSlider.o main.o mass.o space.o stdafx.o surfaceParameters.o world.o
-Wl,-Bstatic -L../../libs/ode/opt -lfast -lOPCODE -lode -Wl,-Bdynamic 
-Wl,-Bdynamic -L../../libs/js/opt -ljs
/usr/bin/ld: cannot find -lfast
collect2: ld returned 1 exit status
make[1]: *** [jsode.so] Error 1
make[1]: Leaving directory
`/home/daniel/Workspace/AtelesWiki/libs/jslibs/src/jsode'
make: *** [src/jsode] Error 2
}}}

Original issue reported on code.google.com by nadir.se...@gmail.com on 2 Nov 2008 at 7:15

GoogleCodeExporter commented 9 years ago
Thanks for reporting the issue.
I think it is a minor dependency issue between jsode and ode.
I will fix this as soon as possible.

Original comment by sou...@gmail.com on 2 Nov 2008 at 5:10

GoogleCodeExporter commented 9 years ago
Ok, any instructions in the meantime for disabling the building of that module?

I'm only going to be using jslibs on the web side for serving out pages, so all 
that
3d and physics stuff isn't needed.

A page on building jslibs with only certain modules would be good, especially 
for
projects which only need specific modules and such can have users of the project
compile jslibs to take up only the needed amount of space.

Original comment by nadir.se...@gmail.com on 2 Nov 2008 at 10:47

GoogleCodeExporter commented 9 years ago
You can edit the main Makefile (jslibs/Makefile) and remove from SUBDIRS the 
modules
you don't need.

Original comment by sou...@gmail.com on 2 Nov 2008 at 11:03

GoogleCodeExporter commented 9 years ago

Original comment by sou...@gmail.com on 27 Nov 2008 at 9:44