On Feb 17, 2004, at 4:08 PM, William Traver wrote:


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:
/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.


<AKH> And it wouldn't--Fink Commander pretty much just runs the "fink" command for source installs.

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?


[dreamersound:/usr] williamt% ls
X11R6  bin  include  lib  libexec  localaway  sbin  share  standalone

--
Alexander Hansen
Fink Documentarian
[Day Job] Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to