<x-flowed> At 11:35 31.01.2002 -0500, you wrote: >I'm trying to build ftp.proxy under Solaris 7 and I'm getting the following: > > >server# make >gcc -O2 -lsocket -lnsl -c ftp.c -o ftp.o >ftp.c: In function `proxy_request': >ftp.c:1363: `SOL_TCP' undeclared (first use in this function) >ftp.c:1363: (Each undeclared identifier is reported only once >ftp.c:1363: for each function it appears in.) >make: *** [ftp.o] Error 1 >server# > >Any idea?
please to do a: grep SOL_TCP `find /usr/include -type f -print` to find out in which header file this is defined on your system. ftp.proxy is searching for it in <your includes>/netinet/tcp.h. Andreas </x-flowed>

