Установка 1.2.28

Started by Alex, August 02, 2013, 11:53:00 AM

Previous topic - Next topic

Alex

Приветствую.
При компиляции получаю ошибку:

make[4]: Leaving directory `/home/INSTALL/netxms-1.2.8/src/server/core'
Making all in netxmsd
make[4]: Entering directory `/home/INSTALL/netxms-1.2.8/src/server/netxmsd'
  CXX    netxmsd-netxmsd.o
  CXXLD  netxmsd
../core/.libs/libnxcore.so: undefined reference to `__sync_add_and_fetch_4'
../core/.libs/libnxcore.so: undefined reference to `__sync_sub_and_fetch_4'
collect2: ld returned 1 exit status
make[4]: *** [netxmsd] Error 1
make[4]: Leaving directory `/home/INSTALL/netxms-1.2.8/src/server/netxmsd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/INSTALL/netxms-1.2.8/src/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/INSTALL/netxms-1.2.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/INSTALL/netxms-1.2.8'
make: *** [all] Error 2


Ключ для сборки:
./configure --with-server --with-mysql --with-agent --disable-lmsensors --with-internal-libtre

ОС: CentOS release 5.8 (Final)

Alex Kirhenshtein

Система - 32бита?

Попробуйте собрать так:
CPPFLAGS="-march=pentium" ./configure --with-server --with-mysql --with-agent --disable-lmsensors --with-internal-libtre
make -j2 clean all