View previous topic :: View next topic |
Author |
Message |
Martin Tux's lil' helper
Joined: 12 Jun 2002 Posts: 96 Location: Vancouver, Canada
|
Posted: Wed Jul 31, 2002 12:52 am Post subject: Compile error: Mozilla 1.1_beta and Gentoo 1.3b |
|
|
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 |
|
|
Martin Tux's lil' helper
Joined: 12 Jun 2002 Posts: 96 Location: Vancouver, Canada
|
Posted: Wed Jul 31, 2002 1:22 am Post subject: |
|
|
Just for fun, I'm emerging gcc3.1.1 and then going to try compiling it with that. |
|
Back to top |
|
|
Martin Tux's lil' helper
Joined: 12 Jun 2002 Posts: 96 Location: Vancouver, Canada
|
Posted: Wed Jul 31, 2002 5:16 am Post subject: |
|
|
Compiling with gcc3.1.1 did not do the trick.
I'm stumped. |
|
Back to top |
|
|
Cypher n00b
Joined: 28 Jul 2002 Posts: 6
|
Posted: Wed Jul 31, 2002 5:53 am Post subject: |
|
|
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 |
|
|
mgdmb n00b
Joined: 23 Jul 2002 Posts: 7
|
Posted: Thu Aug 01, 2002 10:41 am Post subject: |
|
|
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 |
|
|
Martin Tux's lil' helper
Joined: 12 Jun 2002 Posts: 96 Location: Vancouver, Canada
|
Posted: Thu Aug 01, 2002 5:13 pm Post subject: |
|
|
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 |
|
|
mgdmb n00b
Joined: 23 Jul 2002 Posts: 7
|
Posted: Thu Aug 01, 2002 6:03 pm Post subject: |
|
|
Commenting out the asm patch out did the trick...
YMMV. _________________ #SELECT * FROM users WHERE clue > 0
0 results returned |
|
Back to top |
|
|
vod Tux's lil' helper
Joined: 10 Jun 2002 Posts: 90
|
Posted: Fri Aug 02, 2002 2:22 pm Post subject: it worked for me... |
|
|
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 |
|
|
mgdmb n00b
Joined: 23 Jul 2002 Posts: 7
|
Posted: Sun Aug 04, 2002 6:25 pm Post subject: |
|
|
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 |
|
|
Martin Tux's lil' helper
Joined: 12 Jun 2002 Posts: 96 Location: Vancouver, Canada
|
Posted: Tue Aug 06, 2002 4:40 pm Post subject: |
|
|
Thanks mgdmb, that did the trick. |
|
Back to top |
|
|
|