compiling firefox under RHEL4 -- libmozz.so issue
Justin Gedge
gedgezilla at gmail.com
Thu Jul 27 18:20:03 MDT 2006
okay- I'm trying to compile firefox on RHEL4. Currently compiling in my own
account to try a few options out- trying to work out issues w/ firefox and
other software. But at the moment- I can't get firefox to compile. last
part of make log shows:
/home/gedge/programs/firefox/mozilla/config/nsinstall -R -m 755 lots
../../dist/bin
gmake[3]: Leaving directory `/home/gedge/programs/firefox/mozilla/dbm/tests'
gmake[2]: Leaving directory `/home/gedge/programs/firefox/mozilla/dbm'
gmake[2]: Entering directory `/home/gedge/programs/firefox/mozilla/jpeg'
/home/gedge/programs/firefox/mozilla/config/nsinstall -R -m 644
libmozjpeg.a../dist/lib
gmake[2]: Leaving directory `/home/gedge/programs/firefox/mozilla/jpeg'
gmake[2]: Entering directory
`/home/gedge/programs/firefox/mozilla/modules/zlib'
gmake[3]: Entering directory
`/home/gedge/programs/firefox/mozilla/modules/zlib/src'
rm -f libmozz.so
c++ -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion
-Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic
-fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O -fPIC -shared -Wl,-h
-Wl,libmozz.so -o libmozz.so adler32.o compress.o crc32.o deflate.o gzio.o
infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o
-ldl -lm
/usr/bin/ld: deflate.o: relocation R_X86_64_PC32 against
`memcpy@@GLIBC_2.2.5' can not be used when making a shared object; recompile
with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
gmake[3]: *** [libmozz.so] Error 1
gmake[3]: Leaving directory
`/home/gedge/programs/firefox/mozilla/modules/zlib/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/home/gedge/programs/firefox/mozilla/modules/zlib'
gmake[1]: *** [tier_1] Error 2
gmake[1]: Leaving directory `/home/gedge/programs/firefox/mozilla'
gmake: *** [default] Error 2
Kind of interesting- it complains about libmozz.so not being there- but a
few lines earlier- it [rm -f libmozz.so]. Not sure why it's going through
torching a file it needs seconds later in the compile. Any ideas?
Justin Gedge
More information about the PLUG
mailing list