bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error building commonc++ on solaris 8


From: Stone, Jeff
Subject: Error building commonc++ on solaris 8
Date: Fri, 8 Mar 2002 12:29:56 -0600

Hi, I have a problem compiling commonc++.  Here is my configuration:

        CommonC++ 1.6.4
        Solaris 8
        CC: Sun WorkShop 6 update 1 C++ 5.2 2000/09/11

        (also tried CommonC++ 1.9.6, but it had different problems)

Here is the output of my build:

$ make
Making all in posix
/bin/sh ../libtool --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I. -I../posix
-g -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c inaddr.cpp
mkdir .libs
CC -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -D_GNU_SOURCE -D_REENTRANT
-D_THREAD_SAFE -c inaddr.cpp  -KPIC -DPIC -o inaddr.o
"/usr/include/sys/feature_tests.h", line 143: Warning (Anachronism): Attempt
to redefine _POSIX_PTHREAD_SEMANTICS without using #undef.
"inaddr.cpp", line 89: Warning: validator hides cc_InetAddress::validator.
"inaddr.cpp", line 101: Warning: validator hides cc_InetAddress::validator.
3 Warning(s) detected.
mv -f inaddr.o .libs/inaddr.lo
CC -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -D_GNU_SOURCE -D_REENTRANT
-D_THREAD_SAFE -c inaddr.cpp -o inaddr.o >/dev/null 2>&1
mv -f .libs/inaddr.lo inaddr.lo
/bin/sh ../libtool --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I. -I../posix
-g -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c socket.cpp
rm -f .libs/socket.lo
CC -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -D_GNU_SOURCE -D_REENTRANT
-D_THREAD_SAFE -c socket.cpp  -KPIC -DPIC -o socket.o
"/usr/include/sys/feature_tests.h", line 143: Warning (Anachronism): Attempt
to redefine _POSIX_PTHREAD_SEMANTICS without using #undef.
"socket.cpp", line 976: Error: The function "setb" must have a prototype.
"socket.cpp", line 1065: Warning: timeout hides cc_TCPStream::timeout.
"socket.cpp", line 1283: Warning: timeout hides cc_TCPStream::timeout.
1 Error(s) and 3 Warning(s) detected.
*** Error code 1
make: Fatal error: Command failed for target `socket.lo'
Current working directory /workspaces/dev/jstone08/CommonC++-1.6.4/posix
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'



Thanks for your help.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]