Re: btxld not found

From: Nick Hibma <nick_at_van-laarhoven.org>
Date: Tue, 28 Jan 2020 12:57:38 +0100
> On 28/01 /2020, at 12:39, Toomas Soome <tsoome_at_me.com> wrote:
> 
>> On 28. Jan 2020, at 13:36, Nick Hibma <nick_at_van-laarhoven.org> wrote:
>> 
>> Folks,
>> 
>> Could anyone explain to me what I am doing wrong? make installworld fails each time with the following error
>> 
>> ===> stand/i386/libi386 (install)
>> ===> stand/i386/loader_4th (install)
>> strip -R .comment -R .note -o loader_4th.bin loader_4th.sym
>> btxld -v -f aout -e 0x200000 -o loader_4th -l /usr/obj/usr/src/i386.i386/stand/i386/btx/btxldr/btxldr  -b /usr/obj/usr/src/i386.i386/stand/i386/btx/btx/btx loader_4th.bin
>> make[6]: exec(btxld) failed (No such file or directory)
>> *** Error code 1
>> 
>> This is with source of last week. I had this problem before (from old sources) and fixed it by specifying the full path to btxld in the stand/i386/*/Makefile. 
>> 
>> Any pointers?
>> 
> 
> it should be /usr/sbin/btxld; are you missing /usr/sbin from the path?

Well, it's an 'installworld' so I would expect it to be providing that program itself, but no, /usr/sbin/ is in the path of the current shell.

Also, in some of the makefiles the target calling btxldr is depending on the build of that executable:

Index: stand/i386/pxeldr/Makefile
===================================================================
--- stand/i386/pxeldr/Makefile  (revision 357042)
+++ stand/i386/pxeldr/Makefile  (working copy)
_at__at_ -39,7 +39,7 _at__at_
 CLEANFILES+= ${LOADER}

 ${LOADER}: ${LOADERBIN} ${BTXLDR} ${BTXKERN}
-       btxld -v -f aout -e ${LOADER_ADDRESS} -o ${.TARGET} -l ${BTXLDR} \
+       /usr/sbin/btxld -v -f aout -e ${LOADER_ADDRESS} -o ${.TARGET} -l ${BTXLDR} \
            -b ${BTXKERN} ${LOADERBIN}


Nick
Received on Tue Jan 28 2020 - 10:57:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC