[ZBX-7329] zabbix-2.2.0rc2 make error on FreeBSD 9.2 Created: 2013 Nov 11  Updated: 2017 May 30  Resolved: 2013 Nov 14

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Installation (I), Proxy (P), Server (S)
Affects Version/s: 2.2.0rc2
Fix Version/s: 2.2.1rc1, 2.3.0

Type: Incident report Priority: Minor
Reporter: Sergiu Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: freebsd, installation, libxml2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

FreeBSD 9.2-RELEASE r255898: Thu Sep 26 22:50:31 UTC 2013 [email][email protected][/email]:/usr/obj/usr/src/sys/GENERIC amd64


Attachments: Text File zabbix2.2.-rc2.make.error.log     Text File zabbix2.2.0.rc2.configure.log    
Issue Links:
Duplicate
is duplicated by ZBX-7376 Installation failed with vmware monit... Closed
is duplicated by ZBX-7462 checks_simple_vmware.c: In function '... Closed

 Description   

Zabbix is configured with libxml2
./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2

  1. pkg_info | grep libxml2
    libxml2-2.8.0_2 XML parser library for GNOME

libxml2 port was builded with THREAD_ALLOC Per-thread memory (DEVELOPERS ONLY!) and without, same error.

Full log attached

/usr/include/sys/timeb.h:42:2: warning: #warning "this file includes <sys/timeb.h> which is deprecated"
mv -f .deps/libzbxpoller_a-checks_internal.Tpo .deps/libzbxpoller_a-checks_internal.Po
gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../src/libs/zbxsysinfo/simple -I../../../src/libs/zbxdbcache -g -O2 -I/usr/local/include/mysql -pipe -fno-strict-aliasing -g -DNDEBUG -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr/local/lib/perl5/5.16/mach/CORE -I/usr/include -I. -I/usr/local/include -I/usr/local/include -MT libzbxpoller_a-checks_simple.o -MD -MP -MF .deps/libzbxpoller_a-checks_simple.Tpo -c -o libzbxpoller_a-checks_simple.o `test -f 'checks_simple.c' || echo './'`checks_simple.c
In file included from ../../../include/sysinc.h:378,
from ../../../include/common.h:23,
from checks_simple_vmware.h:23,
from checks_simple.c:20:
/usr/include/sys/timeb.h:42:2: warning: #warning "this file includes <sys/timeb.h> which is deprecated"
mv -f .deps/libzbxpoller_a-checks_simple.Tpo .deps/libzbxpoller_a-checks_simple.Po
gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../src/libs/zbxsysinfo/simple -I../../../src/libs/zbxdbcache -g -O2 -I/usr/local/include/mysql -pipe -fno-strict-aliasing -g -DNDEBUG -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr/local/lib/perl5/5.16/mach/CORE -I/usr/include -I. -I/usr/local/include -I/usr/local/include -MT libzbxpoller_a-checks_simple_vmware.o -MD -MP -MF .deps/libzbxpoller_a-checks_simple_vmware.Tpo -c -o libzbxpoller_a-checks_simple_vmware.o `test -f 'checks_simple_vmware.c' || echo './'`checks_simple_vmware.c
In file included from ../../../include/sysinc.h:378,
from ../../../include/common.h:23,
from checks_simple_vmware.c:20:
/usr/include/sys/timeb.h:42:2: warning: #warning "this file includes <sys/timeb.h> which is deprecated"
checks_simple_vmware.c: In function 'vmware_get_events':
checks_simple_vmware.c:235: error: invalid operands to binary -

      • [libzbxpoller_a-checks_simple_vmware.o] Error code 1

Stop in /usr/home/sc/zabbix-2.2.0rc2/src/zabbix_server/poller.

      • [install-recursive] Error code 1

Stop in /usr/home/sc/zabbix-2.2.0rc2/src/zabbix_server.

      • [install-recursive] Error code 1

Stop in /usr/home/sc/zabbix-2.2.0rc2/src.

      • [install-recursive] Error code 1

Stop in /usr/home/sc/zabbix-2.2.0rc2.
Press any key to continue...



 Comments   
Comment by Andris Zeila [ 2013 Nov 12 ]

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

Comment by Sergiu [ 2013 Nov 12 ]

Compilation is successful with revision 40218. Thanx

Comment by Alexander Vladishev [ 2013 Nov 14 ]

(1) Will be better to use HAVE_TM_TM_GMTOFF definition. It is already used in our code.

wiper RESOLVED in r40290

sasha CLOSED

Comment by Andris Zeila [ 2013 Nov 15 ]

Released in:
pre-2.2.1rc1 r40304
pre-2.3.0 r40305

Generated at Sat Apr 27 06:04:41 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.