Did not have this issue under 1.1alpha7, but 1.1alpha10 (atleast) has got a couple HP-UX 11.0 issues for me. One is noted as problem in Solaris, also under:
(and is the reason for the "-lresolv" noted below)
The one that is kick'n my butt now, however, is something to do with snprintf:
Making all in src/zabbix_agent
make[1]: Entering directory `/usr/src/zabbix-1.1alpha10/src/zabbix_agent'
gcc -o ../../bin/zabbix_agent -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c ../../include/md5.c -Wall -lnsl -lresolv
../../include/security.c: In function `check_security':
../../include/security.c:54: warning: passing arg 3 of `getpeername' from incompatible pointer type
../../include/snprintf.c:802: conflicting types for `snprintf'
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/include/stdio.h:493: previous declaration of `snprintf'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/src/zabbix-1.1alpha10/src/zabbix_agent'
Again, did not have this issue under alpha7. Building with gcc and just realy want the zabbix_agent... Please help.
Note: I am not a developer. I am just an admin. I can barely spell "make" (just keep that in mind when responding).
Thank you.
(and is the reason for the "-lresolv" noted below)
The one that is kick'n my butt now, however, is something to do with snprintf:
Making all in src/zabbix_agent
make[1]: Entering directory `/usr/src/zabbix-1.1alpha10/src/zabbix_agent'
gcc -o ../../bin/zabbix_agent -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c ../../include/md5.c -Wall -lnsl -lresolv
../../include/security.c: In function `check_security':
../../include/security.c:54: warning: passing arg 3 of `getpeername' from incompatible pointer type
../../include/snprintf.c:802: conflicting types for `snprintf'
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/include/stdio.h:493: previous declaration of `snprintf'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/src/zabbix-1.1alpha10/src/zabbix_agent'
Again, did not have this issue under alpha7. Building with gcc and just realy want the zabbix_agent... Please help.
Note: I am not a developer. I am just an admin. I can barely spell "make" (just keep that in mind when responding).
Thank you.
Comment