Hi John, I've just built libnids on Lion using the current finkinfo from 10.4. Builds completes correctly, although with some warnings. Can you please review it and upload it to the current 10.7 tree if you see fit?
The build log is attached. Regards, L # fink install libnids Information about 3915 packages read in 0 seconds. The following package will be installed or updated: libnids Setting runtime build-lock... dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libnids-1.18-4 /sw/src/fink.build dpkg-deb: costruisco il pacchetto `fink-buildlock-libnids-1.18-4' in `/sw/src/fink.build/fink-buildlock-libnids-1.18-4_2011.12.06-21.42.59_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-libnids-1.18-4_2011.12.06-21.42.59_darwin-x86_64.deb Selezionato il pacchetto fink-buildlock-libnids-1.18-4, che non lo era. (Lettura del database ... 31756 file e directory attualmente installati.) Spacchettamento di fink-buildlock-libnids-1.18-4 (da .../fink-buildlock-libnids-1.18-4_2011.12.06-21.42.59_darwin-x86_64.deb) ... Configuro fink-buildlock-libnids-1.18-4 (2011.12.06-21.42.59) ... gzip -dc /sw/src/libnids-1.18.tar.gz | /sw/bin/tar -xf - --no-same-owner --no-same-permissions [ -r /sw/fink/dists/local/main/finkinfo/libnids.patch ] patch -p1 < /sw/fink/dists/local/main/finkinfo/libnids.patch patching file src/checksum.c ./configure --prefix=/sw --mandir=/sw/share/man checking build system type... i386-apple-darwin11.2.0 checking host system type... i386-apple-darwin11.2.0 checking target system type... i386-apple-darwin11.2.0 checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for a BSD-compatible install... /sw/bin/ginstall -c checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether byte ordering is bigendian... no checking for gettimeofday... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for libpcap... yes checking for libnet... yes checking whether to build shared library... no checking the name of struct icmp... struct icmp checking if tcp states are defined... no checking for bsd-ish struct udphdr... yes checking libnet version... looks old configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating samples/Makefile config.status: creating src/config.h make cd src ; make static gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN checksum.c gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN ip_fragment.c gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN ip_options.c gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN killtcp.c ip_fragment.c:495:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = skb; ^ ~~~ ip_fragment.c:603:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = skb->data + ihl; ^ ~~~~~~~~~~~~~~~ gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN libnids.c killtcp.c:24:32: warning: passing 'char [40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] a_tcp->addr.daddr, 0, 0, buf); ^~~ /sw/include/./libnet/libnet-functions.h:412:5: note: passing argument to parameter here ); ^ killtcp.c:27:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] 0x4, 32000, 0, 0, 0, buf + IP_H); ^~~~~~~~~~ /sw/include/./libnet/libnet-functions.h:249:5: note: passing argument to parameter here ); ^ killtcp.c:28:24: warning: passing 'char [40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] libnet_do_checksum(buf, IPPROTO_TCP, TCP_H); ^~~ /sw/include/./libnet/libnet-functions.h:104:13: note: passing argument to parameter here u_char *, /* Pointer to the packet buffer */ ^ killtcp.c:29:33: warning: passing 'char [40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] libnet_write_ip(libnetsock, buf, TCP_H + IP_H); ^~~ /sw/include/./libnet/libnet-functions.h:521:13: note: passing argument to parameter here u_char *, /* Pointer a complete IP datagram */ ^ killtcp.c:32:32: warning: passing 'char [40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] a_tcp->addr.saddr, 0, 0, buf); ^~~ /sw/include/./libnet/libnet-functions.h:412:5: note: passing argument to parameter here ); ^ killtcp.c:35:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] 0x4, 32000, 0, 0, 0, buf + IP_H); ^~~~~~~~~~ /sw/include/./libnet/libnet-functions.h:249:5: note: passing argument to parameter here ); ^ killtcp.c:36:24: warning: passing 'char [40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] libnet_do_checksum(buf, IPPROTO_TCP, TCP_H); ^~~ /sw/include/./libnet/libnet-functions.h:104:13: note: passing argument to parameter here u_char *, /* Pointer to the packet buffer */ ^ killtcp.c:37:33: warning: passing 'char [40]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] libnet_write_ip(libnetsock, buf, TCP_H + IP_H); ^~~ /sw/include/./libnet/libnet-functions.h:521:13: note: passing argument to parameter here u_char *, /* Pointer a complete IP datagram */ ^ 8 warnings generated. gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN scan.c gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN tcp.c libnids.c:267:46: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (iph->ip_hl > 5 && ip_options_compile(data)) { ^~~~ libnids.c:36:37: note: passing argument to parameter here extern int ip_options_compile(char *); ^ libnids.c:340:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] process_udp(data); ^~~~ libnids.c:305:31: note: passing argument to parameter 'data' here static void process_udp(char *data) ^ libnids.c:532:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] pcap_hand(0, &h, data); ^~~~ libnids.c:177:71: note: passing argument to parameter 'data' here static void pcap_hand(u_char * par, struct pcap_pkthdr *hdr, u_char * data) ^ tcp.c:126:19: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char * options = (char*)(this_tcphdr + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ tcp.c:341:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add2buf(rcv, data + lost, to_copy); ^~~~~~~~~~~ tcp.c:207:41: note: passing argument to parameter 'data' here add2buf(struct half_stream * rcv, char *data, int datalen) ^ tcp.c:357:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add2buf(rcv, data + lost + to_copy + 1, to_copy2); ^~~~~~~~~~~~~~~~~~~~~~~~~ tcp.c:207:41: note: passing argument to parameter 'data' here add2buf(struct half_stream * rcv, char *data, int datalen) ^ tcp.c:369:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add2buf(rcv, data + lost, datalen - lost); ^~~~~~~~~~~ tcp.c:207:41: note: passing argument to parameter 'data' here add2buf(struct half_stream * rcv, char *data, int datalen) ^ tcp.c:399:37: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] add_from_skb(a_tcp, rcv, snd, data, datalen, this_seq, ^~~~ tcp.c:325:15: note: passing argument to parameter 'data' here u_char *data, int datalen, ^ gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN util.c 2 warnings generated. gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN allpromisc.c 3 warnings generated. gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0 -DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/include -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN hash.c 5 warnings generated. ar -cr libnids.a checksum.o ip_fragment.o ip_options.o killtcp.o libnids.o scan.o tcp.o util.o allpromisc.o hash.o /usr/bin/ranlib: file: libnids.a(allpromisc.o) has no symbols ranlib libnids.a ranlib: file: libnids.a(allpromisc.o) has no symbols /bin/rm -rf /sw/src/fink.build/root-libnids-1.18-4 /bin/mkdir -p /sw/src/fink.build/root-libnids-1.18-4/sw /bin/mkdir -p /sw/src/fink.build/root-libnids-1.18-4/DEBIAN /usr/sbin/chown -R root:admin /sw/src/fink.build/root-libnids-1.18-4 make install install_prefix=/sw/src/fink.build/root-libnids-1.18-4 cd src ; make _install ../mkinstalldirs /sw/src/fink.build/root-libnids-1.18-4/sw/lib mkdir /sw/src/fink.build/root-libnids-1.18-4/sw/lib ../mkinstalldirs /sw/src/fink.build/root-libnids-1.18-4/sw/include mkdir /sw/src/fink.build/root-libnids-1.18-4/sw/include ../mkinstalldirs /sw/src/fink.build/root-libnids-1.18-4/sw/share/man/man3 mkdir /sw/src/fink.build/root-libnids-1.18-4/sw/share mkdir /sw/src/fink.build/root-libnids-1.18-4/sw/share/man mkdir /sw/src/fink.build/root-libnids-1.18-4/sw/share/man/man3 /sw/bin/ginstall -c -c -m 644 libnids.a /sw/src/fink.build/root-libnids-1.18-4/sw/lib /sw/bin/ginstall -c -c -m 644 nids.h /sw/src/fink.build/root-libnids-1.18-4/sw/include /sw/bin/ginstall -c -c -m 644 libnids.3 /sw/src/fink.build/root-libnids-1.18-4/sw/share/man/man3 /usr/bin/install -d -m 700 /sw/src/fink.build/root-libnids-1.18-4/sw/share/doc/libnids /bin/cp -r COPYING /sw/src/fink.build/root-libnids-1.18-4/sw/share/doc/libnids/COPYING.libnids /bin/chmod -R go=u-w /sw/src/fink.build/root-libnids-1.18-4/sw/share/doc/libnids /bin/rm -f /sw/src/fink.build/root-libnids-1.18-4/sw/info/dir /sw/src/fink.build/root-libnids-1.18-4/sw/info/dir.old /sw/src/fink.build/root-libnids-1.18-4/sw/share/info/dir /sw/src/fink.build/root-libnids-1.18-4/sw/share/info/dir.old Writing control file... dpkg-deb -b root-libnids-1.18-4 /sw/fink/10.7/local/main/binary-darwin-x86_64 dpkg-deb: costruisco il pacchetto `libnids' in `/sw/fink/10.7/local/main/binary-darwin-x86_64/libnids_1.18-4_darwin-x86_64.deb'. Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-libnids-1.18-4 (Lettura del database ... 31757 file e directory attualmente installati.) Rimozione di fink-buildlock-libnids-1.18-4 ... Reading buildlock packages... /sw/bin/dpkg-lockwait -i /sw/fink/dists/local/main/binary-darwin-x86_64/libnids_1.18-4_darwin-x86_64.deb Selezionato il pacchetto libnids, che non lo era. (Lettura del database ... 31756 file e directory attualmente installati.) Spacchettamento di libnids (da .../libnids_1.18-4_darwin-x86_64.deb) ... Configuro libnids (1.18-4) ... Updating the list of locally available binary packages. Scanning dists/local/main/binary-darwin-x86_64 Changed package: dists/local/main/binary-darwin-x86_64/libnids_1.18-4_darwin-x86_64.deb -- Luigi Gangitano -- <lu...@debian.org> -- <gangit...@lugroma3.org> GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972 C24A F19B A618 924C 0C26 ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel