xfs
[Top] [All Lists]

Re: acl build failure on x86_64

To: Jon <jgrosshart@xxxxxxxxx>
Subject: Re: acl build failure on x86_64
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Wed, 20 Jan 2010 14:54:51 +1100 (EST)
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4B5578E0.5000201@xxxxxxxxx>
----- "Jon" <jgrosshart@xxxxxxxxx> wrote:

> Brandon and anyone else who might be able to shed some light on this 
> issue... I'm stumped.
> 
> > /usr/bin/make -C chacl
> > make[2]: Entering directory `/tmp/acl-2.2.49/chacl'
> > gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing -Wall 
> > -DVERSION=\"2.2.49\" -DLOCALEDIR=\"/usr/share/locale\" 
> > -DPACKAGE=\"acl\" -I../include     -c -o chacl.o chacl.c
> > chacl.c: In function 'walk_dir':
> > chacl.c:335: warning: implicit declaration of function 'readdir64'

Your compile line is missing "-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64"
I think - see include/builddefs.in which shows how this is meant to
be pulled into your cc line for a Linux build.

cheers.

-- 
Nathan

<Prev in Thread] Current Thread [Next in Thread>