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 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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!