New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32121 (closed defect: fixed)

Opened 18 months ago

Last modified 18 months ago

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

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

Change History

Changed 18 months ago by nonstop.server@…

Changed 18 months ago by nonstop.server@…

comment:1 Changed 18 months ago by ryandesign@…

  • Status changed from new to assigned
  • Owner changed from macports-tickets@… to ryandesign@…
  • Keywords net removed

comment:2 Changed 18 months ago by ryandesign@…

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.