-
Problem report
-
Resolution: Fixed
-
Critical
-
5.4.10, 6.0.0rc1
-
None
-
Sprint 85 (Feb 2022)
-
0.5
Hi!
According to this topic on forum (Russian language), there is a problem with compiling a new versions of Zabbix server on the FreeBSD 13 platform using a standard cc compiler. Author of this topic tells that the previous releases (at least, 5.4.9 and 5.4.8) had no this problem. Maybe, ZBXNEXT-7101 (implemented just in version 5.4.10) could affect?
Steps to reproduce:
- Download a sources onto FreeBSD system;
- Use the following command:
./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-ssh2 --with-openipmi --with-libxml2 --with-openssl --with-iconv
(it completes successfully)
- Try to build server using make command.
Result:
The following error:
rc/libs/zbxvault/libzbxvault.a ../../src/libs/zbxavailability/libzbxavailability.a ipmi/libipmi.a -lmariadb -lnetsnmp -lssh2 -lOpenIPMI -lOpenIPMIposix -lz -lpthread -levent -lssl -lcrypto -lcurl -lkvm -lm -lexecinfo -ldevstat -lxml2 -lpcre -liconv ld: error: undefined symbol: duk_repl_isnan >>> referenced by zabbix.c:144 >>> zabbix.o: (es_zabbix_sleep) in archive ../../src/libs/zbxembed/libzbxembed.a cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1
The similar error with the version 6.0.0rc1:
e.a ipmi/libipmi.a -lmariadb -lnetsnmp -lssh2 -lOpenIPMI -lOpenIPMIposix -lz -lpthread -levent -lssl -lcrypto -lcurl -lkvm -lm -lexecinfo -ldevstat -lxml2 -lpcre -liconv ld: error: undefined symbol: duk_repl_isnan >>> referenced by zabbix.c:138 >>> zabbix.o: (es_zabbix_sleep) in archive ../../src/libs/zbxembed/libzbxembed.a cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1
At the same time, the version 5.4.9 on the same system could be built successfully.
Expected:
No compilation errors.
- caused by
-
ZBXNEXT-7101 Implement "sleep" function into zabbix JS engine
- Closed