View previous topic :: View next topic |
Author |
Message |
sciack Tux's lil' helper
Joined: 19 Jun 2002 Posts: 120 Location: Genoa, Italy.
|
Posted: Fri Aug 16, 2002 11:41 pm Post subject: Big problem with GCC 3.2 |
|
|
Hi dudes,
I have a gentoo 1.3b, i had gcc 3.2-pre and everything worked ok. I have done the following for updating up gcc 3.2:
http://www.sciack.org/gcc3.2/
I recompiled MOZILLA and it works good! But galeon doesnt want to! damn!
This is the error:
Code: |
../src/mozilla/libmozilla-interaction.a(mozilla.o): In function `mozilla_save_prefs':
mozilla.o(.text+0x79): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
mozilla.o(.text+0xaf): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
mozilla.o(.text+0xd8): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
mozilla.o(.text+0xf2): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
mozilla.o(.text+0x111): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
../src/mozilla/libmozilla-interaction.a(mozilla.o)(.text+0x1b5): more undefined references to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' follow
collect2: ld returned 1 exit status
make[3]: *** [galeon-bin] Error 1
make[3]: Leaving directory `/var/tmp/portage/galeon-1.2.5/work/galeon-1.2.5/src'make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/galeon-1.2.5/work/galeon-1.2.5/src'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/galeon-1.2.5/work/galeon-1.2.5'
make: *** [all-recursive-am] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 76, Exitcode 2
!!! (no error message)
!!! emerge aborting on /usr/portage/net-www/galeon/galeon-1.2.5.ebuild .
|
You'd tell me to make a "emerge -e world" but I can't i dunno why but when it comes to "bash 2.05a" it stops, i already had opened a bug report for that and for openjade with the same error... i have "true" and it works... that's really weird!!
Code: |
i686-pc-linux-gnu-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i686-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H true -I. -I//include -I. -I./include -I./lib -o mksyntax ./mksyntax.c
i686-pc-linux-gnu-gcc: true: No such file or directory
make: *** [mksyntax] Error 1
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)
!!! emerge aborting on /usr/portage/sys-apps/bash/bash-2.05a-r2.ebuild .
|
Wut can I do to investigate my problem? Should I make a brand new bootstrap?
please HELP ME! :)undefined _________________ the sciack |
|
Back to top |
|
|
sciack Tux's lil' helper
Joined: 19 Jun 2002 Posts: 120 Location: Genoa, Italy.
|
Posted: Sat Aug 17, 2002 2:54 pm Post subject: Re: Big problem with GCC 3.2 |
|
|
[FIXED FIXED FIXED!! Who's to blame? SPIDER!! Once he said to me to add "DEBUG=true" in my make.conf!!! this is it!! I removed this DAMN thingy from my make.conf !! Now I can compile EVERYTHING!!!
Spider... grrrrrrr
byez _________________ the sciack |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Aug 19, 2002 2:58 am Post subject: |
|
|
GCC3 to Desktop Environments; seems GNOME-debugging related. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Craigo Apprentice
Joined: 09 Aug 2002 Posts: 249 Location: /dev/life
|
Posted: Mon Aug 19, 2002 8:10 am Post subject: Thanks for this! |
|
|
I think I will try your method out, since you said it works just fine!!
Don't you mind if I link to your site to mine later on?
Cheers! |
|
Back to top |
|
|
Toan Nguyen n00b
Joined: 06 Aug 2002 Posts: 16
|
Posted: Mon Aug 19, 2002 4:41 pm Post subject: Need some more help. |
|
|
Hi sciack,
I follow the instruction on your site and "emerge gcc" to get gcc-3.2. After that I type your long command to see if I need to recompile any packages. It tells me none needs to be recompile.
I feel suspicious. So I check version of gcc by "gcc -v". Turns out it remains default to 3.1.1. All gcc-3.2 binaries are named as gcc-3.2, g++-3.2,... and so on. How do I set gcc-3.2 as the default compiler? ( I try to emerge a package to see which compiler portage uses. It still uses the old gcc.)
Thanks. |
|
Back to top |
|
|
Toan Nguyen n00b
Joined: 06 Aug 2002 Posts: 16
|
Posted: Tue Aug 20, 2002 4:12 pm Post subject: |
|
|
Well, I find a way to fix it. Simply unmerge gcc-3.1.1 then link gcc to gcc-3.2, g++ to g++-3.2,.... and so on. After that, do an "emerge -e world", and everything compiles overnight without a glitch. Now I get a brand new GCC32 systems this morning . |
|
Back to top |
|
|
Advocate n00b
Joined: 01 Aug 2002 Posts: 42
|
Posted: Sun Aug 25, 2002 12:27 pm Post subject: |
|
|
What advantages are there to having a GCC 3.2 system? |
|
Back to top |
|
|
|