Please apply the patch from git: http://git.openvz.org/?p=vzquota;a=commitdiff_plain;h=fe25e9430428c03ba491f1a31f5b23bc5dc352f6
Dwight Schauer wrote:
I getting vzquota-3.0.12 from: http://download.openvz.org/utils/vzquota/current/src/ http://download.openvz.org/utils/vzquota/3.0.12/src/vzquota-3.0.12.tar.bz2 When I do a make I get the following error: ---< start error >-- ... cc -c -pipe -I../include -g -Wall -Werror -Wformat -D_FILE_OFFSET_BITS=64 -D_LINUX_QUOTA_VERSION=6 -D_LARGEFILE64_SOURCE -DVARDIR=\"/var\" vzdqload.c -o vzdqload.o vzdqload.c:23:1: error: "__USE_ISOC99" redefined In file included from /usr/include/sys/file.h:22, from vzdqload.c:19: /usr/include/features.h:234:1: error: this is the location of the previous definition make[1]: *** [vzdqload.o] Error 1 make[1]: Leaving directory `/home/dwight/abs/das4/vzquota-das/foo/vzquota-3.0.12/src' make: *** [all] Error 2 ---< end error >-- This use to not happen, I set up a new machine and it likely got some updates that affected this. I resolved this issue for my own packaging by undef'ing __USE_ISOC99 if it is already defined. ---< start patch >-- --- vzdqload.c.0 2009-05-31 10:40:45.974550973 -0500 +++ vzdqload.c 2009-05-31 10:38:46.270264836 -0500 @@ -20,7 +20,9 @@ #include <sys/types.h> /* to include vsscanf() */ +#ifndef __USE_ISOC99 #define __USE_ISOC99 +#endif #include <stdio.h> #include <stdlib.h> ---< end patch >-- _______________________________________________ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users