Firefox fails to compile on -current
I'm using the slackware64 current slackbuild to build a new firefox for -current 32 (I like dynamically linked cairo for fonts). But I am getting a compile error...
c++ -o host_dump_symbols.o -c -O -I./../.. -I. -I. -I../../../../../../dist/include -I../../../../../../dist/include/breakpad_linux_common -I/tmp/mozilla-1.9.1/dist/include/nspr -I/tmp/mozilla-1.9.1/dist/sdk/include -I/tmp/mozilla-1.9.1/dist/include/nspr dump_symbols.cc dump_symbols.cc: In function 'bool<unnamed>::WriteFormat(int, const char*, ...)': dump_symbols.cc:176: error: 'vsnprintf' was not declared in this scope dump_symbols.cc: In function 'bool<unnamed>::ComputeSizeAndRVA(Elf32_Addr, <unnamed>::SymbolInfo*)': dump_symbols.cc:487: error: 'stderr' was not declared in this scope dump_symbols.cc:488: error: 'fprintf' was not declared in this scope dump_symbols.cc: In function 'bool<unnamed>::LoadSymbols(Elf32_Ehdr*, <unnamed>::SymbolInfo*)': dump_symbols.cc:586: error: 'stderr' was not declared in this scope dump_symbols.cc:586: error: 'fprintf' was not declared in this scope gmake[5]: *** [host_dump_symbols.o] Error 1 gmake[5]: Leaving directory `/tmp/mozilla-1.9.1/toolkit/crashreporter/google-breakpad/src/common/linux' gmake[4]: *** [libs] Error 2 gmake[4]: Leaving directory `/tmp/mozilla-1.9.1/toolkit/crashreporter' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/tmp/mozilla-1.9.1/toolkit' gmake[2]: *** [libs_tier_toolkit] Error 2 gmake[2]: Leaving directory `/tmp/mozilla-1.9.1' gmake[1]: *** [tier_toolkit] Error 2 gmake[1]: Leaving directory `/tmp/mozilla-1.9.1' make: *** [default] Error 2 Can anyone else confirm this? |
Yep. Had the problem. Found this patch. :)
Code:
--- a/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc |
That did it, Thanks :)
|
FYI, check the current changelog.........new kernel, samba and FF.
|
I just got the same error with thunderbird, lol. I'm searching for a patch now...
|
1 Attachment(s)
SeaMonkey requires the same patch, just the path to the files is
slightly different. The whole mess is under a leading mozilla/ directory. Seems likely that the Thunderbird patch would be similar. Are you trying to build Thunderbird 3 ? (Ignore that question. Has to be 3) Edit: looks like its going to need the same fix as SeaMonkey. I've attached this untested patch, in case you're interested. I'd guess it has a pretty good chance of success. |
Quote:
|
I'm trying to build Seamonkey, how do I use your patch?
I was trying to build seamonkey and it blew up in the same place. How do I apply your patch? Thanks.
Quote:
|
All times are GMT -5. The time now is 09:51 PM. |