On Tuesday, Feb 17, 2004, at 15:39 America/Chicago, Alexander K. Hansen wrote:
On Feb 17, 2004, at 4:08 PM, William Traver wrote:<WST> Fink Commander sometimes misses an interaction and other than Atlas builds (which I build from >console) seems fine otherwise. I run it reniced to 10 to keep my machine responsive.
gcc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -no-cpp-precomp -I/Developer/SDKs/MacOSX10.3.0.sdk/usr/include -D_BSD_SOCKLEN_T_=int32_t -I/sw/include -g -O2 -Ddarwin6 -c mibII/tcp.c -fno-common -DPIC -o mibII/.libs/tcp.lo
mibII/tcp.c:104:29: netinet/tcp_var.h: No such file or directory
<AKH> This looks like your culprit. You're supposed to have /usr/include/netinet/tcp_var.h to do this compilation. Apparently you don't have the DevSDK package from the Developer Tools installed.
In file included from mibII/tcp.c:105:<AKH> And it wouldn't--Fink Commander pretty much just runs the "fink" command for source installs.
/sw/include/netinet/tcpip.h:66: error: field `ti_i' has incomplete type
mibII/tcp.c: In function `var_tcp':
mibII/tcp.c:288: error: storage size of `tcpstat' isn't known
mibII/tcp.c:288: error: storage size of `tcpstat' isn't known
mibII/tcp.c: At top level:
mibII/tcp.c:466: error: conflicting types for `read_tcp_stat'
mibII/tcp.c:279: error: previous declaration of `read_tcp_stat'
mibII/tcp.c: In function `read_tcp_stat':
mibII/tcp.c:587: error: dereferencing pointer to incomplete type
### execution of make failed, exit code 2
Failed: compiling net-snmp-ssl-5.0.7-2 failed
make[2]: *** [mibII/tcp.lo] Error 1
make[1]: *** [subdirs] Error 1
make: *** [subdirs] Error 1
Hope I haven't snipped too much. I think the .patch isn't working? Running from the terminal didn't make any difference.
<WST> Yes, I don't have Panther yet. Don't know, is there a command to the tools to change this or can I replace the link. Where would it be hiding? Could I have installed too many updates to Developer Tools?fink --version
Package manager version: 0.18.2
Distribution version: 0.6.2.cvs
gcc --version
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1493)
uname -a
Darwin dreamersound.com 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power Macintosh powerpc
<AKH> Huh? Are you running 10.2.8? If so, why is Developer/SDKs/MacOSX10.3.0.sdk/usr/include getting linked?
Willy Traver[dreamersound:/usr] williamt% ls--
X11R6 bin include lib libexec localaway sbin share standalone
Murphy was definitely an optimist.
