Hello.
I've downloaded latest stable version - netxms-0.2.10, and trying to
compile it on Fedora Core 4..
# g++ --version
g++ (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
When i'm running "make", its breaks with the following output at the end:
Making all in core
make[4]: Entering directory `/opt/netxms-0.2.10/src/agent/core'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include
-DPREFIX=\"/opt/netxms\" -fno-exceptions -I/usr/local/include
-DDATADIR=\"/opt/netxms/share/netxms\" -DLIBDIR=\"/opt/netxms/lib\" -g
-O2 -MT trap.o -MD -MP -MF ".deps/trap.Tpo" \
-c -o trap.o `test -f 'trap.cpp' || echo './'`trap.cpp; \
then mv -f ".deps/trap.Tpo" ".deps/trap.Po"; \
else rm -f ".deps/trap.Tpo"; exit 1; \
fi
trap.cpp: In function void SendTrap(DWORD, char*, ...).
trap.cpp:95: error: va_start was not declared in this scope
trap.cpp:102: error: expected primary-expression before char
trap.cpp:102: error: va_arg was not declared in this scope
trap.cpp:106: error: expected primary-expression before ) token
trap.cpp:111: error: expected primary-expression before ) token
trap.cpp:115: error: expected primary-expression before ) token
trap.cpp:122: error: âva_endâ was not declared in this scope
make[4]: *** [trap.o] Error 1
make[4]: Leaving directory `/opt/netxms-0.2.10/src/agent/core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/netxms-0.2.10/src/agent'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/netxms-0.2.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/netxms-0.2.10'
make: *** [all] Error 2
I was trying to compile netxms from cvs (28.03.2006) with same result.
Does netxms compatible with gcc version 4?
Thank you.
-- Oleg Shepetyuk E-Pasaule Ltd.Received on Thu Mar 30 2006 - 11:38:49 EEST
This archive was generated by hypermail 2.2.0 : Thu Mar 30 2006 - 11:44:20 EEST