Menu

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.

Show posts Menu

Topics - tianhao

#1
General Support / error during install agent
November 07, 2013, 11:17:22 AM
hi,
i met an error while running make. here is what i got

Making all in core
make[4]: Entering directory `/tmp/netxms-1.2.9/src/agent/core'
../../../tools/create_ssa_list.sh "" > static_subagents.cpp
  CXX    static_subagents.o
  CXXLD  nxagentd
session.o: In function `InterlockedDecrement':
/tmp/netxms-1.2.9/src/agent/core/../../../include/nms_threads.h:1032: undefined reference to `__sync_sub_and_fetch_4'
/tmp/netxms-1.2.9/src/agent/core/../../../include/nms_threads.h:1032: undefined reference to `__sync_sub_and_fetch_4'
/tmp/netxms-1.2.9/src/agent/core/../../../include/nms_threads.h:1032: undefined reference to `__sync_sub_and_fetch_4'
collect2: ld returned 1 exit status
make[4]: *** [nxagentd] Error 1
make[4]: Leaving directory `/tmp/netxms-1.2.9/src/agent/core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/netxms-1.2.9/src/agent'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/netxms-1.2.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/netxms-1.2.9'
make: *** [all] Error 2

BTW, i've update g++ to latest version. Thanks!