[OpenAFS] afs.ext.32 and afs.ext.64 not generated
Horst Birthelmer
horst@riback.net
Tue, 15 Jun 2004 17:20:58 +0200
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