Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compile error: Mozilla 1.1_beta and Gentoo 1.3b
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Martin
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2002
Posts: 96
Location: Vancouver, Canada

PostPosted: Wed Jul 31, 2002 12:52 am    Post subject: Compile error: Mozilla 1.1_beta and Gentoo 1.3b Reply with quote

This is the error I'm receiving:

Code:

make[2]: Entering directory `/var/tmp/portage/mozilla-1.1_beta/work/mozilla/xpfe/bootstrap'
nsAppRunner.cpp
c++ -o nsAppRunner.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -DSPLASH_XPM=\"./splash.xpm\" -I. -I../../dist/include/xpcom -I../../dist/include/xpconnect -I../../dist/include/string -I../../dist/include/webbrwsr -I../../dist/include/widget -I../../dist/include/dom -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/appshell -I../../dist/include/gfx -I../../dist/include/chrome -I../../dist/include/xpinstall -I../../dist/include/uriloader -I../../dist/include/view -I../../dist/include/windowwatcher -I../../dist/include/embed_base -I../../dist/include/embedcomponents -I../../dist/include/mpfilelocprovider -I../../dist/include/browser -I../../dist/include/docshell -I../../dist/include/uconv -I../../dist/include/locale -I../../dist/include/xremoteservice -I../../dist/include/profile -I../../dist/include/jprof -I../../dist/include -I../../dist/include -I/var/tmp/portage/mozilla-1.1_beta/work/mozilla/dist/include/nspr      -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -march=i686 -O3 -pipe -Wno-return-type -Wno-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O3 -DWIDGET_DLL=\"libwidget_gtk.so\" -DGFXWIN_DLL=\"libgfx_gtk.so\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../config-defs.h -Wp,-MD,.deps/nsAppRunner.pp nsAppRunner.cpp
nsAppRunner.cpp:53: `size_t' was not declared in this scope
nsAppRunner.cpp:53: parse error before `,' token
nsAppRunner.cpp: In function `void* __builtin_vec_new(...)':
nsAppRunner.cpp:55: `aSize' undeclared (first use this function)
nsAppRunner.cpp:55: (Each undeclared identifier is reported only once for each function it appears in.)
nsAppRunner.cpp:55: `aNoThrow' undeclared (first use this function)
nsAppRunner.cpp: At global scope:
nsAppRunner.cpp:60: parse error before `&' token
nsAppRunner.cpp: In function `void __builtin_vec_delete(...)':
nsAppRunner.cpp:62: `aPtr' undeclared (first use this function)
nsAppRunner.cpp:63: `free' undeclared (first use this function)
nsAppRunner.cpp: In function `void* __builtin_new(int)':
nsAppRunner.cpp:71: `malloc' undeclared (first use this function)
In file included from /var/tmp/portage/mozilla-1.1_beta/work/mozilla/dist/include/nspr/prmem.h:45,
                 from nsAppRunner.cpp:100:
/usr/include/stdlib.h: At global scope:
/usr/include/stdlib.h:527: `void* malloc(unsigned int)' used prior to declaration
/usr/include/stdlib.h:538: `void free(void*)' used prior to declaration
nsAppRunner.cpp: In function `void* __builtin_vec_new(unsigned int, const std::nothrow_t&)':
nsAppRunner.cpp:206: declaration of C function `void* __builtin_vec_new(unsigned int, const std::nothrow_t&)' conflicts with
nsAppRunner.cpp:54: previous declaration `void* __builtin_vec_new(...)' here
nsAppRunner.cpp: In function `void __builtin_vec_delete(void*, const std::nothrow_t&)':
nsAppRunner.cpp:213: declaration of C function `void __builtin_vec_delete(void*, const std::nothrow_t&)' conflicts with
nsAppRunner.cpp:61: previous declaration `void __builtin_vec_delete(...)' here
nsAppRunner.cpp: In function `void* __builtin_new(int)':
nsAppRunner.cpp:222: redefinition of `void* __builtin_new(int)'
nsAppRunner.cpp:70: `void* __builtin_new(int)' previously defined here
nsAppRunner.cpp: In function `void __builtin_delete(void*)':
nsAppRunner.cpp:229: redefinition of `void __builtin_delete(void*)'
nsAppRunner.cpp:77: `void __builtin_delete(void*)' previously defined here
nsAppRunner.cpp: In function `void __pure_virtual()':
nsAppRunner.cpp:235: redefinition of `void __pure_virtual()'
nsAppRunner.cpp:83: `void __pure_virtual()' previously defined here
make[2]: *** [nsAppRunner.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/mozilla-1.1_beta/work/mozilla/xpfe/bootstrap'
make[2]: Entering directory `/var/tmp/portage/mozilla-1.1_beta/work/mozilla/xpfe/bootstrap'
nsAppRunner.cpp
c++ -o nsAppRunner.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -DSPLASH_XPM=\"./splash.xpm\" -I. -I../../dist/include/xpcom -I../../dist/include/xpconnect -I../../dist/include/string -I../../dist/include/webbrwsr -I../../dist/include/widget -I../../dist/include/dom -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/appshell -I../../dist/include/gfx -I../../dist/include/chrome -I../../dist/include/xpinstall -I../../dist/include/uriloader -I../../dist/include/view -I../../dist/include/windowwatcher -I../../dist/include/embed_base -I../../dist/include/embedcomponents -I../../dist/include/mpfilelocprovider -I../../dist/include/browser -I../../dist/include/docshell -I../../dist/include/uconv -I../../dist/include/locale -I../../dist/include/xremoteservice -I../../dist/include/profile -I../../dist/include/jprof -I../../dist/include -I../../dist/include -I/var/tmp/portage/mozilla-1.1_beta/work/mozilla/dist/include/nspr      -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -march=i686 -O3 -pipe -Wno-return-type -Wno-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O3 -DWIDGET_DLL=\"libwidget_gtk.so\" -DGFXWIN_DLL=\"libgfx_gtk.so\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../config-defs.h -Wp,-MD,.deps/nsAppRunner.pp nsAppRunner.cpp
nsAppRunner.cpp:53: `size_t' was not declared in this scope
nsAppRunner.cpp:53: parse error before `,' token
nsAppRunner.cpp: In function `void* __builtin_vec_new(...)':
nsAppRunner.cpp:55: `aSize' undeclared (first use this function)
nsAppRunner.cpp:55: (Each undeclared identifier is reported only once for each function it appears in.)
nsAppRunner.cpp:55: `aNoThrow' undeclared (first use this function)
nsAppRunner.cpp: At global scope:
nsAppRunner.cpp:60: parse error before `&' token
nsAppRunner.cpp: In function `void __builtin_vec_delete(...)':
nsAppRunner.cpp:62: `aPtr' undeclared (first use this function)
nsAppRunner.cpp:63: `free' undeclared (first use this function)
nsAppRunner.cpp: In function `void* __builtin_new(int)':
nsAppRunner.cpp:71: `malloc' undeclared (first use this function)
In file included from /var/tmp/portage/mozilla-1.1_beta/work/mozilla/dist/include/nspr/prmem.h:45,
                 from nsAppRunner.cpp:100:
/usr/include/stdlib.h: At global scope:
/usr/include/stdlib.h:527: `void* malloc(unsigned int)' used prior to declaration
/usr/include/stdlib.h:538: `void free(void*)' used prior to declaration
nsAppRunner.cpp: In function `void* __builtin_vec_new(unsigned int, const std::nothrow_t&)':
nsAppRunner.cpp:206: declaration of C function `void* __builtin_vec_new(unsigned int, const std::nothrow_t&)' conflicts with
nsAppRunner.cpp:54: previous declaration `void* __builtin_vec_new(...)' here
nsAppRunner.cpp: In function `void __builtin_vec_delete(void*, const std::nothrow_t&)':
nsAppRunner.cpp:213: declaration of C function `void __builtin_vec_delete(void*, const std::nothrow_t&)' conflicts with
nsAppRunner.cpp:61: previous declaration `void __builtin_vec_delete(...)' here
nsAppRunner.cpp: In function `void* __builtin_new(int)':
nsAppRunner.cpp:222: redefinition of `void* __builtin_new(int)'
nsAppRunner.cpp:70: `void* __builtin_new(int)' previously defined here
nsAppRunner.cpp: In function `void __builtin_delete(void*)':
nsAppRunner.cpp:229: redefinition of `void __builtin_delete(void*)'
nsAppRunner.cpp:77: `void __builtin_delete(void*)' previously defined here
nsAppRunner.cpp: In function `void __pure_virtual()':
nsAppRunner.cpp:235: redefinition of `void __pure_virtual()'
nsAppRunner.cpp:83: `void __pure_virtual()' previously defined here
make[2]: *** [nsAppRunner.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/mozilla-1.1_beta/work/mozilla/xpfe/bootstrap'
make[1]: *** [tier_99] Error 2
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.1_beta/work/mozilla'
make: *** [default] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 3633, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/net-www/mozilla/mozilla-1.1_beta.ebuild .


I'm a bit a a loss as to what to do. What clues should I seek to try to do something?

Has anyone come across this problem?

The "regluar" 1.0-r3 compiled fine, so I did an emerge unmerge and then unmasked the beta, and emerged mozilla again. Compiling the beta returned the above error.

Thanks.

[EDIT] I should also add that I have gcc 3.1-r8, portage 2.0.13 and I do have installed (but not using) KDE 3.1_alpha.
Back to top
View user's profile Send private message
Martin
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2002
Posts: 96
Location: Vancouver, Canada

PostPosted: Wed Jul 31, 2002 1:22 am    Post subject: Reply with quote

Just for fun, I'm emerging gcc3.1.1 and then going to try compiling it with that. :lol:
Back to top
View user's profile Send private message
Martin
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2002
Posts: 96
Location: Vancouver, Canada

PostPosted: Wed Jul 31, 2002 5:16 am    Post subject: Reply with quote

Compiling with gcc3.1.1 did not do the trick.

I'm stumped.
Back to top
View user's profile Send private message
Cypher
n00b
n00b


Joined: 28 Jul 2002
Posts: 6

PostPosted: Wed Jul 31, 2002 5:53 am    Post subject: Reply with quote

I'm having the same problem.
The bug is adressed with a bugzilla # on bugs.gentoo.org (can't acces it right now, just search for open bugs with the id "mozilla" and you'll find)
but the solution to fix it seems something strange for me.
in the latest ebuild, this line is already uncommented, but one line down theres something about a gcc3 module fix... maybe I'll try this one sometimes.
Back to top
View user's profile Send private message
mgdmb
n00b
n00b


Joined: 23 Jul 2002
Posts: 7

PostPosted: Thu Aug 01, 2002 10:41 am    Post subject: Reply with quote

Comment out the asmfixes.patch lines (starts around line #81) in the mozilla 1.1b ebuild, and then try to do the emerge. Should probably emerge (r)sync first, to get the latest 1.1b ebuild. Maybe an emerge portage, too...
_________________
#SELECT * FROM users WHERE clue > 0
0 results returned
Back to top
View user's profile Send private message
Martin
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2002
Posts: 96
Location: Vancouver, Canada

PostPosted: Thu Aug 01, 2002 5:13 pm    Post subject: Reply with quote

mgdmb wrote:
Comment out the asmfixes.patch lines (starts around line #81) in the mozilla 1.1b ebuild, and then try to do the emerge. Should probably emerge (r)sync first, to get the latest 1.1b ebuild. Maybe an emerge portage, too...


Thanks. I'll try that later on today. Did you get it to compile? (Is there hope?)
Back to top
View user's profile Send private message
mgdmb
n00b
n00b


Joined: 23 Jul 2002
Posts: 7

PostPosted: Thu Aug 01, 2002 6:03 pm    Post subject: Reply with quote

Commenting out the asm patch out did the trick...

YMMV.
_________________
#SELECT * FROM users WHERE clue > 0
0 results returned
Back to top
View user's profile Send private message
vod
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2002
Posts: 90

PostPosted: Fri Aug 02, 2002 2:22 pm    Post subject: it worked for me... Reply with quote

But it's behaving strangely. It starts up with a www.ping() address. Then it complains about the plugin downloader not being installed, finally when I close mozilla it pops up another window unrequested with a bogus address.
Back to top
View user's profile Send private message
mgdmb
n00b
n00b


Joined: 23 Jul 2002
Posts: 7

PostPosted: Sun Aug 04, 2002 6:25 pm    Post subject: Reply with quote

mgdmb wrote:
Comment out the asmfixes.patch lines (starts around line #81) in the mozilla 1.1b ebuild, and then try to do the emerge.


Man, I need to lay off the crack pipe...

Comment out the asmfixes patch (line #71) *and* the abi-compat-wrappers patch (line #81).
_________________
#SELECT * FROM users WHERE clue > 0
0 results returned
Back to top
View user's profile Send private message
Martin
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2002
Posts: 96
Location: Vancouver, Canada

PostPosted: Tue Aug 06, 2002 4:40 pm    Post subject: Reply with quote

Thanks mgdmb, that did the trick. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum