Hi,
Today i want to compile zabbit using hpux.
ia64 hp server rx7620
I had gcc, libgcc
during configure. it show as below
....
checking sys/sysinfo.h presence... yes
configure: WARNING: sys/sysinfo.h: present but cannot be compiled
configure: WARNING: sys/sysinfo.h: check for missing prerequisite headers?
configure: WARNING: sys/sysinfo.h: see the Autoconf documentation
configure: WARNING: sys/sysinfo.h: section "Present But Cannot Be Compiled"
configure: WARNING: sys/sysinfo.h: proceeding with the preprocessor's result
configure: WARNING: sys/sysinfo.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
....
checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: see the Autoconf documentation
configure: WARNING: net/if.h: section "Present But Cannot Be Compiled"
configure: WARNING: net/if.h: proceeding with the preprocessor's result
configure: WARNING: net/if.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for net/if.h... yes
while i do gmake.
I produce as below.
...
Making all in src
gmake[1]: Entering directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src'
Making all in libs
gmake[2]: Entering directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src/libs'
Making all in zbxcommon
gmake[3]: Entering directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src/libs/zbxcommon'
gmake[4]: Entering directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src/libs/zbxcommon'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I/usr/local/lib/gcc/ia64-hp-hpux11.23/4.1.1/include -g -O2 -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c; \
then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi
In file included from ../../../include/sysinc.h:181,
from ../../../include/common.h:23,
from misc.c:1:
/usr/include/sys/sysinfo.h:187: error: array type has incomplete element type
In file included from /usr/include/sys/mp.h:53,
from /usr/include/sys/malloc.h:59,
from /usr/include/net/netmp.h:51,
from /usr/include/net/if.h:59,
from ../../../include/sysinc.h:205,
from ../../../include/common.h:23,
from misc.c:1:
/usr/include/machine/sys/getppdp.h:65: error: array type has incomplete element type
gmake[4]: *** [misc.o] Error 1
gmake[4]: Leaving directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src/libs/zbxcommon'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src/libs/zbxcommon'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src/libs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src'
gmake: *** [all-recursive] Error 1
..
Please advise on how to complete compile zabbit on this platform.
regards
Norhafiz
Today i want to compile zabbit using hpux.
ia64 hp server rx7620
I had gcc, libgcc
during configure. it show as below
....
checking sys/sysinfo.h presence... yes
configure: WARNING: sys/sysinfo.h: present but cannot be compiled
configure: WARNING: sys/sysinfo.h: check for missing prerequisite headers?
configure: WARNING: sys/sysinfo.h: see the Autoconf documentation
configure: WARNING: sys/sysinfo.h: section "Present But Cannot Be Compiled"
configure: WARNING: sys/sysinfo.h: proceeding with the preprocessor's result
configure: WARNING: sys/sysinfo.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
....
checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: see the Autoconf documentation
configure: WARNING: net/if.h: section "Present But Cannot Be Compiled"
configure: WARNING: net/if.h: proceeding with the preprocessor's result
configure: WARNING: net/if.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for net/if.h... yes
while i do gmake.
I produce as below.
...
Making all in src
gmake[1]: Entering directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src'
Making all in libs
gmake[2]: Entering directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src/libs'
Making all in zbxcommon
gmake[3]: Entering directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src/libs/zbxcommon'
gmake[4]: Entering directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src/libs/zbxcommon'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I/usr/local/lib/gcc/ia64-hp-hpux11.23/4.1.1/include -g -O2 -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c; \
then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi
In file included from ../../../include/sysinc.h:181,
from ../../../include/common.h:23,
from misc.c:1:
/usr/include/sys/sysinfo.h:187: error: array type has incomplete element type
In file included from /usr/include/sys/mp.h:53,
from /usr/include/sys/malloc.h:59,
from /usr/include/net/netmp.h:51,
from /usr/include/net/if.h:59,
from ../../../include/sysinc.h:205,
from ../../../include/common.h:23,
from misc.c:1:
/usr/include/machine/sys/getppdp.h:65: error: array type has incomplete element type
gmake[4]: *** [misc.o] Error 1
gmake[4]: Leaving directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src/libs/zbxcommon'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src/libs/zbxcommon'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src/libs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/amx804/AMXWCRS/HAFIZ/zabbix-1.1/src'
gmake: *** [all-recursive] Error 1
..
Please advise on how to complete compile zabbit on this platform.
regards
Norhafiz