1.2.3 ошибки при компиляции
-
система ubuntu 12.04
./configure --prefix=/usr/local/netxms --with-server --with-pgsql --with-agent --with-nxhttpd --with-openssl --with-gd --with-snmp....
nxmibc.cpp:91:26: предупреждение: ignoring return value of «char* fgets(char*, int, FILE*)», declared with attribute warn_unused_result [-Wunused-result]
CXX parser.tab.o
CXXLD nxmibc
../../libnetxms/.libs/libnetxms.so: undefined reference to `tre_regwcomp'
../../libnetxms/.libs/libnetxms.so: undefined reference to `tre_regwexec' -
Попробуйте добавить --with-internal-libtre при конфигурации.
-
-
-
@mag said in 1.2.3 ошибки при компиляции:
SKYnv
а хз я строчку конфигурации с первых релизов не менял )
Victor Kirhenshtein
./configure --prefix=/usr/local/netxms --with-server --with-pgsql --with-agent --with-openssl --with-gd --with-internal-libtre
и без измененийясн, а почему unicode билд не попробуйте? или не принципиально? --enable-unicode
-
-
Повторить пока не удалось нигде. Сейчас скачаю Ubuntu 12.04, поставлю - думаю к вечеру поправлю.
-
ПОхоже по непонятным пока причинам линкер берет старые версии библиотек (те, которые уже проинсталлированы). Я пока не разобрался, почему так происходит, но для сборки достаточно удалить старые библиотеки.
-
-
Нет, я имел ввиду библиотеки самого NetXMS'а - libnetxms.so, libnxsrv.so, и т.д.
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