TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:442] Compiling problems...with everything



Michael Hicks <hick0088@tc.umn.edu> said:

Michael> Anything that I have compiled since about the beginnig of
Michael> June, and that links to any library other than just libc will
Michael> crash with a segmentation fault, essentially while it is
Michael> loading the library..

Michael> Perhaps this has something to do with all of the crt1.o and related
Michael> files (that I have no idea what they do..)?

I think so. crt1.o is an object file which gets linked into every C
program which was compiled with gcc. It contains the stuff that's
common to all programs, for example locating libraries... :-)

crt1.o usually comes with gcc as part of the gcc runtime system. I
suspect that it is corrupt or you mixed together two different
versions of gcc. So I'd reinstall gcc. It could be that crt1.o is in a
different rpm than gcc, in that case you need to reinstall that other
one as well. I believe there's an option for rpm to find the package
that contains a given file.

-- 
 Axel Boldt  **  axel@uni-paderborn.de  **  math-www.uni-paderborn.de/~axel/