LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-08-2010, 07:13 PM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Rep: Reputation: 177Reputation: 177
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?
 
Old 01-08-2010, 08:29 PM   #2
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 214

Rep: Reputation: 64
Yep. Had the problem. Found this patch.
Code:
--- a/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc
+++ b/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc
@@ -36,6 +36,7 @@
 
 #include <cassert>
 #include <cstdlib>
+#include <cstdio>
 #include <ctime>
 #include <linux/limits.h>
 
--- a/toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_generator.cc
+++ b/toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_generator.cc
@@ -39,6 +39,7 @@
 #include <sys/wait.h>
 
 #include <cstdlib>
+#include <cstdio>
 #include <ctime>
 #include <string.h>
 
--- a/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc
+++ b/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc
@@ -30,6 +30,7 @@
 #include <a.out.h>
 #include <cstdarg>
 #include <cstdlib>
+#include <cstdio>
 #include <cxxabi.h>
 #include <elf.h>
 #include <errno.h>
 
1 members found this post helpful.
Old 01-08-2010, 10:07 PM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Original Poster
Rep: Reputation: 177Reputation: 177
That did it, Thanks
 
Old 01-08-2010, 10:23 PM   #4
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64 14.0
Posts: 981

Rep: Reputation: 88
FYI, check the current changelog.........new kernel, samba and FF.
 
Old 01-08-2010, 10:42 PM   #5
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Original Poster
Rep: Reputation: 177Reputation: 177
I just got the same error with thunderbird, lol. I'm searching for a patch now...
 
Old 01-09-2010, 01:12 AM   #6
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 214

Rep: Reputation: 64
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.
Attached Files
File Type: txt thunderbird-3-gcc-4.4.2.patch.txt (1.8 KB, 8 views)

Last edited by wadsworth; 01-09-2010 at 02:21 AM.
 
1 members found this post helpful.
Old 01-09-2010, 03:23 AM   #7
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by wadsworth View Post
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.
worked again, thanks dude.
 
Old 01-16-2010, 09:08 PM   #8
brownwrap
Member
 
Registered: Jan 2010
Posts: 92

Rep: Reputation: 16
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:
Originally Posted by wadsworth View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware64-current usbboot.img fails to boot disturbed1 Slackware 11 02-19-2010 01:12 AM
-current install from hard disk partition fails the_penguinator Slackware 1 05-21-2009 06:50 AM
KDE4 fails to start in fresh -current install chexmix Slackware 18 04-06-2009 10:12 AM
GCC fails to compile - Chapter 6.14 - C preprocessor "/lib/cpp" fails sanity check jaydoc Linux From Scratch 1 01-28-2009 05:17 PM
Firefox 1.5.0.7 compile fails; missing nsICookiePromptService.h weibullguy Linux - Software 0 10-27-2006 02:55 PM


All times are GMT -5. The time now is 04:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration