[Swan-dev] algparse makefile build fail
Andrew Cagney
cagney at gnu.org
Thu Jul 6 14:42:20 UTC 2017
On 4 July 2017 at 06:50, Ilan Tayari <ilant at mellanox.com> wrote:
>> -----Original Message-----
>> From: Paul Wouters [mailto:paul at nohats.ca]
>> Subject: Re: [Swan-dev] algparse makefile build fail
>>
>> On Tue, 4 Jul 2017, Ilan Tayari wrote:
>>
>> 103/images/ipsec/libreswan/programs/_import_crl'
>> > make[2]: Entering directory `/net/gen-l-vrt-
>> 103/images/ipsec/libreswan/programs/algparse'
>> > make[2]: *** No rule to make target
>> `../../OBJ.linux.x86_64/programs/algparse/Makefile', needed by `local-
>> all'. Stop.
>> > make[2]: Leaving directory `/net/gen-l-vrt-
>> 103/images/ipsec/libreswan/programs/algparse'
>> > make[1]: *** [recursive-all] Error 2
>> > make[1]: Leaving directory `/net/gen-l-vrt-
>> 103/images/ipsec/libreswan/programs'
>> > make: *** [recursive-all] Error 2
yea, adding/deleting directories still confuses the build system
>> I cannot reproduce this. can you run make clean or rm -rf OBJ*
>
> 'make clean' didn't fix it.
> But 'rm -rf OBJ*' did.
aka
make distclean
if things go wrong, try that (it does a bit more)
>
> So it's a clean-related issue?
> I see it generates the OBJ/Makefiles as the first few steps.
Right. IMO the "correct fix" is to eliminate those files entirely
though. Its been a while, and a number of fixes, since I tried poking
that sleeping dragon.
More information about the Swan-dev
mailing list