Semkaa
27-05-2007, 13:26
I am trying to compile vsftpd with tcp_wrappers enabled (in file builddefs.h -> #define VSF_BUILD_TCPWRAPPERS)
I've got an error after executing command 'make':
gcc -c tcpwrap.c -O2 -Wall -W -Wshadow -idirafter dummyinc
tcpwrap.c:15:20: error: tcpd.h: No such file or directory
tcpwrap.c: In function 'vsf_tcp_wrapper_ok':
tcpwrap.c:28: error: storage size of 'req' isn't known
tcpwrap.c:29: warning: implicit declaration of function 'request_init'
tcpwrap.c:29: error: 'RQ_DAEMON' undeclared (first use in this function)
tcpwrap.c:29: error: (Each undeclared identifier is reported only once
tcpwrap.c:29: error: for each function it appears in.)
tcpwrap.c:29: error: 'RQ_FILE' undeclared (first use in this function)
tcpwrap.c:30: warning: implicit declaration of function 'fromhost'
tcpwrap.c:31: warning: implicit declaration of function 'hosts_access'
tcpwrap.c:28: warning: unused variable 'req'
make: *** [tcpwrap.o] Error 1
Plz help me how to avoid this error.
Thx.
I've got an error after executing command 'make':
gcc -c tcpwrap.c -O2 -Wall -W -Wshadow -idirafter dummyinc
tcpwrap.c:15:20: error: tcpd.h: No such file or directory
tcpwrap.c: In function 'vsf_tcp_wrapper_ok':
tcpwrap.c:28: error: storage size of 'req' isn't known
tcpwrap.c:29: warning: implicit declaration of function 'request_init'
tcpwrap.c:29: error: 'RQ_DAEMON' undeclared (first use in this function)
tcpwrap.c:29: error: (Each undeclared identifier is reported only once
tcpwrap.c:29: error: for each function it appears in.)
tcpwrap.c:29: error: 'RQ_FILE' undeclared (first use in this function)
tcpwrap.c:30: warning: implicit declaration of function 'fromhost'
tcpwrap.c:31: warning: implicit declaration of function 'hosts_access'
tcpwrap.c:28: warning: unused variable 'req'
make: *** [tcpwrap.o] Error 1
Plz help me how to avoid this error.
Thx.