Ticket #16063 (closed defect: fixed)
BNBT fails to build
| Reported by: | calle.kabo@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | Port Bugs |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | bnbt | Cc: | |
| Port: |
Description
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.
:/
Change History
Note: See
TracTickets for help on using
tickets.

