Hello,
This is my first post on this forum, I hope im posting it in the right spot. I am trying to compile Zabbix for Solaris 10.
This is the error I am getting...
I am running Solaris 10 (sparc) and Sun Studio 11 cc
Any help would be appreciated.
Thanks,
Chris Edwards
This is my first post on this forum, I hope im posting it in the right spot. I am trying to compile Zabbix for Solaris 10.
This is the error I am getting...
Code:
./configure --enable-server --with-mysql=/opt/mysql/mysql --with-net-snmp
...
# make all
cd ./base && make
cd ./cgi && make
cd ./html && make
cd ./module && make
cc -g -Iyes -DHAVE_CONFIG_H -o helloworld.o helloworld.c -Lyes -G -lrt
"/usr/include/dlfcn.h", line 130: warning: macro redefined: RTLD_NOW
"/usr/include/dlfcn.h", line 133: warning: macro redefined: RTLD_GLOBAL
"helloworld.c", line 39: warning: syntax error: empty declaration
"helloworld.c", line 68: warning: argument #8 is incompatible with prototype:
prototype: pointer to void : "../include/nagios.h", line 518
argument : pointer to function(pointer to char) returning void
ld: fatal: file helloworld.o: unknown file type
ld: fatal: File processing errors. No output written to helloworld.o
*** Error code 1
make: Fatal error: Command failed for target `helloworld.o'
Current working directory /www/network.buythetruck.local/nagios-2.2/module
*** Error code 1
make: Fatal error: Command failed for target `all'
Any help would be appreciated.
Thanks,
Chris Edwards
Heh...
Comment