Ticket #32121 (closed defect: fixed)
netstrain @3.0 net6emu.h:146: error: conflicting types for ‘gai_strerror’
| Reported by: | nonstop.server@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | Cc: | ||
| Port: | netstrain |
Description
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
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

