[ZBX-2748] Compilation of zabbix_agent v1.8.2 on OpenBSD 4.7 AMD 64 bit platform does not work Created: 2010 Jul 23  Updated: 2017 May 30  Resolved: 2010 Jul 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 1.8.2, 1.8.3rc1
Fix Version/s: 1.8.3, 1.9.0 (alpha)

Type: Incident report Priority: Major
Reporter: Igor Danoshaites (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Compilation of zabbix_agent v1.8.2 on OpenBSD 4.7 AMD 64 bit platform does not work:

./configure --enable-agent
make

Making all in openbsd
gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../src/zabbix_agent/ -g -O2 -I/usr/local/include -MT libspecsysinfo_a-proc.o -MD -MP -MF .deps/libspecsysinfo_a-proc.Tpo -c -o libspecsysinfo_a-proc.o `test -f 'proc.c' || echo './'`proc.c
proc.c: In function `PROC_MEMORY':
proc.c:153: error: `KERN_PROC' undeclared (first use in this function)
proc.c:153: error: (Each undeclared identifier is reported only once
proc.c:153: error: for each function it appears in.)
proc.c: In function `PROC_NUM':
proc.c:284: error: `KERN_PROC' undeclared (first use in this function)

      • Error code 1

Stop in /home/gara/zabbix-1.8.2/src/libs/zbxsysinfo/openbsd (line 426 of Makefile).

      • Error code 1

Stop in /home/gara/zabbix-1.8.2/src/libs/zbxsysinfo (line 441 of Makefile).

      • Error code 1


 Comments   
Comment by Aleksandrs Saveljevs [ 2010 Jul 27 ]

Fixed in pre-1.8.3 in r13637.

Generated at Wed Apr 24 20:40:16 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.