You are not logged in.
hi im running arch64 (www.arch64.org) and need help compiling firefox 1.5 beta 2 from source...im using this AUR entry
http://aur.archlinux.org/packages.php?d … s=0&SeB=nd
compile proceeds fine...until...
------------------------------------------------------------------------
gcc -o jsutil.o -c -I../../dist/include/system_wrappers -include ../../config/gc
c_hidden.h -DOSTYPE="Linux2.6" -DOSARCH="Linux" -DBUILD_ID=0000000000 -DEXPO
RT_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js -I../../dist/include -I
../../dist/include/nspr -I../../dist/sdk/include -I. -I/usr/X11R6/include -
fPIC -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno
-long-long -march=x86-64 -O2 -pipe -pthread -pipe -DNDEBUG -DTRIMMED -march=x86
-64 -O2 -pipe -I/usr/X11R6/include -include ../../mozilla-config.h -DMOZILLA_CL
IENT -Wp,-MD,.deps/jsutil.pp jsutil.c
jsxdrapi.c
gcc -o jsxdrapi.o -c -I../../dist/include/system_wrappers -include ../../config/
gcc_hidden.h -DOSTYPE="Linux2.6" -DOSARCH="Linux" -DBUILD_ID=0000000000 -DEX
PORT_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js -I../../dist/include
-I../../dist/include/nspr -I../../dist/sdk/include -I. -I/usr/X11R6/include
-fPIC -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W
no-long-long -march=x86-64 -O2 -pipe -pthread -pipe -DNDEBUG -DTRIMMED -march=x
86-64 -O2 -pipe -I/usr/X11R6/include -include ../../mozilla-config.h -DMOZILLA_
CLIENT -Wp,-MD,.deps/jsxdrapi.pp jsxdrapi.c
jsxml.c
gcc -o jsxml.o -c -I../../dist/include/system_wrappers -include ../../config/gcc
_hidden.h -DOSTYPE="Linux2.6" -DOSARCH="Linux" -DBUILD_ID=0000000000 -DEXPOR
T_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js -I../../dist/include -I.
./../dist/include/nspr -I../../dist/sdk/include -I. -I/usr/X11R6/include -f
PIC -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-
long-long -march=x86-64 -O2 -pipe -pthread -pipe -DNDEBUG -DTRIMMED -march=x86-
64 -O2 -pipe -I/usr/X11R6/include -include ../../mozilla-config.h -DMOZILLA_CLI
ENT -Wp,-MD,.deps/jsxml.pp jsxml.c
jsxml.c: In function 'XMLArraySetCapacity':
jsxml.c:1038: warning: comparison is always false due to limited range of data t
ype
jsxml.c: In function 'XMLArrayAddMember':
jsxml.c:1133: warning: comparison is always false due to limited range of data t
ype
prmjtime.c
gcc -o prmjtime.o -c -I../../dist/include/system_wrappers -include ../../config/
gcc_hidden.h -DOSTYPE="Linux2.6" -DOSARCH="Linux" -DBUILD_ID=0000000000 -DEX
PORT_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js -I../../dist/include
-I../../dist/include/nspr -I../../dist/sdk/include -I. -I/usr/X11R6/include
-fPIC -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W
no-long-long -march=x86-64 -O2 -pipe -pthread -pipe -DNDEBUG -DTRIMMED -march=x
86-64 -O2 -pipe -I/usr/X11R6/include -include ../../mozilla-config.h -DMOZILLA_
CLIENT -Wp,-MD,.deps/prmjtime.pp prmjtime.c
rm -f libmozjs.so
gcc -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-
long-long -march=x86-64 -O2 -pipe -pthread -pipe -DNDEBUG -DTRIMMED -march=x86-
64 -O2 -pipe -fPIC -shared -Wl,-h -Wl,libmozjs.so -o libmozjs.so jsapi.o jsaren
a.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 jslock.o jslog2.o jslong.o
jsmath.o jsnum.o jsobj.o jsopcode.o jsparse.o jsprf.o jsregexp.o jsscan.o jsscop
e.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/bin/ld: jsapi.o: relocation R_X86_64_PC32 against `memset@@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
make[3]: *** [libmozjs.so] Error 1
make[3]: Leaving directory `/root/Desktop/firefox-1.5b2/src/mozilla/js/src'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/root/Desktop/firefox-1.5b2/src/mozilla/js'
make[1]: *** [tier_2] Error 2
make[1]: Leaving directory `/root/Desktop/firefox-1.5b2/src/mozilla'
make: *** [default] Error 2
==> ERROR: Build Failed. Aborting...
-----------------------------------------------------------------
can anyone tell me what i need to do to get this working? thanks..
Offline
thanks vitorlima..builds fine now..
Offline
trying to build thunder 1.5rc1... it fails in the exact same location and so i applied the visibility patch and things seemed ok..however the build failed here
secutil.c:3265: error: 'handle' undeclared (first use in this function)
secutil.c:3265: error: 'checksig' undeclared (first use in this function)
secutil.c:3265: error: 'certUsage' undeclared (first use in this function)
secutil.c:3265: warning: implicit declaration of function 'PR_Now'
secutil.c:3265: error: 'pinArg' undeclared (first use in this function)
secutil.c:3268: error: 'outfile' undeclared (first use in this function)
secutil.c:3275: error: 'verbose' undeclared (first use in this function)
secutil.c:3293: warning: cast from pointer to integer of different size
secutil.c:3309: warning: cast from pointer to integer of different size
secutil.c:3337: error: dereferencing pointer to incomplete type
secutil.c:3348: error: 'err' undeclared (first use in this function)
secutil.c:3255: warning: unused variable 'log'
secutil.c: In function 'SECU_StringToSignatureAlgTag':
secutil.c:3357: warning: implicit declaration of function 'PL_strcmp'
secutil.c: At top level:
secutil.c:3378: error: syntax error before 'PRFileDesc'
secutil.c: In function 'SECU_StoreCRL':
secutil.c:3387: error: 'outFile' undeclared (first use in this function)
secutil.c:3388: error: 'ascii' undeclared (first use in this function)
secutil.c:3393: warning: implicit declaration of function 'PR_Write'
secutil.c: In function 'SECU_SignAndEncodeCRL':
secutil.c:3421: error: 'PRArenaPool' undeclared (first use in this function)
secutil.c:3431: error: dereferencing pointer to incomplete type
secutil.c:3439: error: dereferencing pointer to incomplete type
secutil.c:3446: error: dereferencing pointer to incomplete type
secutil.c:3447: error: dereferencing pointer to incomplete type
secutil.c:3456: error: dereferencing pointer to incomplete type
secutil.c:3464: error: dereferencing pointer to incomplete type
secutil.c:3471: error: dereferencing pointer to incomplete type
secutil.c:3472: error: dereferencing pointer to incomplete type
secutil.c:3479: error: dereferencing pointer to incomplete type
secutil.c:3480: error: dereferencing pointer to incomplete type
secutil.c:3481: error: dereferencing pointer to incomplete type
secutil.c: At top level:
secutil.c:3499: error: syntax error before '*' token
secutil.c: In function 'SECU_CopyCRL':
secutil.c:3505: error: 'destArena' undeclared (first use in this function)
secutil.c:3505: error: 'srcCrl' undeclared (first use in this function)
secutil.c:3505: error: 'destCrl' undeclared (first use in this function)
secutil.c: At top level:
secutil.c:3531: error: syntax error before '*' token
secutil.c: In function 'SECU_DerSignDataCRL':
secutil.c:3545: error: 'buf' undeclared (first use in this function)
secutil.c:3545: error: 'pk' undeclared (first use in this function)
secutil.c:3545: error: 'algID' undeclared (first use in this function)
secutil.c:3549: error: 'sd' undeclared (first use in this function)
secutil.c: At top level:
secutil.c:3609: error: syntax error before 'PRTime'
secutil.c: In function 'SECU_FindCrlIssuer':
secutil.c:3616: error: wrong type argument to unary exclamation mark
secutil.c:3623: error: 'validTime' undeclared (first use in this function)
secutil.c:3623: error: 'PR_TRUE' undeclared (first use in this function)
secutil.c:3623: error: 'subject' has an incomplete type
secutil.c:3628: warning: implicit declaration of function 'PR_LIST_HEAD'
secutil.c:3628: error: dereferencing pointer to incomplete type
secutil.c:3628: warning: cast to pointer from integer of different size
secutil.c:3631: error: dereferencing pointer to incomplete type
secutil.c:3632: error: dereferencing pointer to incomplete type
secutil.c:3634: error: dereferencing pointer to incomplete type
secutil.c: At top level:
secutil.c:3658: error: syntax error before '*' token
secutil.c: In function 'SECU_EncodeAndAddExtensionValue':
secutil.c:3668: error: 'EncodeValueFn' undeclared (first use in this function)
secutil.c:3668: error: 'value' undeclared (first use in this function)
secutil.c:3672: error: 'extHandle' undeclared (first use in this function)
secutil.c:3672: error: 'extenType' undeclared (first use in this function)
secutil.c:3673: error: 'criticality' undeclared (first use in this function)
secutil.c:3673: error: 'PR_TRUE' undeclared (first use in this function)
make[3]: *** [Linux2.6_x86_64_glibc_PTH_64_OPT.OBJ/secutil.o] Error 1
make[3]: Leaving directory `/root/Desktop/thunderbird-1.5rc1/src/mozilla/securit
y/nss/cmd/lib'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/root/Desktop/thunderbird-1.5rc1/src/mozilla/securit
y/manager'
make[1]: *** [tier_50] Error 2
make[1]: Leaving directory `/root/Desktop/thunderbird-1.5rc1/src/mozilla'
make: *** [default] Error 2
Offline
I attempted to compile Firefox 1.5 with no success using both Arch and Gentoo patches
Anyone else try this successfully?
--
JSkier
Offline
jskier: thunderbird or firefox?
Offline
jskier: thunderbird or firefox?
Firefox.
--
JSkier
Offline
read the post above dude..download the visibility patch and the source and use the PKGBUILD
Offline
read the post above dude..download the visibility patch and the source and use the PKGBUILD
Yes, I know this, that was for the release canadites, and for whatever reason it won't compile with the final release.
--
JSkier
Offline
Well it appears to be functional now
I used the new visibility patch and incorporated some other ones fom Gentoo.
--
JSkier
Offline
what other patches did you need to use to get it to work?
Offline