Compiling errors Nagios 2.0 RC2 on Solaris 10 (SPARC)/Sun Studio 11

Alex Moore asmoore at edge.net
Mon Jan 23 12:50:19 CET 2006


On Mon, 23 Jan 2006 09:20:34 +0100
"Mika Borner" <Mika.Borner at clariden.com> wrote:

> /opt/SUNWspro/bin/cc -g -I/opt/csw/include -DHAVE_CONFIG_H -o
> helloworld.o helloworld.c -L/opt/csw/lib -G -lrt
> "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

I posted about this same thing a few weeks ago and received no relevant
responses.  So I changed all occurrences of helloworld.o to helloworld
in that Makefile.  Solaris does not recognize the '.o' extension for
shared objects.

Alex


-- 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list