netkit-ftp fails

marco van der grient marcovandergrient at
Sun Oct 24 21:28:11 CEST 2010

I like to build netkit to use ftp from the commandline. But...

# snip of the last build centenses.

ad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -Winline  -D__USE_READLINE__ 
ftp.c -c
ftp.c: In function 'recvrequest':
ftp.c:886:20: warning: comparison between signed and unsigned integer 
gcc -O2 -march=i686 -pipe -O2 -march=i686 -pipe -O2 -Wall -W 
-Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline  
-D__USE_READLINE__ glob.c -c
glob.c: In function 'ftpglob':
glob.c:118:16: error: 'ARG_MAX' undeclared (first use in this function)
glob.c:118:16: note: each undeclared identifier is reported only once 
for each function it appears in
glob.c:118:8: warning: unused variable 'agargv'
glob.c: In function 'ginit':
glob.c:159:11: error: 'ARG_MAX' undeclared (first use in this function)
glob.c: In function 'Gcat':
glob.c:574:33: error: 'ARG_MAX' undeclared (first use in this function)
make[1]: *** [glob.o] Error 1
make[1]: Leaving directory `/usr/src/netkit-ftp-0.17/ftp'
make: *** [] Error 2
Creating /var/log/lunar/compile/netkit-ftp-0.17.bz2
! Problem detected during BUILD

See attachment for detailed compile log.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: netkit-ftp-0.17
URL: <>

More information about the Lunar mailing list