It died on me; lots of dns.c issues.  Any ideas?  My deets:

Package manager version: 0.24.17
Distribution version: 0.8.0.rsync
Mac OS X version: 10.4.6
Xcode version: 2.2.1
gcc version: 4.0.1 (Apple Computer, Inc. build 5250)
make version: 3.80
Feedback Courtesy of FinkCommander

The fink report:

# fink install arpwatch
Information about 5845 packages read in 108 seconds.
The package 'arpwatch' will be built and installed.
The following package will be installed or updated:
 arpwatch
dpkg-deb -b /sw/src.build/root-fink-buildlock-arpwatch-2.1a11-12 /sw/src.build
dpkg-deb: building package `fink-buildlock-arpwatch-2.1a11-12' in
`/sw/src.build/fink-buildlock-arpwatch-2.1a11-12_2006.06.09-18.17.41_darwin-powerpc.deb'.
Setting build lock...
/sw/bin/dpkg-lockwait -i
/sw/src.build/fink-buildlock-arpwatch-2.1a11-12_2006.06.09-18.17.41_darwin-powerpc.deb
Waiting up to 300 seconds for access to the dpkg database... done.
Selecting previously deselected package fink-buildlock-arpwatch-2.1a11-12.
(Reading database ... 122724 files and directories currently installed.)
Unpacking fink-buildlock-arpwatch-2.1a11-12 (from
.../fink-buildlock-arpwatch-2.1a11-12_2006.06.09-18.17.41_darwin-powerpc.deb)
...
Setting up fink-buildlock-arpwatch-2.1a11-12 (2006.06.09-18.17.41) ...
gzip -dc /sw/src/arpwatch-2.1a11.tar.gz | /sw/bin/tar -xvf -
--no-same-owner --no-same-permissions
arpwatch-2.1a11/CHANGES
[... yawn ...]
arpwatch-2.1a11/util.h
cp -f /sw/lib/fink/update/config.guess .
cp -f /sw/lib/fink/update/config.sub .
patch -p1 </sw/fink/dists/unstable/main/finkinfo/net/arpwatch.patch
patching file Makefile.in
./configure --prefix=/sw
creating cache ./config.cache
checking host system type... powerpc-apple-darwin8.6.0
checking target system type... powerpc-apple-darwin8.6.0
checking build system type... powerpc-apple-darwin8.6.0
checking for gcc... gcc
checking whether the C compiler (gcc -L/sw/lib -DBIND_8_COMP@
-L/sw/lib) works... yes
checking whether the C compiler (gcc -L/sw/lib -DBIND_8_COMP@
-L/sw/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for fcntl.h... yes
checking for memory.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for bcopy... yes
checking for strerror... yes
checking whether byte ordering is bigendian... yes
checking return type of signal handlers... void
checking for sigset... yes
checking if union wait is used... no
checking for res_query in -lresolv... yes
checking for gethostbyname... yes
checking for socket... yes
checking for putmsg in -lstr... no
checking for local pcap library... not found
checking for pcap_open_live in -lpcap... yes
checking for sendmail... /usr/sbin/sendmail
checking for ANSI C header files... yes
checking for int32_t... yes
checking for u_int32_t... yes
checking if ether_header uses ether_addr structs... no
checking if ether_arp uses ether_addr structs... no
checking if ether_arp uses erp_xsha member... no
checking for dn_skipname... yes
checking for a BSD compatible install... /sw/bin/ginstall -c
updating cache ./config.cache
creating ./config.status
creating Makefile
creating empty arp.dat file
make
gcc -O -L/sw/lib -DBIND_8_COMP@ -DDEBUG  -DHAVE_FCNTL_H=1
-DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1
-DHAVE_STRERROR=1 -DWORDS_BIGENDIAN=1 -DRETSIGTYPE=void -DRETSIGVAL=
-DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DHAVE_LIBRESOLV=1
-DSTDC_HEADERS=1 -DHAVE_DN_SKIPNAME=1
-DARPDIR=\"/sw/arpwatch\"-DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I.
-I/sw/include -c ./arpwatch.c
<command line>:1:12: warning: missing whitespace after the macro name
gcc -O -L/sw/lib -DBIND_8_COMP@ -DDEBUG  -DHAVE_FCNTL_H=1
-DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1
-DHAVE_STRERROR=1 -DWORDS_BIGENDIAN=1 -DRETSIGTYPE=void -DRETSIGVAL=
-DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DHAVE_LIBRESOLV=1
-DSTDC_HEADERS=1 -DHAVE_DN_SKIPNAME=1
-DARPDIR=\"/sw/arpwatch\"-DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I.
-I/sw/include -c ./db.c
<command line>:1:12: warning: missing whitespace after the macro name
gcc -O -L/sw/lib -DBIND_8_COMP@ -DDEBUG  -DHAVE_FCNTL_H=1
-DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1
-DHAVE_STRERROR=1 -DWORDS_BIGENDIAN=1 -DRETSIGTYPE=void -DRETSIGVAL=
-DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DHAVE_LIBRESOLV=1
-DSTDC_HEADERS=1 -DHAVE_DN_SKIPNAME=1
-DARPDIR=\"/sw/arpwatch\"-DPATH_SENDMAIL=\"/usr/sbin/sendmail\" -I.
-I/sw/include -c ./dns.c
<command line>:1:12: warning: missing whitespace after the macro name
./dns.c:69: error: parse error before 'HEADER'
./dns.c:69: warning: no semicolon at end of struct or union
./dns.c:71: error: parse error before '}' token
./dns.c:71: warning: data definition has no type or storage class
./dns.c: In function 'gethinfo':
./dns.c:79: error: nested functions are not on MacOSX
./dns.c:79: error: syntax error before '*' token
./dns.c:83: error: nested functions are not on MacOSX
./dns.c:83: error: syntax error before '*' token
./dns.c:85: error: parse error before 'qbuf'
./dns.c:87: error: 'qb' undeclared (first use in this function)
./dns.c:87: error: (Each undeclared identifier is reported only once
./dns.c:87: error: for each function it appears in.)
./dns.c:87: error: 'qbuf' undeclared (first use in this function)
./dns.c:88: error: 'C_IN' undeclared (first use in this function)
./dns.c:88: error: 'T_HINFO' undeclared (first use in this function)
./dns.c:96: error: 'hp' undeclared (first use in this function)
./dns.c:101: error: 'HEADER' undeclared (first use in this function)
./dns.c:103: error: 'QFIXEDSZ' undeclared (first use in this function)
./dns.c:109: warning: pointer targets in passing argument 4 of
'res_9_dn_expand' differ in signedness
make: *** [dns.o] Error 1
### execution of make failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-arpwatch-2.1a11-12


_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to