PDA

View Full Version : make install fails for 1.9.3 on hp-ux 11.31 PA.


pickelt
30-03-2011, 22:34
Configuration:

Detected OS: hpux11.31
Install path: /usr/local
Compilation arch: hpux

Compiler: gcc
Compiler flags: -g -O2 -I/opt/iexpress/mysql/include/mysql -fomit-frame-pointer -fpic -DHPUX11 -DSNPRINTF_RETURN_TRUNC -DHAVE_BROKEN_PREAD -DHAVE_BROKEN_GETPASS -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -DUNIV_HPUX -DUNIV_HPUX -I/opt/openssl/include -I. -I/opt/iexpress/net-snmp/include

Enable server: yes
Server details:
With database: MySQL
WEB Monitoring via: cURL
Native Jabber: no
SNMP: net-snmp
IPMI: no
SSH: no
Linker flags: -L/opt/iexpress/mysql/lib/mysql -L/opt/openssl/lib/ -L/opt/iexpress/curl/lib -lcurl -lxnet -L/opt/openssl/lib -L/opt/iexpress/net-snmp/lib -lnetsnmp -lelf -lnm -lipv6 -lcrypto -L/opt/openssl/lib -L/opt/iexpress/net-snmp/lib -lnetsnmp -lelf -lnm -lipv6 -lcrypto
Libraries: -lm -liconv -lmysqlclient -lcurl -lnetsnmp

Enable proxy: no

Enable agent: no

Enable Java proxy: no

LDAP support: no
IPv6 support: yes

************************************************** *********
* Now run 'make install' *
* *
* Thank you for using Zabbix! *
* <http://www.zabbix.com> *
************************************************** *********



./configure --enable-server --with-mysql --enable-ipv6 --with-libcurl --with-net-snmp

/usr/include/arpa/nameser_compat.h:134:1: warning: this is the location of the previous definition
net.c: In function 'NET_IF_DISCOVERY':
net.c:34: warning: assignment makes pointer from integer without a cast
net.c:34: error: invalid use of undefined type 'struct if_nameindex'
net.c:34: error: dereferencing pointer to incomplete type
net.c:37: error: invalid use of undefined type 'struct if_nameindex'
net.c:37: error: dereferencing pointer to incomplete type
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Server is rp4440 PARISC running HP-UX 11.31.

richlv
01-04-2011, 21:01
please try with trunk svn head. if the problem is still there, please, report on the tracker - thanks

pickelt
01-04-2011, 21:40
richlv, thank you for the reply, however I'm not sure what that means?

do I put trunk svn head in the net.c file or as cmd-lin eoptions to configure?

richlv
19-04-2011, 22:36
mm, no, you grab full svn trunk :)
http://www.zabbix.com/wiki/contrib/getting_source