[Lustre-discuss] Troubles compile lustre with --enable-quota

2 views
Skip to first unread message

Patrick Winnertz

unread,
Sep 21, 2007, 9:52:16 AM9/21/07
to Lustre-discuss
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

_______________________________________________
Lustre-discuss mailing list
Lustre-...@clusterfs.com
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

Johann Lombardi

unread,
Sep 21, 2007, 10:00:52 AM9/21/07
to Patrick Winnertz, Lustre-discuss
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 this

Is CONFIG_QUOTA enabled in your kernel config file?

Johann

Reply all
Reply to author
Forward
0 new messages