netkit-ftp fails

Dennis Veatch dennisveatch at
Mon Oct 25 11:12:14 CEST 2010

On Sunday 24 October 2010 3:28:11 pm marco van der grient wrote:
> 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
> expressions
> 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.

commit 12c09a8c439dbddbdd3c9b0fcea89b9bc963fa46 should take care of this 

Dennis `stumbles` Veatch
Lunar Linux Developer

More information about the Lunar mailing list