[virt-tools-list] nagios-virt-0.2.0 - can't compile
Alex W Harvey
Alex.W.Harvey at optus.com.au
Fri Jun 28 08:16:21 UTC 2013
> It certainly looks to me like a missing header file.
>
> Anyway, nagios-virt needs a maintainer if anyone is interested.
Well here's what I've confirmed -
# `gcc -print-prog-name=cc1` -v
ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include-fixed"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../x86_64-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include
/usr/include
End of search list.
^C
# view config.h
...
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
# ls -l /usr/include/sys/stat.h
-rw-r--r--. 1 root root 16815 Nov 21 2012 /usr/include/sys/stat.h
# ls -l /usr/include/sys/types.h
-rw-r--r--. 1 root root 6838 Nov 21 2012 /usr/include/sys/types.h
# grep chmod /usr/include/sys/stat.h
extern int chmod (__const char *__file, __mode_t __mode)
extern int lchmod (__const char *__file, __mode_t __mode)
extern int fchmod (int __fd, __mode_t __mode) __THROW;
extern int fchmodat (int __fd, __const char *__file, __mode_t __mode,
More information about the virt-tools-list
mailing list