[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-tech
Subject:    small glitch in building distro floppies?
From:       Matthew Patton <matthew.patton () ra ! pae ! osd ! mil>
Date:       1998-10-22 22:43:16
[Download RAW message or body]

To head off any premature attacks... The command I issued was:
	cd /usr/src/distrib; make;

In the course of attempting a install floppy build, we try to build
installboot in /usr/src/sys/arch/i386/stand/installboot via "make -f
Makefile installboot.o".

Well there is a line in .../arch/i386/stand/Makefile.inc (included by
installboot's Makefile) that reads:
.BEGIN
	@([ -h machine ] || ln -s $(S)/arch/i386/include machine)
.END

And I've searched all up the tree looking for a file that defines $S to no
avail. I presume it means to make the soft link to either /sys/arch/... or
/usr/src/sys/arch/... (they should be the same).

Since it's undefined, in /usr/obj/sys/arch/i386/stand/installboot we get a
soft link of the form: machine -> /arch/i386/include
which obviously is going to cause some trouble. Likewise in the ./etc
directory.

anyway the error is:
make: don't know how to make
/usr/src/sys/arch/i386/stand/installboot/../etc/obj/machine/types.h. Stop

Is there any reason why we used $S at some point? The postfix of
"/arch/i386/include" is hard coded, why not also the prefix "/usr/src/sys"
or "/sys"?
=====
 Need a secure, robust, open-source, multi-platform (9 architectures) OS?
            Try OpenBSD. The others simply can't compete.

 Matthew Patton, 1LT USAF	Webmaster, Resource Analysis
 PGP Fingerprint: 17D4 98B1 51F1 BCD9 D815  5F3D 3B1C 5C26 762C C9C9
          Key ID: 0x762CC9C9    Expires: 7/31/99

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic