| From | Sent On | Attachments |
|---|---|---|
| Preethi Natarajan | Oct 1, 2009 6:09 pm | |
| Scot Hetzel | Oct 1, 2009 6:47 pm |
| Subject: | firefox build fails | |
|---|---|---|
| From: | Preethi Natarajan (pree...@gmail.com) | |
| Date: | Oct 1, 2009 6:09:16 pm | |
| List: | org.freebsd.freebsd-amd64 | |
Hello,
I am trying to build firefox 3.0.11 from sources on an amd64 freebsd system. I am running into issues and would much appreciate pointers/help in this regard. Also, please let me know if this is not the right forum for this issue.
Initially, I got the following error:
gcc -o host_cppsetup.o -c -DXP_UNIX -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -DPREINCDIR=\"include\" -I../../../config/mkdepend -I. -I../../dist/include -I../../dist/include/mkdepend -I../../dist/include/nspr -I../../dist/sdk/include -I../../dist/include/nspr ../.. /../config/mkdepend/cppsetup.c In file included from ../../../config/mkdepend/cppsetup.c:29: ../../../config/mkdepend/def.h:30:21: error: X11/Xos.h: No such file or directory ../../../config/mkdepend/def.h:31:28: error: X11/Xfuncproto.h: No such file or directory gmake[4]: *** [host_cppsetup.o] Error 1
Basically, the build system complained about not being able to find /usr/include/X11/*. These files were in /usr/local/include/X11/*, so I created a link to these files in /usr/inlclude/X11. While this fixed the first error, I am not sure if that was the actual solution. After fixing /usr/include/X11, the build failed again as follows, and I'd appreciate any help.
c++ -o xptcinvoke_unixish_x86.o -c -I../../../../../../dist/include/system_wrappers -include ../../../../../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD7\" -DOSARCH=FreeBSD -DEXPORT_XPTC_API -D_IMPL_NS_COM -I../../../../../../../xpcom/reflect/xptcall/src/md/unix/../.. -I../../../../../../../xpcom/reflect/xptcall/src/md/unix/../../../../xptinfo /src -I../../../../../../../xpcom/reflect/xptcall/src/md/unix -I. -I../../../../../../dist/include/string -I../../../../../../dist/include -I../../../../../../dist/include/xpcom -I../../../../../../dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-a rith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -fno-strict-aliasing -fshort-wchar -pipe -DDEBUG -D_DEBUG -DDEBUG_prenatar -DTRACING -g -I/usr/X11R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../../../../mozilla-config.h ../../../../../../../xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x8 6.cpp {standard input}: Assembler messages: {standard input}:182: Error: suffix or operands invalid for `push' {standard input}:183: Error: suffix or operands invalid for `push' {standard input}:184: Error: suffix or operands invalid for `push' {standard input}:188: Error: suffix or operands invalid for `push' {standard input}:189: Error: `(%ecx)' is not a valid 64 bit base/index expression {standard input}:191: Error: `(%edx,%eax,4)' is not a valid 64 bit base/index ex pression {standard input}:192: Error: `*(%edx)' is not a valid 64 bit base/index expressi on gmake[8]: *** [xptcinvoke_unixish_x86.o] Error 1
Thanks, Preethi
Preethi
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to "free...@freebsd.org"





