[ZBX-5614] Zabbix agent compiling problem under OpenBSD Created: 2012 Sep 25  Updated: 2017 May 30  Resolved: 2012 Oct 12

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 2.0.0, 2.0.1, 2.0.2
Fix Version/s: 2.0.4rc1, 2.1.0

Type: Incident report Priority: Critical
Reporter: Hüvely Balázs Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: compile, openbsd
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OpenBSD 5.1 amd64



 Description   

./configure --enable-agent ran successful, and make install produce the following error:

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_MEM':
proc.c:227: error: 'struct kinfo_proc' has no member named 'kp_proc'
proc.c:232: error: 'struct kinfo_proc' has no member named 'kp_proc'
proc.c:244: error: 'struct kinfo_proc' has no member named 'kp_eproc'
proc.c:245: error: 'struct kinfo_proc' has no member named 'kp_eproc'
proc.c:246: error: 'struct kinfo_proc' has no member named 'kp_eproc'
proc.c: In function 'PROC_NUM':
proc.c:395: error: 'struct kinfo_proc' has no member named 'kp_proc'
proc.c:399: error: 'struct kinfo_proc' has no member named 'kp_proc'
proc.c:399: error: 'struct kinfo_proc' has no member named 'kp_proc'
proc.c:400: error: 'struct kinfo_proc' has no member named 'kp_proc'
proc.c:401: error: 'struct kinfo_proc' has no member named 'kp_proc'
proc.c:401: error: 'struct kinfo_proc' has no member named 'kp_proc'
proc.c:405: error: 'struct kinfo_proc' has no member named 'kp_proc'

      • Error code 1

Stop in /root/zabbix-2.0.2/src/libs/zbxsysinfo/openbsd (line 458 of Makefile).

      • Error code 1

Stop in /root/zabbix-2.0.2/src/libs/zbxsysinfo (line 490 of Makefile).

      • Error code 1

Stop in /root/zabbix-2.0.2/src/libs (line 387 of Makefile).

      • Error code 1

Stop in /root/zabbix-2.0.2/src (line 369 of Makefile).

      • Error code 1

Stop in /root/zabbix-2.0.2 (line 383 of Makefile).



 Comments   
Comment by Andris Mednis [ 2012 Oct 03 ]

Error reproduced.

Comment by Andris Mednis [ 2012 Oct 12 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5614

Comment by Alexander Vladishev [ 2012 Oct 12 ]

Successfully tested!

Comment by Andris Mednis [ 2012 Oct 15 ]

Fixed in versions pre-2.0.4 rev. 30819 and pre-2.1.0 rev. 30821.

Generated at Sat Apr 27 02:25:53 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.