#16063: BNBT fails to build ----------------------------------+----------------------------------------- Reporter: calle.kabo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: bnbt | ----------------------------------+----------------------------------------- I get the following output when typing "sudo port install bnbt" {{{ ---> Fetching bnbt ---> Attempting to fetch bnbt81b-3-sf.zip from http://downloads.sourceforge.net/bnbt ---> Verifying checksum(s) for bnbt ---> Extracting bnbt ---> Configuring bnbt ---> Building bnbt with target bnbt Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_bnbt/work/bnbt/src" && make bnbt " returned error 2 Command output: g++ -o atom.o -O2 -flat_namespace -D__APPLE__ -I. -c atom.cpp bnbt.h:145: error: conflicting declaration 'typedef int socklen_t' /usr/include/sys/socket.h:108: error: 'socklen_t' has a previous declaration as 'typedef __darwin_socklen_t socklen_t' make: *** [atom.o] Error 1 Error: Status 1 encountered during processing. }}} :/ -- Ticket URL: <http://trac.macports.org/ticket/16063> MacPorts <http://www.macports.org/> Ports system for Mac OS