[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Qmail installation problem (2nd)



yair linux <yair_lnx@ard.huji.ac.il> 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) | oleg@NOSPAM.bfr.co.il
"... We work by wit, and not by witchcraft;
 And wit depends on dilatory time." - W. Shakespeare.

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il