<x-flowed>
server#
server# grep SOL_TCP `find /usr/include -type f -print`
server# ls /usr/include/netinet
arp.h if_ether.h in.h in_var.h ip_icmp.h pim.h
tcp_fsm.h tcp_var.h udp_var.h
icmp6.h igmp.h in_pcb.h ip.h ip_mroute.h tcp.h
tcp_seq.h tcpip.h
icmp_var.h igmp_var.h in_systm.h ip6.h ip_var.h tcp_debug.h
tcp_timer.h udp.h
server# grep SOL_TCP /usr/include/netinet/tcp.h
server#
Didn't find it.
This isn't Solaris 7 as I said earlier, it's Solaris 8.
>From: Andreas Schoenberg <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "general-l List Member" <[EMAIL PROTECTED]>
>Subject: [general-l] SOL_TCP {02}
>Date: Thu, 31 Jan 2002 18:55:11 +0100
>
>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
>
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
</x-flowed>