[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] nagios-virt-0.2.0 - can't compile

On Thu, Jun 27, 2013 at 05:17:29PM +1000, Alex W Harvey wrote:
> Hi Richard,
> Thanks for your work in making free software.
> I've been looking at using your nagios-virt and can't seem to get it to compile.  Although not a C programmer, I feel it may be a bug.  And after googling all day and searching Red Hat's Bugzilla and can't figure out either a solution or a section in the bugzilla for this project so I've decided I'll write to you directly.
> Apologies if I've missed anything obvious.
> 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: error: implicit declaration of function 'chmod'
> make: *** [nagios-virt.o] Error 1
> I've bundled up the whole directory I was compiling it in in case you want to see config.log etc.
> I've checked that header files are chmod(2)'s header files are available and they are.

It certainly looks to me like a missing header file.

Anyway, nagios-virt needs a maintainer if anyone is interested.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]