Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Big problem with GCC 3.2
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
sciack
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 120
Location: Genoa, Italy.

PostPosted: Fri Aug 16, 2002 11:41 pm    Post subject: Big problem with GCC 3.2 Reply with quote

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
View user's profile Send private message
sciack
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 120
Location: Genoa, Italy.

PostPosted: Sat Aug 17, 2002 2:54 pm    Post subject: Re: Big problem with GCC 3.2 Reply with quote

[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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Aug 19, 2002 2:58 am    Post subject: Reply with quote

GCC3 to Desktop Environments; seems GNOME-debugging related.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Craigo
Apprentice
Apprentice


Joined: 09 Aug 2002
Posts: 249
Location: /dev/life

PostPosted: Mon Aug 19, 2002 8:10 am    Post subject: Thanks for this! Reply with quote

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
View user's profile Send private message
Toan Nguyen
n00b
n00b


Joined: 06 Aug 2002
Posts: 16

PostPosted: Mon Aug 19, 2002 4:41 pm    Post subject: Need some more help. Reply with quote

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
View user's profile Send private message
Toan Nguyen
n00b
n00b


Joined: 06 Aug 2002
Posts: 16

PostPosted: Tue Aug 20, 2002 4:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Advocate
n00b
n00b


Joined: 01 Aug 2002
Posts: 42

PostPosted: Sun Aug 25, 2002 12:27 pm    Post subject: Reply with quote

What advantages are there to having a GCC 3.2 system?
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