Hosed gcc?

IRIX and IRIX software discussion including open source and commerical offerings.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
zahal
Posts: 813
Joined: Fri May 27, 2005 11:43 am

Hosed gcc?

Unread postby zahal » Fri Sep 03, 2010 7:04 pm

Been a while since I update gcc (using 4.4.2).
Today I downloaded 4.5.1 source code and proceeded to update.
First dependency to be updated was gmp. I had 4.3.1 and I needed 4.3.2 or newer.
Downloaded gmp 5.0.1 and installed correctly.
Foolishly deleted the old libgmp.so.4.0 and it's sidekick link libgmp.so.4

Next in line to update was mpfr.
While configuring an error comes out:

Code: Select all


checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking build system type... mips-sgi-irix6.5
checking host system type... mips-sgi-irix6.5
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/bin/grep -E
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for gcc... gcc
checking whether the C compiler works... 46601:/usr/local/libexec/gcc/mips-sgi-irix6.5/4.4.2/cc1: rld: Fatal Error: Cannot Successfully map soname 'libgmp.so.4' version 'sgi4.0' under any of the filenames /usr/local/lib/libgmp.so.4:/usr/local/ssl/lib/libgmp.so.4:/usr/local/lib32/libgmp.so.4:/usr/local/gimp/lib/libgmp.so.4:/usr/local/root/lib/libgmp.so.4:/usr/local/firefox/libgmp.so.4:/usr/local/lib/purple-2/libgmp.so.4:/usr/local/lib/pidgin/libgmp.so.4:/usr/local/lib/gtk-2.0/2.10.0/loaders/libgmp.so.4:/usr/local/ffmpeg/lib/libgmp.so.4:/usr/local/lib/perl5/5.8.9/IP32-irix-64int/CORE/libgmp.so.4:/usr/nekoware/lib/libgmp.so.4:/usr/local/lib/xine/plugins/1.1.12/libgmp.so.4:/usr/lib32/libgmp.so.4:/usr/local/dx/lib_sgi/libgmp.so.4:/usr/freeware/lib32/libgmp.so.4:/usr/local/xgrafix/lib/libgmp.so.4:/usr/local/xoopic/lib/libgmp.so.4:/usr/lib32/internal/libgmp.so.4:/lib32/libgmp.so.4:/opt/lib32/libgmp.so.4:/usr/local/lib/libgmp.so.4.4:/usr/local/ssl/lib/libgmp.so.4.4:/usr/local/lib32/libgmp.so.4.4:/usr/local/gimp/lib/libgmp.so.4.4:/usr/local/root/lib/libgmp.s
no
configure: error: in `/usr/people/ivan/Desktop/mpfr-3.0.0':
configure: error: C compiler cannot create executables
See `config.log' for more details.



And now gcc won't compile squat. Creating a link appropiately named to the new lib does not do the trick either.
Have I hosed my working gcc 4.4.2? I remember something like this had already happened to me, but don't recall atm how I solved it.

Any ideas or help would be appreciated.
Sitting in a room.....thinkin' shit up. :evil:

:O2: 400MHz R12k - :320: Dual 550MHz PIII - Apple G4 Cube dual 500MHz/GF6200 - Newton Messagepad 2100 - Apple PowerBook 2400c/G3@240 - DECstation5000/133 - Apple Workgroup Server 9150/120 G3@280 - Apple Macintosh IIfx - Apple Macintosh Color Classic (Mystic upgrade) - Sun Cobalt Cube 3 - Tadpole RDI UltraBook IIi - Digital HiNote Ultra II - HP 200LX

User avatar
tgc99
Posts: 118
Joined: Fri Jun 09, 2006 10:21 am
Location: Denmark
Contact:

Re: Hosed gcc?

Unread postby tgc99 » Fri Sep 03, 2010 10:52 pm

Without a copy of libgmp.so.4 you're not going to get any further.
Lucky for you the current gmp in nekoware has a copy of libgmp.so.4 that you can probably use.

-tgc
:PI: :Indigo: :Indy: :Indigo2IMP: :Octane:

User avatar
zahal
Posts: 813
Joined: Fri May 27, 2005 11:43 am

Re: Hosed gcc?

Unread postby zahal » Sun Sep 05, 2010 6:55 pm

tgc99 wrote:Without a copy of libgmp.so.4 you're not going to get any further.
Lucky for you the current gmp in nekoware has a copy of libgmp.so.4 that you can probably use.

-tgc


OK, that did solve the problem. gcc is compiling, should take several hours until

gmake
gmake -k check


are done.
Thnx for your help!
Sitting in a room.....thinkin' shit up. :evil:

:O2: 400MHz R12k - :320: Dual 550MHz PIII - Apple G4 Cube dual 500MHz/GF6200 - Newton Messagepad 2100 - Apple PowerBook 2400c/G3@240 - DECstation5000/133 - Apple Workgroup Server 9150/120 G3@280 - Apple Macintosh IIfx - Apple Macintosh Color Classic (Mystic upgrade) - Sun Cobalt Cube 3 - Tadpole RDI UltraBook IIi - Digital HiNote Ultra II - HP 200LX


Return to “IRIX and Software”

Who is online

Users browsing this forum: No registered users and 2 guests