Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

compilation error for firefox-2.0.0.17

0 views
Skip to first unread message

tintin

unread,
Dec 17, 2008, 8:35:16 AM12/17/08
to
Hi all ,
when i try make with firefox-2.0.0.17

arm-linux-gnu-gcc -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -
Wno-long-long -pedantic -pthread -pipe -DNDEBUG -DTRIMMED -O -fPIC -
shared -Wl,-z,defs -Wl,-h,libmozjs.so -o libmozjs.so jsapi.o
jsarena.o jsarray.o jsatom.o jsbool.o jscntxt.o jsdate.o jsdbgapi.o
jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfun.o jsgc.o jshash.o jsinterp.o
jsiter.o jslock.o jslog2.o jslong.o jsmath.o jsnum.o jsobj.o
jsopcode.o jsparse.o jsprf.o jsregexp.o jsscan.o jsscope.o jsscript.o
jsstr.o jsutil.o jsxdrapi.o jsxml.o prmjtime.o -lm -ldl -
L../../
dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm
/usr/local/arm/arm/arm-gcc-3.4.4/gcc-3.4.4-glibc-2.3.3/arm-linux-gnu/
bin/../lib/gcc/arm-linux-gnu/3.4.4/../../../../arm-linux-gnu/bin/ld:
skipping incompatible ../../dist/lib/libplds4.so when searching for -
lplds4
/usr/local/arm/arm/arm-gcc-3.4.4/gcc-3.4.4-glibc-2.3.3/arm-linux-gnu/
bin/../lib/gcc/arm-linux-gnu/3.4.4/../../../../arm-linux-gnu/bin/ld:
skipping incompatible ../../dist/lib/libplds4.a when searching for -
lplds4
/usr/local/arm/arm/arm-gcc-3.4.4/gcc-3.4.4-glibc-2.3.3/arm-linux-gnu/
bin/../lib/gcc/arm-linux-gnu/3.4.4/../../../../arm-linux-gnu/bin/ld:
cannot find -lplds4
collect2: ld returned 1 exit status
gmake[3]: *** [libmozjs.so] Error 1
gmake[3]: Leaving directory `/root/Desktop/mozilla/js/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/root/Desktop/mozilla/js'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/root/Desktop/mozilla'
make: *** [default] Error 2

here im trying to cross compile for arm on my native system
(fedoraCore-7) .could anyone help me solve this problem .

Mook

unread,
Dec 17, 2008, 11:52:42 AM12/17/08
to
tintin wrote:

> when i try make with firefox-2.0.0.17

You're _cross-compiling_, which is slightly harder :)

(Also, you really want to be posting in mozilla.dev.builds instead; this
newsgroup is deprecated.)

> /usr/local/arm/arm/arm-gcc-3.4.4/gcc-3.4.4-glibc-2.3.3/arm-linux-gnu/
> bin/../lib/gcc/arm-linux-gnu/3.4.4/../../../../arm-linux-gnu/bin/ld:
> skipping incompatible ../../dist/lib/libplds4.so when searching for -
> lplds4

Did you try clobbering (removing the objdir) first? If yes, can you
paste the bit where it links this file? (To make sure that it's using
the right ld for your target platform instead of the host platform)

--
Mook

0 new messages