[Top] [All Lists]

Re: acl build failure on x86_64

To: Nathan Scott <nscott@xxxxxxxxxx>
Subject: Re: acl build failure on x86_64
From: Jon Grosshart <jgrosshart@xxxxxxxxx>
Date: Wed, 20 Jan 2010 09:29:43 -0500
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=PzOABnX4hy7Ds/35vQYElTV/+vZA2H6WalUBcAnsgCw=; b=j05teacTxKka2sxGazzAbFaXWqQqVqz0fjzBxgVNWfkvLy+whwJtudvFyDq+tAs8IY eipx3J/ptkOHs54k3YX1fA2KEJFblPdRHh43DbGihY/fWwJhvuZuPHLuu6iWkKCaOWTH owWhvRdAo9PAuTMwvXv4wmaEy0Jroj+PlmMQ8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=QzVlqYsIF9bAiNA0eDTMMFPcY/+wxpAgC/FwjNJopjBFYddOAZD7r+Z6gShexxwbYh NTjSXUINmrcPwhcXGEtajz974fW8Qbr46xo7n+5y7lKaI7LJpPKOoH189Z+NxWw/hYFl 96KTukMuyPOVPKP1AvrBSPcNS0VOwYiTA3r0M=
In-reply-to: <1067945374.1918531263959691412.JavaMail.root@xxxxxxxxxxxxxxxxxx>
References: <4B5578E0.5000201@xxxxxxxxx> <1067945374.1918531263959691412.JavaMail.root@xxxxxxxxxxxxxxxxxx>
On Tue, Jan 19, 2010 at 10:54 PM, Nathan Scott <nscott@xxxxxxxxxx> wrote:
> ----- "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

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.


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