Hi,
I am just trying to compile a Zabbix Server in a Solaris 10 Container and it fails during compile time. Any advise?
# uname -a
SunOS zabbixzone 5.10 Generic_118833-03 sun4v sparc SUNW,Sun-Fire T200
Configuration Parameters:
./configure --enable-server --with-pgsql=/zabbix/postgres/bin/pg_config --with-net-snmp=/usr/local/bin/net-snmp-config --with-libcurl --enable-agent --prefix=/zabbix
Configure Summary:
-----------------------
Detected OS: solaris2.10
Install path: /zabbix
Compilation arch: solaris
Compiler: gcc
Compiler flags: -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE64 -I/zabbix/include -I/usr/include -I/zabbix/postgres/include -I/zabbix/include -I/usr/local/rrdtool-1.2.19/include -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/local/include/ncurses -I/usr/local/BerkeleyDB.4.2/include -I/usr/openwin/include -I/usr/local/rrdtool-1.2.19/include -I. -I/usr/local/include
Enable server: yes
With database: PostgreSQL
WEB Monitoring via: cURL
Native Jabber: no
SNMP: net-snmp
IPv6: no
Linker flags: -L/zabbix/postgres/lib -lpq -L/zabbix/lib -L/usr/sfw/lib -L/usr/local/ssl/lib -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/X11R6/lib -L/usr/local/lib
Libraries: -lkvm -lm -lresolv -lnsl -lkstat -lsocket -lcurl -lnetsnmp
Enable agent: yes
Linker flags:
Libraries: -lkvm -lm -lresolv -lnsl -lkstat -lsocket
LDAP support: no
Getting the following error during compile time:
proc.c: In function `PROC_MEMORY':
proc.c:51: error: `psinfo_t' undeclared (first use in this function)
proc.c:51: error: (Each undeclared identifier is reported only once
proc.c:51: error: for each function it appears in.)
proc.c:51: error: syntax error before "psinfo"
proc.c:149: error: `psinfo' undeclared (first use in this function)
proc.c: In function `PROC_NUM':
proc.c:271: error: `psinfo_t' undeclared (first use in this function)
proc.c:271: error: syntax error before "psinfo"
proc.c:369: error: `psinfo' undeclared (first use in this function)
gmake[4]: *** [libspecsysinfo_a-proc.o] Error 1
gmake[4]: Leaving directory `/var/tmp/zabbix-1.4.5/src/libs/zbxsysinfo/solaris'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/var/tmp/zabbix-1.4.5/src/libs/zbxsysinfo'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/tmp/zabbix-1.4.5/src/libs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/zabbix-1.4.5/src'
gmake: *** [all-recursive] Error 1
I am just trying to compile a Zabbix Server in a Solaris 10 Container and it fails during compile time. Any advise?
# uname -a
SunOS zabbixzone 5.10 Generic_118833-03 sun4v sparc SUNW,Sun-Fire T200
Configuration Parameters:
./configure --enable-server --with-pgsql=/zabbix/postgres/bin/pg_config --with-net-snmp=/usr/local/bin/net-snmp-config --with-libcurl --enable-agent --prefix=/zabbix
Configure Summary:
-----------------------
Detected OS: solaris2.10
Install path: /zabbix
Compilation arch: solaris
Compiler: gcc
Compiler flags: -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE64 -I/zabbix/include -I/usr/include -I/zabbix/postgres/include -I/zabbix/include -I/usr/local/rrdtool-1.2.19/include -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/local/include/ncurses -I/usr/local/BerkeleyDB.4.2/include -I/usr/openwin/include -I/usr/local/rrdtool-1.2.19/include -I. -I/usr/local/include
Enable server: yes
With database: PostgreSQL
WEB Monitoring via: cURL
Native Jabber: no
SNMP: net-snmp
IPv6: no
Linker flags: -L/zabbix/postgres/lib -lpq -L/zabbix/lib -L/usr/sfw/lib -L/usr/local/ssl/lib -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/X11R6/lib -L/usr/local/lib
Libraries: -lkvm -lm -lresolv -lnsl -lkstat -lsocket -lcurl -lnetsnmp
Enable agent: yes
Linker flags:
Libraries: -lkvm -lm -lresolv -lnsl -lkstat -lsocket
LDAP support: no
Getting the following error during compile time:
proc.c: In function `PROC_MEMORY':
proc.c:51: error: `psinfo_t' undeclared (first use in this function)
proc.c:51: error: (Each undeclared identifier is reported only once
proc.c:51: error: for each function it appears in.)
proc.c:51: error: syntax error before "psinfo"
proc.c:149: error: `psinfo' undeclared (first use in this function)
proc.c: In function `PROC_NUM':
proc.c:271: error: `psinfo_t' undeclared (first use in this function)
proc.c:271: error: syntax error before "psinfo"
proc.c:369: error: `psinfo' undeclared (first use in this function)
gmake[4]: *** [libspecsysinfo_a-proc.o] Error 1
gmake[4]: Leaving directory `/var/tmp/zabbix-1.4.5/src/libs/zbxsysinfo/solaris'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/var/tmp/zabbix-1.4.5/src/libs/zbxsysinfo'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/tmp/zabbix-1.4.5/src/libs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/zabbix-1.4.5/src'
gmake: *** [all-recursive] Error 1
Comment