1 Jun 2009 11:36
Re: I get the following error when trying to build vzquota-3.0.12: vzdqload.c:23:1: error: "__USE_ISOC99" redefined
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(Continue reading)
RSS Feed