OpenWRT Agent
-
Just curious what versions of WRT is netxms agent compatible with ? I tried to build it on 15.05 and got the following
make[6]: Entering directory `/home/gmonk/Desktop/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/netxms-agent-nossl/netxms-2.0.2/src/libnetxms'
CXX libnetxms_la-tools.lo
In file included from libnetxms.h:27:0,
from tools.cpp:23:
../../include/nms_common.h:1175:13: error: previous declaration of 'void nx_free(void*)' with 'C++' linkage
inline void nx_free(void *p)
^
In file included from /home/gmonk/Desktop/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/features.h:416:0,
from /home/gmonk/Desktop/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/wchar.h:28,
from ../../include/unicode.h:119,
from ../../include/nms_common.h:72,
from libnetxms.h:27,
from tools.cpp:23:
/home/gmonk/Desktop/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/malloc.h:119:18: error: conflicts with new declaration with 'C' linkage
extern void free __MALLOC_P ((__malloc_ptr_t __ptr));
^
make[6]: *** [libnetxms_la-tools.lo] Error 1
make[6]: Leaving directory `/home/gmonk/Desktop/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/netxms-agent-nossl/netxms-2.0.2/src/libnetxms'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/gmonk/Desktop/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/netxms-agent-nossl/netxms-2.0.2/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/gmonk/Desktop/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/netxms-agent-nossl/netxms-2.0.2'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/gmonk/Desktop/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/netxms-agent-nossl/netxms-2.0.2'
make[2]: *** [/home/gmonk/Desktop/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/netxms-agent-nossl/netxms-2.0.2/.built] Error 2
make[2]: Leaving directory `/home/gmonk/Desktop/openwrt/feeds/netxms/admin/netxms'
make[1]: *** [package/feeds/netxms/netxms/install] Error 2
make[1]: Leaving directory `/home/gmonk/Desktop/openwrt' -
I don't have build environment right now to check, but I'm pretty much sure I used 15.05.
You are using feed from https://github.com/netxms/openwrt-feed?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login