Opened 18 years ago

Closed 18 years ago

#9546 closed defect (fixed)

BUG: Gnu Common C++ 2 (commoncpp2) doesn't compile and grossly outdated

Reported by: wyuenho (Jimmy Yuen Ho Wong) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: mww@…
Port:

Description

I suggest instead of fixing it, just port the new version to darwinport and be done with it.

But anyway...

Error message:

g++ -DHAVE_CONFIG_H -I. -I. -I../include -I/opt/local/include -I../src -DCCXX_EXPORT_LIBRARY -I/opt/local/include/libxml2 -I/opt/local/include -I../include -g -O2 -I/opt/local/include -D_GNU_SOURCE -MT thread.lo -MD -MP -MF .deps/thread.Tpo -c thread.cpp -fno-common -DPIC -o .libs/thread.o

/usr/include/netinet/ip.h:80: error: 'u_int' does not name a type /usr/include/netinet/ip.h:84: error: 'u_int' does not name a type /usr/include/netinet/ip.h:88: error: 'u_char' does not name a type /usr/include/netinet/ip.h:89: error: 'u_short' does not name a type /usr/include/netinet/ip.h:90: error: 'u_short' does not name a type /usr/include/netinet/ip.h:91: error: 'u_short' does not name a type /usr/include/netinet/ip.h:96: error: 'u_char' does not name a type /usr/include/netinet/ip.h:97: error: 'u_char' does not name a type /usr/include/netinet/ip.h:98: error: 'u_short' does not name a type /usr/include/netinet/ip.h:170: error: 'u_char' does not name a type /usr/include/netinet/ip.h:171: error: 'u_char' does not name a type /usr/include/netinet/ip.h:172: error: 'u_char' does not name a type /usr/include/netinet/ip.h:174: error: 'u_int' does not name a type /usr/include/netinet/ip.h:178: error: 'u_int' does not name a type ../include/cc++/thread.h:1083: error: using typedef-name 'ost::Thread::Cancel' after 'enum' ../include/cc++/thread.h:1059: error: 'ost::Thread::Cancel' has a previous declaration here ../include/cc++/thread.h: In member function 'ost::Thread::Cancel ost::Thread::getCancel()': ../include/cc++/thread.h:1338: error: invalid conversion from 'int' to 'ost::Thread::Cancel' make[1]: * [thread.lo] Error 1 make: * [all-recursive] Error 1

Warning: the following items did not execute (for commoncpp2): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: /opt/local/bin/port: Status 1 encountered during processing.

Attachments (1)

Portfile (746 bytes) - added by wyuenho (Jimmy Yuen Ho Wong) 18 years ago.
Portfile

Download all attachments as: .zip

Change History (2)

Changed 18 years ago by wyuenho (Jimmy Yuen Ho Wong)

Attachment: Portfile added

Portfile

comment:1 Changed 18 years ago by mww@…

Cc: mww@… added
Resolution: fixed
Status: newclosed
Summary: Gnu Common C++ 2 (commoncpp2) doesn't compile and grossly outdatedBUG: Gnu Common C++ 2 (commoncpp2) doesn't compile and grossly outdated

aye, updated to 1.4.2;

Note: See TracTickets for help on using tickets.