NetXMS Support Forum

Please login or register.

Login with username, password and session length

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - wolf

Pages: [1]
1
Installation / nxhttp compilation error
« on: June 20, 2007, 04:23:22 pm »
$uname
6.0-RELEASE FreeBSD 6.0-RELEASE 1: Tue May 29 08:54:16 EEST 2007

1)
/configure --with-server --with-agent --with-mysql --prefix=/usr/local/netxms -
-with-nxhttpd CPPFLAGS=-I/usr/local/include LIBS=-L/usr/local/lib/
2)
# make
Making all in status
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/local/include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DDATADIR=\"/usr/local/netxms/share/netxms\" -DLIBDIR=\"/usr/local/netxms/lib\" -g -O2 -fno-rtti -fno-exceptions -MT alarm.o -MD -MP -MF .deps/alarm.Tpo -c -o alarm.o alarm.cpp
In file included from alarm.cpp:24:
nxhttpd.h:31:22: messages.h: No such file or directory
In file included from alarm.cpp:24:

https://www.netxms.org/bugtrack/view.php?id=171'>https://www.netxms.org/bugtrack/view.php?id=171 (more detailes)
3)
# make clean
# cd src/nxhttpd
# perl ../../tools/mc.pl  messages.mc
4)
# make
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/local/include -I/usr/lo
cal/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include
/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/usr/local/
include -D_THREAD_SAFE -D_THREAD_SAFE -DDATADIR=\"/usr/local/netxms/share/netxms
\" -DLIBDIR=\"/usr/local/netxms/lib\" -g -O2 -fno-rtti -fno-exceptions -MT alar
m.o -MD -MP -MF .deps/alarm.Tpo -c -o alarm.o alarm.cpp
In file included from alarm.cpp:24:
nxhttpd.h: In member function `void HttpResponse::EndBox(BOOL)':
nxhttpd.h:173: error: invalid conversion from `const char*' to `char*'
nxhttpd.h:173: error: initializing argument 1 of `void HttpResponse::AppendBod
y(char*, int)'
alarm.cpp: In member function `void ClientSession::ShowAlarmList(HttpResponse&,
NXC_OBJECT*, BOOL, char*)':
alarm.cpp:227: error: invalid conversion from `const char*' to `char*'
alarm.cpp:227: error: initializing argument 1 of `const String& String::operat
or=(char*)'
*** Error code 1

https://www.netxms.org/bugtrack/view.php?id=173'>https://www.netxms.org/bugtrack/view.php?id=173 (more detailes)

Pages: [1]