when i try to install and compile the
newest versionm 1.3 under Solaris 9 (sparc), i got the follwing message:
source='thread.cpp' object='thread.lo'
libtool=yes \
depfile='.deps/thread.Plo' tmpdepfile='.deps/thread.TPlo'
\
depmode=none /bin/bash ../autoconf/depcomp
\
/bin/bash ../libtool --mode=compile
CC -DHAVE_CONFIG_H -I. -I. -I../include
-I../src -DCCXX_EXPORT_LIBRARY
-D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxm
l2 -I../include -g -c -o thread.lo
`test -f thread.cpp || echo './'`thread.cpp
mkdir .libs
CC -DHAVE_CONFIG_H -I. -I. -I../include
-I../src -DCCXX_EXPORT_LIBRARY -D_REENT
RANT -D_GNU_SOURCE -I/usr/include/libxml2
-I../include -g -c thread.cpp -KPIC -
DPIC -o .libs/thread.o
"thread.cpp", line 435: Warning
(Anachronism): Formal argument destruct of type
void(*)(void*) in call to ost::ThreadKey::ThreadKey(void(*)(void*))
is being pas
sed extern "C" void(*)(void*).
"thread.cpp", line 508: Warning
(Anachronism): Assigning void(*)(int) to extern
"C" void(*)(int).
"thread.cpp", line 853: Warning
(Anachronism): Formal argument 3 of type extern
"C" void*(*)(void*) in call
to pthread_create(unsigned*, const _pthread_attr*, e
xtern "C" void*(*)(void*),
void*) is being passed void*(*)(void*).
"thread.cpp", line 890: Warning
(Anachronism): Formal argument 3 of type extern
"C" void*(*)(void*) in call
to pthread_create(unsigned*, const _pthread_attr*, e
xtern "C" void*(*)(void*),
void*) is being passed void*(*)(void*).
"thread.cpp", line 1608: Error:
Too many arguments in call to "sigwait(sigset_t*
)".
"thread.cpp", line 1645: Warning
(Anachronism): Assigning void(*)(int) to extern
"C" void(*)(int).
1 Error(s) and 5 Warning(s) detected.
*** Error code 1
I used the Sun C++ compiler 5.5:
/users/lv30521/src/commoncpp2-1.3.0:CC
-V
CC: Sun C++ 5.5 2003/03/12
/users/lv30521/src/commoncpp2-1.3.0:
:/users/lv30521/src/commoncpp2-1.3.0:uname
-a
SunOS rodolfo 5.9 Generic_117171-10
sun4u sparc SUNW,Netra-T12
:/users/lv30521/src/commoncpp2-1.3.0:
\
Any ideas what's going wrong?