Nmap Development mailing list archives
Re: Solution to "configure: error: Cannot find type for 6th argument to recvfrom()"
From: Brian Keefer <chort () smtps net>
Date: 04 Jul 2004 00:50:26 -0700
Unfortunately it's still failing on OS X/10.3.4 (previously was failing on 10.3.3, but I see the .4 release didn't touch the compilers). I tried /usr/bin g++-3.3 g++3 (3.1) cpp-3.3 cpp3 (3.1) All failed. See attached output from ./configure By the way, I'm completely ready to admit it was some kind of blunder on my own part. fink has to be the worst ported framework I've ever seen, so I have zero confidence things are setup correctly. 60% of fink packages (that I've tried) fail to install correctly on 10.3.x. Has anyone managed to compile nmap 3.50 on OS X 10.3.x? -- chort
############################# # # compiler info # ############################# horus:~/src/nmap-3.50 chort$ cpp-3.3 -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1495) /usr/libexec/gcc/darwin/ppc/3.3/cc1 -E -quiet -v -D__DYNAMIC__ - -fPIC ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/usr/ppc-darwin/include" ignoring nonexistent directory "/Local/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /usr/include/gcc/darwin/3.3 /usr/include End of search list. Framework search starts here: /System/Library/Frameworks /Library/Frameworks End of framework search list. ############################# # # configure output # ############################# horus:~/src/nmap-3.50 chort$ ./configure CXX=/usr/bin/cpp-3.3 --with-openssl=/usr/include/openssl checking for gcc... gcc checking for C compiler default output file name... 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 gcc option to accept ANSI C... none needed checking whether we are using the GNU C++ compiler... no checking whether /usr/bin/cpp-3.3 accepts -g... no checking for inline... inline checking build system type... powerpc-apple-darwin7.4.0 checking host system type... powerpc-apple-darwin7.4.0 checking how to run the C preprocessor... gcc -E -traditional-cpp checking for egrep... grep -E checking for ANSI C header files... no checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking for string.h... (cached) no checking getopt.h usability... no checking getopt.h presence... no checking for getopt.h... no checking for strings.h... (cached) no checking for memory.h... (cached) no checking sys/param.h usability... no checking sys/param.h presence... no checking for sys/param.h... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking sys/time.h usability... no checking sys/time.h presence... no checking for sys/time.h... no checking pwd.h usability... no checking pwd.h presence... no checking for pwd.h... no checking for unistd.h... (cached) no checking netinet/in.h usability... no checking netinet/in.h presence... no checking for netinet/in.h... no checking sys/socket.h usability... no checking sys/socket.h presence... no checking for sys/socket.h... no checking for net/if.h... no checking for netinet/if_ether.h... no checking whether time.h and sys/time.h may both be included... no checking for library containing gethostent... none required checking for library containing setsockopt... none required checking for library containing nanosleep... none required checking pcap.h usability... no checking pcap.h presence... no checking for pcap.h... no checking pcre.h usability... no checking pcre.h presence... no checking for pcre.h... no checking pcre/pcre.h usability... no checking pcre/pcre.h presence... no checking for pcre/pcre.h... no checking struct ip... no checking if sockaddr{} has sa_len member... no checking whether byte ordering is bigendian... yes checking if struct in_addr is a wacky huge structure (some Sun boxes)... no checking if struct icmp exists... no checking if struct ip exists... no checking if struct ip has ip_sum member... no checking for bzero... no checking for memcpy... no checking for nanosleep... no checking for strerror... no checking for strcasestr... no checking for inet_aton... no checking for getopt_long_only... no checking for usleep... no checking if usleep needs custom prototype... not found checking if gethostname needs custom prototype... not found checking for type of 6th argument to recvfrom()... configure: error: Cannot find type for 6th argument to recvfrom()
############################# # # compiler info # ############################# horus:~/src/nmap-3.50 chort$ cpp3 -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs Thread model: posix Apple Computer, Inc. GCC version 1256, based on gcc version 3.1 20021003 (prerelease) /usr/libexec/gcc/darwin/ppc/3.1/cpp0 -lang-c -v -D__ppc__ -D__POWERPC__ -D__NATURAL_ALIGNMENT__ -D__MACH__ -D__BIG_ENDIAN__ -D__APPLE__ -D__ppc__ -D__POWERPC__ -D__NATURAL_ALIGNMENT__ -D__MACH__ -D__BIG_ENDIAN__ -D__APPLE__ -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D__DYNAMIC__ - GNU CPP version 3.1 20021003 (prerelease) (cpplib) (Darwin/PowerPC) ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/usr/lib/gcc-lib/ppc-darwin/3.1/../../../../ppc-darwin/include" ignoring nonexistent directory "/Local/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /usr/include/gcc/darwin/3.1 /usr/include End of search list. Framework search starts here: /System/Library/Frameworks /Library/Frameworks End of framework search list. ############################# # # configure output # ############################# horus:~/src/nmap-3.50 chort$ ./configure CXX=/usr/bin/cpp3 --with-openssl=/usr/include/openssl checking for gcc... gcc checking for C compiler default output file name... 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 gcc option to accept ANSI C... none needed checking whether we are using the GNU C++ compiler... no checking whether /usr/bin/cpp3 accepts -g... no checking for inline... inline checking build system type... powerpc-apple-darwin7.4.0 checking host system type... powerpc-apple-darwin7.4.0 checking how to run the C preprocessor... gcc -E -traditional-cpp checking for egrep... grep -E checking for ANSI C header files... no checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking for string.h... (cached) no checking getopt.h usability... no checking getopt.h presence... no checking for getopt.h... no checking for strings.h... (cached) no checking for memory.h... (cached) no checking sys/param.h usability... no checking sys/param.h presence... no checking for sys/param.h... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking sys/time.h usability... no checking sys/time.h presence... no checking for sys/time.h... no checking pwd.h usability... no checking pwd.h presence... no checking for pwd.h... no checking for unistd.h... (cached) no checking netinet/in.h usability... no checking netinet/in.h presence... no checking for netinet/in.h... no checking sys/socket.h usability... no checking sys/socket.h presence... no checking for sys/socket.h... no checking for net/if.h... no checking for netinet/if_ether.h... no checking whether time.h and sys/time.h may both be included... no checking for library containing gethostent... none required checking for library containing setsockopt... none required checking for library containing nanosleep... none required checking pcap.h usability... no checking pcap.h presence... no checking for pcap.h... no checking pcre.h usability... no checking pcre.h presence... no checking for pcre.h... no checking pcre/pcre.h usability... no checking pcre/pcre.h presence... no checking for pcre/pcre.h... no checking struct ip... no checking if sockaddr{} has sa_len member... no checking whether byte ordering is bigendian... yes checking if struct in_addr is a wacky huge structure (some Sun boxes)... no checking if struct icmp exists... no checking if struct ip exists... no checking if struct ip has ip_sum member... no checking for bzero... no checking for memcpy... no checking for nanosleep... no checking for strerror... no checking for strcasestr... no checking for inet_aton... no checking for getopt_long_only... no checking for usleep... no checking if usleep needs custom prototype... not found checking if gethostname needs custom prototype... not found checking for type of 6th argument to recvfrom()... configure: error: Cannot find type for 6th argument to recvfrom()
############################# # # compiler info # ############################# horus:~/src/nmap-3.50 chort$ g++ -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1495) ############################# # # configure output # ############################# horus:~/src/nmap-3.50 chort$ ./configure CXX=/usr/bin/g++ --with-openssl=/usr/include/openssl checking for gcc... gcc checking for C compiler default output file name... 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 gcc option to accept ANSI C... none needed checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++ accepts -g... yes checking for inline... inline checking build system type... powerpc-apple-darwin7.4.0 checking host system type... powerpc-apple-darwin7.4.0 checking how to run the C preprocessor... gcc -E -traditional-cpp checking for egrep... grep -E checking for ANSI C header files... no checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking for string.h... (cached) no checking getopt.h usability... no checking getopt.h presence... no checking for getopt.h... no checking for strings.h... (cached) no checking for memory.h... (cached) no checking sys/param.h usability... no checking sys/param.h presence... no checking for sys/param.h... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking sys/time.h usability... no checking sys/time.h presence... no checking for sys/time.h... no checking pwd.h usability... no checking pwd.h presence... no checking for pwd.h... no checking for unistd.h... (cached) no checking netinet/in.h usability... no checking netinet/in.h presence... no checking for netinet/in.h... no checking sys/socket.h usability... no checking sys/socket.h presence... no checking for sys/socket.h... no checking for net/if.h... no checking for netinet/if_ether.h... no checking whether time.h and sys/time.h may both be included... no checking for library containing gethostent... none required checking for library containing setsockopt... none required checking for library containing nanosleep... none required checking pcap.h usability... no checking pcap.h presence... no checking for pcap.h... no checking pcre.h usability... no checking pcre.h presence... no checking for pcre.h... no checking pcre/pcre.h usability... no checking pcre/pcre.h presence... no checking for pcre/pcre.h... no checking struct ip... no checking if sockaddr{} has sa_len member... no checking whether byte ordering is bigendian... yes checking if struct in_addr is a wacky huge structure (some Sun boxes)... no checking if struct icmp exists... no checking if struct ip exists... no checking if struct ip has ip_sum member... no checking for bzero... no checking for memcpy... no checking for nanosleep... no checking for strerror... no checking for strcasestr... no checking for inet_aton... no checking for getopt_long_only... no checking for usleep... no checking if usleep needs custom prototype... not found checking if gethostname needs custom prototype... not found checking for type of 6th argument to recvfrom()... configure: error: Cannot find type for 6th argument to recvfrom()
--------------------------------------------------------------------- For help using this (nmap-dev) mailing list, send a blank email to nmap-dev-help () insecure org . List archive: http://seclists.org
Current thread:
- Re: Solution to "configure: error: Cannot find type for 6th argument to recvfrom()" Brian Keefer (Jul 04)
- Re: Re: Solution to "configure: error: Cannot find type for 6th argument to recvfrom()" Laurent Valdes (Jul 04)
- Re: Solution to "configure: error: Cannot find type for 6th argument to recvfrom()" MadHat (Jul 04)
- Re: Solution to "configure: error: Cannot find type for 6th argument to recvfrom()" Brian Keefer (Jul 04)
- Re: Solution to "configure: error: Cannot find type for 6th argument to recvfrom()" Brian Keefer (Jul 05)
- Re: Solution to "configure: error: Cannot find type for 6th argument to recvfrom()" Brian Keefer (Jul 04)