Opened 13 years ago

Closed 13 years ago

#32121 closed defect (fixed)

netstrain @3.0 net6emu.h:146: error: conflicting types for ‘gai_strerror’

Reported by: nonstop.server@… Owned by: ryandesign (Ryan Carsten Schmidt)
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 (2)

macports_netstrain_install.log (13.2 KB) - added by nonstop.server@… 13 years ago.
main.log (12.4 KB) - added by nonstop.server@… 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by nonstop.server@…

Changed 13 years ago by nonstop.server@…

Attachment: main.log added

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: net removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.