link error on gcc4.1.3

I just installed openSuse 11.1 and couldn’t build with gcc4.3 so I installed gcc4.1 also. I then edited files so the gcc-4.1 and g+±4.1 compilers were used. This almost builds without problems until I get this link error at the end. It has happened on 2 different packages. One was QT4.4.3.

/usr/lib64/gcc/x86_64-suse-linux/4.1.3/…/…/…/…/x86_64-suse-linux/bin/ld: error in /usr/lib64/gcc/x86_64-suse-linux/4.1.3/crtendS.o(.eh_frame); no .eh_frame_hdr table will be created.

spopo

Hi
Generally the gcc43 errors are easy to fix, move forward…not back?

What were you trying to compile?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-4-default
up 1 day 23:12, 2 users, load average: 0.16, 0.20, 0.27
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

I was trying to build QT4.4.3. That is what lead me to believe that something may be wrong with gcc41. The reason I wanted to build with gcc41 was that another package, ISIS3, which depends on QT4.4.3 will not run on openSuse 11.1. So I first I tried to build ISIS3 and when I got a bunch of link errors with gcc41, I also tried to build QT4.4.3 with gcc41 and see if that got rid of the link errors.

ISIS3 would need to be modified because it was written to run on gcc41. I got too many errors to try and figure out with gcc43. There are about 200 programs to build for ISIS and my programming skills are not that strong. I get less errors with gcc41. But I still get errors:(
Spopo

Hi,

I have exactly the same problem!
I, however, need that compiler for matlab which does not support the latest gcc-4.3.2 compiler.

But it seems that noone has an idea? :-/

good comments are still apprechiated.
Volker

Hi
Just install an earlier version and relink the gcc, g++ etc your wanting
to use in /usr/bin?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-pae
up 10:16, 2 users, load average: 0.02, 0.11, 0.12
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22

Hi ,

I’ve teh same problem with matlab after editing the file gccopts.sh and running mex -setup respectively.

did the last post (relinkin gxx in /usr/bin) solve the probem?

Any further hints, how to solve my problems are welcome!

Thanks,

Christian