On Feb 17, 2004, at 5:30 PM, William Traver wrote:



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:


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.
<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.
<AKH> True (hence the "pretty much")


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?


<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?

<AKH> Check in /Library/Receipts to see if you have the XCode preview or something funny like that. You may not. Then make sure to install the DevSDK package from your current Developer Tools--I don't recall if it was included as part of the August 2003 update to the December 2002 Tools, or if it was just in the latter.



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

--

Willy Traver

Murphy was definitely an optimist.

--
Alexander K. 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