[CentOS] qmail on CentOS 4.4

Feizhou feizhou at graffiti.net
Tue Feb 6 02:55:07 UTC 2007


CentOS mailing list wrote:
> I've tried to install qmail 1.03 on CentOS 4.4 using the command:
>         
> # make setup check
>         
> and I received this error:
>         
> ./load auto-str substdio.a error.a str.a
> substdio.a(substdo.o)(.text+0x43): In function `allwrite':
> : undefined reference to `errno'
> collect2: ld returned 1 exit status
> make: *** [auto-str] Error 1
>         
> Can anyone please help?

Change the compile command in the conf-cc file contents to something like:

gcc -O2 -include /usr/include/errno.h



More information about the CentOS mailing list