[OpenAFS] How to set CFLAGS for OpenAFS?

Kelly Brown kbbrown@cs.ucsd.edu
Wed, 11 Aug 2004 08:53:18 -0700


1.2.11 is listed as the latest release on the website and 1.3x is latest 
unstable.  To me that says use 1.2.11 in a production environment.  I'm 
new to openafs so I'm wondering if I'm missing something.

Thx
-K
Derrick J Brashear wrote:

> On Mon, 9 Aug 2004, Evan Knop wrote:
>
>> I'm trying to build OpenAFS with a certain set of CFLAGS.  Is there a 
>> string I can pass to configure to add something to the CFLAGS for 
>> each directory (in this case, its -fPIC so the .a files can be linked 
>> into a .so library for PAM on x86_64/amd64).
>
>
> For starters, I'll suggest you work with 1.3.70.
> After you do that, override CCOBJ (which should be cc) with cc -fPIC, 
> and you'll get what you want.
>
>> I've found that the openafs-1.2.11-rhel3.0.1.src.rpm is missing a few 
>> things for x86_64, which will cause a rpmbuild -ba to go quite wrong. 
>> Would there be an interest in my patches when I've got everything 
>> working?
>
>
> We're trying pretty hard to not care about 1.2 anymore.
>
>> Currently, I've had to disable building with PAM because of -fPIC 
>> problem, but I have managed to build the rest of the rpms (minus the 
>> krb5support) successfully.  The two major changes I've needed were to 
>> translate the "arch = x86_64" to a sysbase of "amd64", and to set 
>> LINUX_GCC_KOPTS="-mno-red-zone" before all the ./configure steps.
>
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info