[ILUG] Re: /usr/lib/libc.a: could not read symbols: Malformed archive

From: C. Hennessy (Con.Hennessy at domain airtel-atn.com)
Date: Mon 18 Sep 2000 - 19:14:40 IST


Luke Trif wrote:
[snip]
> >> CH> Luke Trif wrote:
> >> >>
> >> >> Hello ilug,
> >> >>
> >> >> I am using Linux mandrake and am getting the same msg on everything
> >> >> that i try to compile. i cant install anything that is in *.tar
> >> >> format. If you can take a look at the errors that i am getting and
> >> >> point me in the right direction i would apreciate it..
> >> >> i have ran the command you specified in the reply msg and pasted the
> >> >> results in here
> >> >> I am using linux mandrake 7.0 with gcc ver 2.95
> >> >> sh -x ./configure >configure.log 2>&1
[snip]
> >> CH> What results do you get if you save the text below (e.g. to example.c ) :
> >> CH> int main()
> >> CH> {
> >> CH> printf("hello world\n" );
> >> CH> }
[snip]
> >> after taking the above step this is what i got
> >> [root at domain ADSL lukegt]# gcc test.c -o test
> >> /usr/lib/libc.a: could not read symbols: Malformed archive
> >> collect2: ld returned 1 exit status

Please try to compile with the command "gcc -v test.c -o test".
This will give some more detailed output.

BTW: I'm going home now and will only follow this tommorrow
morning, so hopefully someone else here can help you, til
tommorrow.

Con



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:07:33 GMT