mxcl/homebrew — Issue #10300: nmap fails on OSX 10.7.3 w/ Xcode 4.3
Author: jsjohnst
Created: 2012-02-18 08:27:27+00:00
State: open

brew install -v output: https://gist.github.com/1858215
brew doctor output: https://gist.github.com/1858021

Errors:

/usr/bin/clang -Os -w -pipe -march=native -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -c -o snprintf.o snprintf.c
In file included from snprintf.c:66:
In file included from ./nbase.h:475:
./nbase_ipv6.h:204:5: error: conflicting types for 'getnameinfo'
int getnameinfo(const struct sockaddr *sa, size_t salen,
^
/usr/include/netdb.h:279:17: note: previous declaration is here
int getnameinfo(const struct sockaddr * __restrict, socklen_t,
^
In file included from snprintf.c:66:
In file included from ./nbase.h:475:
./nbase_ipv6.h:212:8: error: redefinition of 'addrinfo'
struct addrinfo {
^
/usr/include/netdb.h:154:8: note: previous definition is here
struct addrinfo {
^
2 errors generated.
make[1]: *** [snprintf.o] Error 1
make: *** [nbase_build] Error 2
==> Exit Status: 2