[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Trouble compiling CommonC++ under Solaris
From: |
Bill Hayden |
Subject: |
Trouble compiling CommonC++ under Solaris |
Date: |
Fri, 18 May 2001 14:46:38 -0500 |
All,
Has anyone had success compiling CommonC++ under Solaris? I get the
following error message:
Making all in posix
gmake[1]: Entering directory `/shared/wdh/CommonC++/CommonC++-1.3.3/posix'
/bin/sh ../libtool --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I. -I../posix
-g -D_GNU_SOURCE -Dmutable -D_REENTRANT -D_THREAD_SAFE -c inaddr.cpp
rm -f .libs/inaddr.lo
CC -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -D_GNU_SOURCE -Dmutable
-D_REENTRANT -D_THREAD_SAFE -c -KPIC -DPIC inaddr.cpp -o inaddr.o
"socket.h", line 285: Warning (Anachronism): Using int to initialize bool.
"socket.h", line 285: Note: Type "CC -migration" for more on anachronisms.
"socket.h", line 438: Error: "}" expected instead of "1".
"socket.h", line 438: Error: Use ";" to terminate declarations.
"socket.h", line 438: Error: A declaration was expected instead of "1".
"socket.h", line 439: Error: A declaration was expected instead of "1".
"socket.h", line 441: Error: A declaration was expected instead of "1".
"socket.h", line 451: Error: A declaration was expected instead of
"protected".
"socket.h", line 467: Error: The function "Error(sockerror_t, char*) const"
cannot be declared const.
"socket.h", line 485: Warning (Anachronism): Assigning int to the enum bool
is obsolete.
"socket.h", line 531: Error: No direct declarator preceding "(".
"socket.h", line 540: Error: ")" expected instead of "fd".
"socket.h", line 549: Error: No direct declarator preceding "(".
"socket.h", line 561: Error: A declaration was expected instead of "public".
"socket.h", line 569: Error: "virtual" is not allowed here.
"socket.h", line 569: Error: The destructor name must match the class name.
"socket.h", line 570: Error: Illegal number of arguments for <destructor>().
"socket.h", line 575: Error: operator=(const cc_Socket&) must be a member
function.
"socket.h", line 586: Error: The function "getSender(unsigned short*) const"
cannot be declared const.
"socket.h", line 597: Error: The function "getPeer(unsigned short*) const"
cannot be declared const.
"socket.h", line 606: Error: The function "getLocal(unsigned short*) const"
cannot be declared const.
"socket.h", line 647: Error: The function "isConnected() const" cannot be
declared const.
"socket.h", line 656: Error: The function "isActive() const" cannot be
declared const.
"socket.h", line 662: Error: Illegal number of arguments for operator!()
const.
"socket.h", line 662: Error: The function "operator!() const" cannot be
declared const.
"socket.h", line 671: Error: The function "isBroadcast() const" cannot be
declared const.
"socket.h", line 679: Error: The function "isRouted() const" cannot be
declared const.
"socket.h", line 687: Error: The function "getErrorNumber() const" cannot be
declared const.
Compilation aborted, too many messages.
gmake[1]: *** [inaddr.lo] Error 1
gmake[1]: Leaving directory `/shared/wdh/CommonC++/CommonC++-1.3.3/posix'
gmake: *** [all-recursive] Error 1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Trouble compiling CommonC++ under Solaris,
Bill Hayden <=