[OpenAFS] 1.3.80 linux 2.6 build- & runtime problems

Jeffrey Hutzelman jhutz@cmu.edu
Tue, 22 Mar 2005 18:28:30 -0500


On Tuesday, March 22, 2005 04:54:52 PM +0100 Stephan Wiesand 
<Stephan.Wiesand@desy.de> wrote:

> On Tue, 22 Mar 2005, Derrick J Brashear wrote:
>
>> On Tue, 22 Mar 2005, Stephan Wiesand wrote:
>>
>>> On an EL4-respin, "configure; make dest_only_libafs" (and any other
>>> target  involving building the kernel module, transarc paths or not,
>>> and also when specifying the sysname and path to kernel sources) grinds
>>> to  a halt with something like
>>>
>>> make[4]: Entering directory
>>> `/tmp/openafs/openafs-1.3.80/src/libafs/MODLOAD-2.6.9-5.0.3.ELsmp-MP'
>>> Makefile.common:51: warning: overriding commands for target `.c.o'
>>> /tmp/openafs/openafs-1.3.80/src/config/Makefile.config:132: warning:
>>> ignoring old commands for target `.c.o'
>>> env EXTRA_CFLAGS="" ./make_kbuild_makefile.pl
>>> MODLOAD-2.6.9-5.0.3.ELsmp-MP  libafs.ko
>>> /tmp/openafs/openafs-1.3.80/src/config/Makefile.config  Makefile.afs
>>> Makefile.common
>>> env: ./make_kbuild_makefile.pl: No such file or directory
>>
>> I bet that was
>>
>> DELTA linux-libafs-makefileproto-call-kbuild-correctly-20050320
>> AUTHOR cvv@email.zp.ua
>> FIXES 17972
>>
>> call the script directly out of srcdir instead of looking elsewhere
>>
>> which I think means the script can end up being called from 2 different
>> places. sigh.
>>
>
> That's what I guessed, but simply backing out this one-liner won't help
> either.

There's a correct fix, which I mentioned in a thread on openafs-devel.
I'll get it in to -bugs later, if Derrick doesn't pluck it out of zephyr or 
off of the mailing list.

-- Jeff