acl build failure on x86_64
Nathan Scott
nscott at aconex.com
Tue Jan 19 21:54:51 CST 2010
----- "Jon" <jgrosshart at gmail.com> 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
More information about the xfs
mailing list