Patrick Winnertz
2007-Sep-21  13:52 UTC
[Lustre-discuss] Troubles compile lustre with --enable-quota
Hey,
I''ve troubles when i want to compile lustre with --enable-quota:
Here my configure call:
./configure --disable-dependency-tracking \
                   --disable-modules \
                   --enable-snmp \
                   --enable-quota \
                   --disable-tests \
                   --disable-client \
                   --disable-server
when compiling it, it fails with:
make[3]: Entering directory 
`/home/winnie/svn/pkg-lustre/build-area/lustre-1.6.2/lustre/quota''
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -D__arch_lib__ -D_LARGEFILE64_SOURCE=1
-include ../../config.h -I../../lnet/include -I../../lnet/include
-I../../lustre/include -I../../lustre/include  -g -Wall -fPIC -g -O2 -c -o
libquota_a-quota_check.o `test -f ''quota_check.c'' || 
echo ''./''`quota_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -D__arch_lib__ -D_LARGEFILE64_SOURCE=1
-include ../../config.h -I../../lnet/include -I../../lnet/include
-I../../lustre/include -I../../lustre/include  -g -Wall -fPIC -g -O2 -c -o
libquota_a-quota_ctl.o `test -f ''quota_ctl.c'' || echo
''./''`quota_ctl.c
quota_ctl.c: In function ''lov_quota_ctl'':
quota_ctl.c:236: error: ''Q_QUOTAON'' undeclared (first use in
this function)
quota_ctl.c:236: error: (Each undeclared identifier is reported only once
quota_ctl.c:236: error: for each function it appears in.)
quota_ctl.c:236: error: ''Q_QUOTAOFF'' undeclared (first use in
this
function)
make[3]: *** [libquota_a-quota_ctl.o] Fehler 1
Do I anything wrong, and if yes, what? :) If not: Bug in lustre 1.6.2 ?
It would be nice if anybody could help to sort this out ;-)
Greetings
Patrick Winnertz
Johann Lombardi
2007-Sep-21  14:00 UTC
[Lustre-discuss] Troubles compile lustre with --enable-quota
On Fri, Sep 21, 2007 at 03:52:16PM +0200, Patrick Winnertz wrote:> quota_ctl.c:236: error: ''Q_QUOTAON'' undeclared (first use in this function) > quota_ctl.c:236: error: (Each undeclared identifier is reported only once > quota_ctl.c:236: error: for each function it appears in.) > quota_ctl.c:236: error: ''Q_QUOTAOFF'' undeclared (first use in thisIs CONFIG_QUOTA enabled in your kernel config file? Johann