Hi, I tried to make netkit-ftp-0.17 within cygwin and I got the following result:
$ make (cd ftp && make) make[1]: Entering directory `/home/Richard/netkit-ftp-0.17/ftp' gcc -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-protot ypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__ USE_READLINE__ cmds.c -c cmds.c: In function `restart': cmds.c:2230: warning: long int format, different type arg (arg 2) gcc -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-protot ypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__ USE_READLINE__ cmdtab.c -c gcc -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-protot ypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__ USE_READLINE__ domacro.c -c gcc -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-protot ypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__ USE_READLINE__ ftp.c -c ftp.c: In function `recvrequest': ftp.c:886: warning: comparison between signed and unsigned gcc -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-protot ypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__ USE_READLINE__ glob.c -c glob.c: In function `ftpglob': glob.c:118: error: `ARG_MAX' undeclared (first use in this function) glob.c:118: error: (Each undeclared identifier is reported only once glob.c:118: error: for each function it appears in.) glob.c:118: warning: unused variable `agargv' glob.c: In function `ginit': glob.c:159: error: `ARG_MAX' undeclared (first use in this function) glob.c: In function `Gcat': glob.c:574: error: `ARG_MAX' undeclared (first use in this function) make[1]: *** [glob.o] Error 1 make[1]: Leaving directory `/home/Richard/netkit-ftp-0.17/ftp' make: *** [ftp.build] Error 2 As a result, I edited C:\cygwin\usr\include\limits.h and inserted the following line: #define ARG_MAX _POSIX_ARG_MAX below the "#define RTSIG_MAX _POSIX_RTSIG_MAX" line. and I then successfully built netkit-ftp-0.17. If this is the right thing to do, can the limits.h file be updated to include this change? _ ___ |_) | | \ICHARD |HOMAS. [EMAIL PROTECTED] rdthomas.welcome.to _________________________________________________________________ Be one of the first to try Windows Live Mail. http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/