[MacPorts] #32121: netstrain @3.0 net6emu.h:146: error: conflicting types for ‘gai_strerror’
MacPorts
noreply at macports.org
Fri Nov 18 15:14:54 PST 2011
#32121: netstrain @3.0 net6emu.h:146: error: conflicting types for ‘gai_strerror’
--------------------------------------+-------------------------------------
Reporter: nonstop.server@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: net | Port: netstrain
--------------------------------------+-------------------------------------
Port netstrain @3.0 fails to build.
{{{
gcc -Wall -O2 -c -o client.o client.c
gcc -Wall -O2 -c -o transfer.o transfer.c
In file included from netstrain.h:49,
from transfer.c:28:
net6emu.h:146: error: conflicting types for ‘gai_strerror’
/usr/include/netdb.h:272: error: previous declaration of ‘gai_strerror’
was here
make: *** [transfer.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from netstrain.h:49,
from client.c:28:
net6emu.h:146: error: conflicting types for ‘gai_strerror’
/usr/include/netdb.h:272: error: previous declaration of ‘gai_strerror’
was here
make: *** [client.o] Error 1
}}}
Version Information:
{{{
Mac OS Version:
Darwin 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011;
root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
Xcode Version:
Xcode 4.2
Build version 4D199
Macports Version:
Version: 2.0.3
}}}
--
Ticket URL: <https://trac.macports.org/ticket/32121>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list