----- "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: 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.