[ZBX-16333] Zabbix agent doesnt compile on Solaris 8 Created: 2019 Jul 03  Updated: 2024 Apr 10  Resolved: 2019 Jul 25

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 4.0.10
Fix Version/s: None

Type: Patch request Priority: Minor
Reporter: Edgars Melveris Assignee: Zabbix Development Team
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Solaris 8
psrinfo -pvThe UltraSPARC-IIIi physical processor has 1 virtual processor (0)The UltraSPARC-IIIi physical processor has 1 virtual processor (1)


Attachments: File config.h     Text File log.txt    
Issue Links:
Duplicate
Team: Team A
Sprint: Sprint 54 (Jul 2019)

 Description   

Trying to build Zabbix agent with these commands:

CTNSS012# ./configure --enable-agent --enable-ipv6 --prefix=/
--sysconfdir=/etc/zabbix -with-openssl=/tmp/zabbix_agent/env
-with-libpcre=/tmp/zabbix_agent/env 

make ends with this:

cc -DHAVE_CONFIG_H -I. -I../../../../include   
-I../../../../src/zabbix_agent/ -m64 -g -O2 -I/tmp/zabbix_agent/env/include -MT
libcommonsysinfo_a-net.o -MD -MP -MF .deps/libcommonsysinfo_a-net.Tpo -c -o
libcommonsysinfo_a-net.o `test -f 'net.c' || echo './'`net.c

net.c: In function `dns_query':

net.c:613: error: `saved_ns' undeclared (first use in this
function)

net.c:613: error: (Each undeclared identifier is reported only
once

net.c:613: error: for each function it appears in.)

net.c:614: error: `saved_nscount' undeclared (first use in this
function)

net.c:658: error: `saved_options' undeclared (first use in this
function)

net.c:659: error: `saved_retrans' undeclared (first use in this
function)

net.c:660: error: `saved_retry' undeclared (first use in this
function)

*** Error code 1

make: Fatal error: Command failed for target
`libcommonsysinfo_a-net.o'

Current working directory
/tmp/zabbix-4.0.10/src/libs/zbxsysinfo/common

*** Error code 1

make: Fatal error: Command failed for target `install-recursive'

Current working directory /tmp/zabbix-4.0.10/src/libs/zbxsysinfo

*** Error code 1

make: Fatal error: Command failed for target `install-recursive'

Current working directory /tmp/zabbix-4.0.10/src/libs

*** Error code 1

make: Fatal error: Command failed for target `install-recursive'

Current working directory /tmp/zabbix-4.0.10/src

*** Error code 1

make: Fatal error: Command failed for target `install-recursive'

Full log and config.h in attachment



 Comments   
Comment by Vladislavs Sokurenko [ 2019 Jul 25 ]

Closing issue as Won't Fix due to workaround of using older agent and end of service life for solaris since march 31, 2012, please reopen if there is need to compile newer agent.

Generated at Fri Jul 04 07:21:48 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.