Hi Trying to build the agent on Sparc Solaris 5.8, using gcc
using
./configure --prefix=/opt/netxms --with-agent --disable-encryption --disable-iconv
make
and I get the error
DISABLE_ICONV -D_THREAD_SAFE -DPREFIX=\"/opt/netxms\" -DPREFIXW=L\"/opt/netxms\" -DDATADIR=\"/opt/netxms/share/netxms\" -DLIBDIR=\"/opt/netxms/lib\" -g -O2 -fno-rtti -fno-exceptions -fno-const-strings -Wno-deprecated -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.cpp -fPIC -DPIC -o .libs/base64.o
In file included from ../../include/nms_util.h:40,
from libnetxms.h:28,
from base64.cpp:44:
../../include/nms_threads.h: In function `BOOL ConditionWait(netxms_condition_t*, DWORD)':
../../include/nms_threads.h:849: error: `pthread_cond_reltimedwait_np' was not declared in this scope
make[3]: *** [base64.lo] Error 1
uname -a
SunOS cscsydhnms56 5.8 Generic_117350-59 sun4u sparc SUNW,UltraAX-i2 Solaris
gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
config.log attached (had to gzip it)
Any Ideas?
thanks
using
./configure --prefix=/opt/netxms --with-agent --disable-encryption --disable-iconv
make
and I get the error
DISABLE_ICONV -D_THREAD_SAFE -DPREFIX=\"/opt/netxms\" -DPREFIXW=L\"/opt/netxms\" -DDATADIR=\"/opt/netxms/share/netxms\" -DLIBDIR=\"/opt/netxms/lib\" -g -O2 -fno-rtti -fno-exceptions -fno-const-strings -Wno-deprecated -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.cpp -fPIC -DPIC -o .libs/base64.o
In file included from ../../include/nms_util.h:40,
from libnetxms.h:28,
from base64.cpp:44:
../../include/nms_threads.h: In function `BOOL ConditionWait(netxms_condition_t*, DWORD)':
../../include/nms_threads.h:849: error: `pthread_cond_reltimedwait_np' was not declared in this scope
make[3]: *** [base64.lo] Error 1
uname -a
SunOS cscsydhnms56 5.8 Generic_117350-59 sun4u sparc SUNW,UltraAX-i2 Solaris
gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
config.log attached (had to gzip it)
Any Ideas?
thanks