Closed
Bug 236114
Opened 20 years ago
Closed 18 years ago
Can't build Mozilla on QNX
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: mozilla-work, Unassigned)
Details
Attachments
(1 file)
43.83 KB,
text/plain
|
Details |
I get many errors in elf-dynstr-gc.c when I try and compile the 1.6 branch. I will attach a log of the errors. A few fixes that I made was that <sys/elf.h> should be included instead of <elf.h>. In addition, <sys/elf_dyn.h> should be included as well.
Reporter | ||
Comment 1•20 years ago
|
||
I haven't included <sys/elf.h> or <sys/elf_dyn.h> as described in the bug report to generate this log.
An easier workaround would be to use --disable-elf-dynstr-gc . Not sure why elf-dynstr-gc is on by default for qnx. <sys/elf.h> seems to be for something completely different on linux (the only platform were elf-dynstr-gc is actively used) and <sys/elf_dyn.h> doesn't exist at all with glibc. I'm wondering if we should add a configure check for elf.h & sys/elf.h or just use a _QNX_ define here.
Severity: blocker → major
Reporter | ||
Comment 3•20 years ago
|
||
Using the --disable-elf-dynstr-gc workaround allows me to get further but now I get the following error because the mozilla/embedding/browser/photon/mozserver does not exist: make[5]: Entering directory `/home/empress/srasku/mozilla/embedding/browser/phot on' make[5]: *** No rule to make target `mozserver/Makefile.in', needed by `mozserve r/Makefile'. Stop. make[5]: Leaving directory `/home/empress/srasku/mozilla/embedding/browser/photo n' make[4]: *** [export] Error 2 make[4]: Leaving directory `/home/empress/srasku/mozilla/embedding/browser' make[3]: *** [export] Error 2 make[3]: Leaving directory `/home/empress/srasku/mozilla/embedding' make[2]: *** [export] Error 2 make[2]: Leaving directory `/home/empress/srasku/mozilla' make[1]: *** [alldep] Error 2 make[1]: Leaving directory `/home/empress/srasku/mozilla' make: *** [alldep] Error 2
If you try to build the seamonkey browser, you shouldn't build into the embedding directory. This is fixed in the head branch. If you are not using head branch, modify the: embedding/browser/Makefile.in and remove the lines: ifdef MOZ_ENABLE_PHOTON DIRS += photon endif
Reporter | ||
Comment 5•20 years ago
|
||
More progress but now I get this error: g++ -o nsFragmentedString.o -c -DOSTYPE=\"QNX6.2.0\" -DOSARCH=\"QNX\" -D_IMPL_NS _COM -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../di st/include -I/home/empress/srasku/mozilla/dist/include/nspr -I/opt/X11R6/inc lude -fPIC -I/opt/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -pipe -DDEBUG -D_DEBUG -DDEBUG_ -DTRACING -gstabs -I/opt/X11R6 /include -DMOZILLA_CLIENT -Wp,-include -Wp,../../../mozilla-config.h -D_POSIX_C_ SOURCE=199506 -Wp,-MD,.deps/nsFragmentedString.pp nsFragmentedString.cpp In file included from ../../../dist/include/string/nsSharedBufferList.h:47, from ../../../dist/include/string/nsFragmentedString.h:35, from nsFragmentedString.cpp:26: ../../../dist/include/string/nsBufferHandleUtils.h:36: new.h: No such file or di rectory ../../../dist/include/string/nsBufferHandleUtils.h: In function `class nsSharedB ufferList::Buffer * NS_AllocateContiguousHandleWithData<nsSharedBufferList::Buff er, nsDependentSingleFragmentSubstring>(const nsSharedBufferList::Buffer *, unsi gned int, const nsDependentSingleFragmentSubstring *)': ../../../dist/include/string/nsBufferHandleUtils.h:183: instantiated from here <internal>:172: too many arguments to function `void * operator new(unsigned int )' ../../../dist/include/string/nsBufferHandleUtils.h:172: at this point in file ../../../dist/include/string/nsBufferHandleUtils.h: In function `class nsSharedB ufferList::Buffer * NS_AllocateContiguousHandleWithData<nsSharedBufferList::Buff er, nsAString>(const nsSharedBufferList::Buffer *, unsigned int, const nsAString *)': ../../../dist/include/string/nsBufferHandleUtils.h:183: instantiated from here <internal>:172: too many arguments to function `void * operator new(unsigned int )' ../../../dist/include/string/nsBufferHandleUtils.h:172: at this point in file make[5]: *** [nsFragmentedString.o] Error 1 make[5]: Leaving directory `/home/empress/srasku/mozilla/xpcom/string/src' make[4]: *** [libs] Error 2 make[4]: Leaving directory `/home/empress/srasku/mozilla/xpcom/string' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/home/empress/srasku/mozilla/xpcom' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/home/empress/srasku/mozilla' make[1]: *** [alldep] Error 2 make[1]: Leaving directory `/home/empress/srasku/mozilla' make: *** [alldep] Error 2
Maybe you modified the gcc/g++ environment that came with 621. I can succesfully build seamonkey/firefox/thunderbird/minimo on qnx 621 or 630, head branch or any branch. Go to http://www.qnxzone.com/~amardare and download the packages.
Updated•20 years ago
|
Product: Browser → Seamonkey
Reporter | ||
Comment 7•18 years ago
|
||
We are using Linux now so we don't need this.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•