Pessoal, estou com o problema na hora de compilar o qmail. Ao acessar a pasta qmail-1.03 e fazer o seguinte comando para compilar.
cd /usr/src/qmail/qmail-1.03 # make man
depois
make setup check
Esta retornando esse erro.
O que fazer ?
make setup check
./compile qmail-local.c
qmail-local.c:1:23: sys/types.h: No such file or directory
qmail-local.c:2:22: sys/stat.h: No such file or directory
In file included from qmail-local.c:19:
error.h:5:19: errno.h: No such file or directory
qmail-local.c: In function `temp_fork':
qmail-local.c:37: error: `errno' undeclared (first use in this function)
qmail-local.c:37: error: (Each undeclared identifier is reported only once
qmail-local.c:37: error: for each function it appears in.)
qmail-local.c: In function `temp_read':
qmail-local.c:38: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `temp_qmail':
qmail-local.c:42: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `maildir_child':
qmail-local.c:88: error: storage size of `st' isn't known
qmail-local.c:94: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `mailfile':
qmail-local.c:197: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `mailprogram':
qmail-local.c:266: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `checkhome':
qmail-local.c:332: error: storage size of `st' isn't known
qmail-local.c:335: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `qmeox':
qmail-local.c:348: error: storage size of `st' isn't known
qmail-local.c:357: error: `errno' undeclared (first use in this function)
qmail-local.c: In function `qmeexists':
qmail-local.c:367: error: storage size of `st' isn't known
qmail-local.c:373: error: `errno' undeclared (first use in this function)
qmail-local.c:380: error: `S_IFMT' undeclared (first use in this function)
qmail-local.c:380: error: `S_IFREG' undeclared (first use in this function)
qmail-local.c: In function `main':
qmail-local.c:510: error: `errno' undeclared (first use in this function)
qmail-local.c:469: warning: return type of `main' is not `int'
make: *** [qmail-local.o] Error 1