Does anyone have some pre-compiled agents for solaris 9 sun4u that they could post?
I started out using the pre-compiled 1.0 agents which worked fine but wanted to upgrade with the following results.
Making all in src/zabbix_agent
gmake[1]: Entering directory `/export/home/source/zabbix-1.1alpha4/src/zabbix_agent'
gcc -o ../../bin/zabbix_agent -static -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
sysinfo.c: In function `UPTIME':
sysinfo.c:2006: error: `reutrn' undeclared (first use in this function)
sysinfo.c:2006: error: (Each undeclared identifier is reported only once
sysinfo.c:2006: error: for each function it appears in.)
sysinfo.c:2006: error: parse error before numeric constant
../../include/snprintf.c: In function `vasprintf':
../../include/snprintf.c:815: warning: implicit declaration of function `vsnprintf'
../../include/snprintf.c: At top level:
../../include/snprintf.c:161: warning: 'dopr' defined but not used
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/export/home/source/zabbix-1.1alpha4/src/zabbix_agent'
gmake: *** [all] Error 1
I assume that reutrn was supposed to be return but then get
Making all in src/zabbix_agent
gmake[1]: Entering directory `/export/home/source/zabbix-1.1alpha4/src/zabbix_agent'
gcc -o ../../bin/zabbix_agent -static -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
sysinfo.c: In function `process':
sysinfo.c:320: warning: 'function_str' might be used uninitialized in this function
../../include/snprintf.c: In function `vasprintf':
../../include/snprintf.c:815: warning: implicit declaration of function `vsnprintf'
../../include/snprintf.c: At top level:
../../include/snprintf.c:161: warning: 'dopr' defined but not used
Undefined first referenced
symbol in file
socket /var/tmp//cchmsbas.o
getpeername /var/tmp//ccf6SdQZ.o
recv /var/tmp//cchmsbas.o
kstat_close /var/tmp//cchmsbas.o
gethostbyname /var/tmp//cchmsbas.o
send /var/tmp//cchmsbas.o
inet_ntoa /var/tmp//ccf6SdQZ.o
kstat_lookup /var/tmp//cchmsbas.o
kstat_read /var/tmp//cchmsbas.o
kstat_open /var/tmp//cchmsbas.o
kstat_data_lookup /var/tmp//cchmsbas.o
connect /var/tmp//cchmsbas.o
ld: fatal: Symbol referencing errors. No output written to ../../bin/zabbix_agent
collect2: ld returned 1 exit status
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/export/home/source/zabbix-1.1alpha4/src/zabbix_agent'
gmake: *** [all] Error 1
Any ideas or suggestions welcome.
Now I have started it just iritating.
Thanks
I started out using the pre-compiled 1.0 agents which worked fine but wanted to upgrade with the following results.
Making all in src/zabbix_agent
gmake[1]: Entering directory `/export/home/source/zabbix-1.1alpha4/src/zabbix_agent'
gcc -o ../../bin/zabbix_agent -static -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
sysinfo.c: In function `UPTIME':
sysinfo.c:2006: error: `reutrn' undeclared (first use in this function)
sysinfo.c:2006: error: (Each undeclared identifier is reported only once
sysinfo.c:2006: error: for each function it appears in.)
sysinfo.c:2006: error: parse error before numeric constant
../../include/snprintf.c: In function `vasprintf':
../../include/snprintf.c:815: warning: implicit declaration of function `vsnprintf'
../../include/snprintf.c: At top level:
../../include/snprintf.c:161: warning: 'dopr' defined but not used
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/export/home/source/zabbix-1.1alpha4/src/zabbix_agent'
gmake: *** [all] Error 1
I assume that reutrn was supposed to be return but then get
Making all in src/zabbix_agent
gmake[1]: Entering directory `/export/home/source/zabbix-1.1alpha4/src/zabbix_agent'
gcc -o ../../bin/zabbix_agent -static -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
sysinfo.c: In function `process':
sysinfo.c:320: warning: 'function_str' might be used uninitialized in this function
../../include/snprintf.c: In function `vasprintf':
../../include/snprintf.c:815: warning: implicit declaration of function `vsnprintf'
../../include/snprintf.c: At top level:
../../include/snprintf.c:161: warning: 'dopr' defined but not used
Undefined first referenced
symbol in file
socket /var/tmp//cchmsbas.o
getpeername /var/tmp//ccf6SdQZ.o
recv /var/tmp//cchmsbas.o
kstat_close /var/tmp//cchmsbas.o
gethostbyname /var/tmp//cchmsbas.o
send /var/tmp//cchmsbas.o
inet_ntoa /var/tmp//ccf6SdQZ.o
kstat_lookup /var/tmp//cchmsbas.o
kstat_read /var/tmp//cchmsbas.o
kstat_open /var/tmp//cchmsbas.o
kstat_data_lookup /var/tmp//cchmsbas.o
connect /var/tmp//cchmsbas.o
ld: fatal: Symbol referencing errors. No output written to ../../bin/zabbix_agent
collect2: ld returned 1 exit status
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/export/home/source/zabbix-1.1alpha4/src/zabbix_agent'
gmake: *** [all] Error 1
Any ideas or suggestions welcome.
Now I have started it just iritating.
Thanks
Comment