Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
GCC 3/Compile Issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GCC 3/Compile Issues



I'm seeing compilation errors for a number of applications that use autoconf. This time the error is with nmap, but I have a few others that bomb similarly.

This strikes me as a problem with the application, but before I mention it to the authors, this isn't a quirky Apple issue, right?

g++ -g -Wall -no-cpp-precomp -I/usr/local/include -Ilibpcap-possiblymodified -Inbase -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.15BETA1\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"powerpc-apple-darwin6.4\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified -c -o main.o main.cc
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system directory
In file included from output.h:67,
from nmap.h:369,
from main.cc:48:
tcpip.h:247: redefinition of `struct ip'
/usr/include/netinet/ip.h:71: previous definition of `struct ip'
tcpip.h:291: redefinition of `struct icmp_ra_addr'
/usr/include/netinet/ip_icmp.h:70: previous definition of `struct icmp_ra_addr'
tcpip.h:297: redefinition of `struct icmp'
/usr/include/netinet/ip_icmp.h:78: previous definition of `struct icmp'
make: *** [main.o] Error 1
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.






Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.