[OpenAFS] afs.ext.32 and afs.ext.64 not generated

Horst Birthelmer horst@riback.net
Tue, 15 Jun 2004 23:06:22 +0200


On Tuesday, June 15, 2004, at 07:14  PM, Hans-Gunther Borrmann wrote:

> On Tuesday 15 June 2004 17:20, Horst Birthelmer wrote:
>> On Tuesday, June 15, 2004, at 05:05  PM, Hans-Gunther Borrmann wrote:
>>> I compiled 1.3.64 under AIX 5.1 and afs.ext.32 and afs.ext.64 were 
>>> not
>>> generated. src/libafs/Makefile seems to be in error. It looks like:
>>>
>>> ....
>>> KMODS=32 64
>>>
>>> include Makefile.common
>>>
>>> setup:
>>>         -$(RM) -f  h net netinet rpc ufs nfs  machine sys
>>>         ln -fs /usr/include/sys h
>>>         ln -fs /usr/include/net net
>>>         ln -fs /usr/include/netinet netinet
>>>         ln -fs /usr/include/rpc rpc
>>>         ln -fs /usr/include/sys sys
>>>         ln -fs /usr/include/nfs nfs
>>>         ln -fs /usr/include/jfs ufs
>>>         for m in $${KMODS} ; do \
>>
>> Yes, there is a problem with that.
>> Just remove one '$' here and it should work.
>> remember you have to do that in MakefileProto.AIX
>>
>>>                 KDIR=MODLOAD-$$m ; \
>>>                 mkdir -p $${KDIR} ; \
>>>                 ln -fs ../Makefile $${KDIR}/Makefile ; \
>>>                 ln -fs ../Makefile.common $${KDIR}/Makefile.common ; 
>>> \
>>>                 ln -fs ../config $${KDIR}/config ; \
>>>         done
>>> ....
>>>
>>> The "$$" prevents variable substitution. My call to configure:
>>> ./configure --with-afs-sysname=rs_aix51 \
>>>         --enable-namei-fileserver \
>>>         --enable-transarc-paths \
>>>         --disable-pam
>>
>> Horst
>
> Thank you. The kernel extensions are now generated. By the way
> MakefileProto.AIX is generated by configure so the suggested change 
> has to be
> made after each call to configurea t the moment.
>

That's right!

Somebody has to check that into cvs


Horst