yair linux <[EMAIL PROTECTED]> writes:
> The error message I get when I compile:
>
> auto-str.c:in function 'main':
> auto-str.c:15:warning:return type of 'main' is not 'int'
> /load auto-str substdio.a error.a str.a
> /usr/lib/libc.a could not read symbols: malformed archive
> collect2: ld returnd 1 exit status
> make: ***[auto-str] Error 1
First of all, this means that the error happens not while compiling
auto-str.c [though there is a warning there - either main()
is declared as void, or it is int, as it should, but it returns
something else], but during linking.
It seems that there is something wrong with /usr/lib/libc.a. Your
system is Red Hat, so I would try to use rpm to see what is wrong with
glibc-devel (--verify, --checksig should be useful - read the rpm man
pages, or "Maximum RPM" that is available on the RH site), reinstall
it if needed.
--
Oleg Goldshmidt | BLOOMBERG L.P. (BFM) | [EMAIL PROTECTED]
"... We work by wit, and not by witchcraft;
And wit depends on dilatory time." - W. Shakespeare.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]