acl build failure on x86_64

Jon Grosshart jgrosshart at gmail.com
Wed Jan 20 08:29:43 CST 2010


On Tue, Jan 19, 2010 at 10:54 PM, Nathan Scott <nscott at aconex.com> wrote:
>
> ----- "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
>

Right you are. This line in configure was the culprit:

test -z "$PLATFORM" || pkg_platform="$PLATFORM"

In my /etc/bashrc I set this variable for all my build script to use:

export PLATFORM=$(arch)

Apparently, $pkg_platform shouldn't be "x86_64" as far as acl is concerned....

Thanks Nathan.

Jon




More information about the xfs mailing list