Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2002 21:54:28 -0700 (PDT)
From:      Peter Marrinon <peterm@telstra.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/37127: make in /sys/boot/i386/boot2 and in /sys/boot/i386/loader fail
Message-ID:  <200204160454.g3G4sSE56822@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         37127
>Category:       kern
>Synopsis:       make in /sys/boot/i386/boot2 and in /sys/boot/i386/loader fail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 15 22:00:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Peter Marrinon
>Release:        4.5
>Organization:
Telstra Internet Development
>Environment:
FreeBSD tmp5.telstra.net 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Thu Apr 11 16:34:47 GMT 2002     root@tmp.telstra.net:/usr/src/sys/compile/BOOTDISK  i386
>Description:
When following 15.6.4.2 in the handbook, running make in
/sys/boot/i386/boot2 and /sys/boot/i386/loader have errors.

> cd /sys/boot/i386/boot2
> make

SNIP
/usr/libexec/elf/ld: cannot open /usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o: No such file or directory
*** Error code 1

AFTER FIXING ABOVE

> make
SNIP
make: don't know how to make /usr/src/sys/boot/i386/boot2/../btx/btx/btx

AFTER RUNNING make IN ../btx/btx IT WORKS

>How-To-Repeat:
Follow the instruction given in section 15.6.4.2  of the handbook.
>Fix:
WORKAROUND:
It is possible to get around the problem by going to the relevant
directories and making the missing files as outlined above.

FIX:
Change the Makefile to have correct dependencies and/or change
documentation to run a higher level make before running these commands
>Release-Note:
>Audit-Trail:
>Unformatted:
 >cd /sys/boot/i386/loader
 >make
 
 SNIP
 cc: /usr/src/sys/boot/i386/loader/../../ficl/libficl.a: No such file or directory
 cc: /usr/src/sys/boot/i386/loader/../libi386/libi386.a: No such file or directory
 
 AFTER RUNNING MAKE IN RELEVANT DIRECTORIES...
 
 >make
 SNIP
 make: don't know how to make /usr/src/sys/boot/i386/loader/../btx/btxldr/btxldr.
 
 AFTER RUNNING make in ../btx/btxldr IT WORKS

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204160454.g3G4sSE56822>