[virt-tools-list] nagios-virt-0.2.0 - can't compile in redhat6

Ikram Adli ikram_adli at yahoo.fr
Wed Nov 5 20:35:52 UTC 2014


thank you it works



Le Jeudi 23 octobre 2014 9h54, Richard W.M. Jones <rjones at redhat.com> a écrit :
 


On Sun, Oct 12, 2014 at 09:56:35AM +0100, Ikram Adli wrote:
> Hi Richard, Thanks for your work. I've been looking at using your nagios-virt and can't seem to get it to compile.   When running make I get this : # make
> gcc -g -O2 -Wall -Werror -I/usr/include/libxml2 -DNV_DATADIR=\"/usr/local/share/nagios-virt-0.2.0\"   -c -o nagios-virt.o nagios-virt.c
> 
> cc1: warnings being treated as errors
> nagios-virt.c: In function âcmd_installâ:
> nagios-virt.c:340: erreur: implicit declaration of function âchmodâ
> make: *** [nagios-virt.o] Erreur 1 

Probably a missing #include <sys/stat.h>

However you're on your own with this one.  I'm not able to spend any
time on nagios virt.


Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20141105/18a1423c/attachment.htm>


More information about the virt-tools-list mailing list