Compiling Nagios 2.0b2 NEB module

Matthew Kent mkent at magoazul.com
Fri Feb 25 16:27:57 CET 2005


This isn't the list for this question, please keep keep it to
nagios-db-devel at lists.sourceforge.net

The problem is that Solaris doesn't have asprintf from what I understand
(my initial quick hack of a module and testing have been limited to
Linux only). I'll work on something temporary this weekend but do plan
on cleaning it up a lot in the future.

- Matt

On Thu, 2005-24-02 at 09:25 -0700, Winkles, William (Bill) wrote:
> Can anyone shed some light on getting the NEB module working?
> 
>  
> 
> When I run make, I keep getting:
> 
>  
> 
> gcc -g -O2 -Wall -o inserter.o inserter.c -shared
> -I/export/home/billy/nagios-2.
> 
> 0b2/include -I/usr/local/mysql/include -lmysqlclient -fPIC
> 
> inserter.c: In function `loadconfig':
> 
> inserter.c:182: warning: implicit declaration of function `asprintf'
> 
> Text relocation remains                         referenced
> 
>     against symbol                  offset      in file
> 
> <unknown>
> 0x1f8       /usr/local/lib/gcc/sparc-sun-sol
> 
> aris2.9/3.4.1/../../../libmysqlclient.a(libmysql.o)
> 
> <unknown>
> 0x1fc       /usr/local/lib/gcc/sparc-sun-sol
> 
> aris2.9/3.4.1/../../../libmysqlclient.a(libmysql.o)
> 
> <unknown>
> 0x200       /usr/local/lib/gcc/sparc-sun-sol
> 
> aris2.9/3.4.1/../../../libmysqlclient.a(libmysql.o)
> 
>  
> 
> And it just keeps scrolling…………
> 
>  
> 
> I’m trying to compile this on Solaris 9
> 
>  
> 
> Any ideas?
> 
>  
> 
>  
> 
> Thanks.
> 
>  
> 
> Bill
> 
> 
-- 
Matthew Kent <mkent at magoazul.com>
http://magoazul.com



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click




More information about the Developers mailing list