Date: Fri, 5 Jan 1996 18:24:42 -0800 (PST) From: Donald Burr <d_burr@ix.netcom.com> To: Steve Gibbard <scg@lawtech.com> Cc: questions@freebsd.org Subject: Re: Problem building a new kernel Message-ID: <Pine.BSF.3.91.960105181344.250A-100000@ncc-1701-d.starfleet.gov> In-Reply-To: <Pine.SUN.3.90.960105135421.4448A-100000@izzy4>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 Jan 1996, Steve Gibbard wrote: > I'm trying to build a new kernel on my FreeBSD 2.1.0 machine. The config > and the make depend worked fine, but the make failed with the following > error message: > > loading kernel > kern_sysctl.o: Undefined symbol `_hw_float' referenced from text segment > *** Error code 1 This makes the (approximately) 6.02e23'rd time I've seen this asked... YOU DISABLED THE "npx0" DEVICE IN YOUR KERNEL CONFIG FILE. THE "npx0" DEVICE IN THE KERNEL IS **NOT** OPTIONAL. EVEN IF YOU DO NOT HAVE A FLOATING POINT UNIT IN YOUR COMPUTER, THIS IS STILL REQUIRED, BECAUSE IT INTERFACES TO THE SOFTWARE EMULATION CODE. So, in short, put this line back in: device npx0 at isa? port "IO_NPX" irq 13 vector npxintr #define SOAPBOX_MODE I've asked this before, and I've seen others ask it too, but shouldn't there be a comment in the GENERIC and LINT kernel files (distributed with the kernel) to the effect of "the npx0 device is mandatory!!!"... ...OR, if the user disables it, either: a) print a warning/error message when the user runs config, or b) munge up the source code so that, if npx0 is commented out, it'll still work (and refer to the software emulator?) #undef SOAPBOX_MODE Donald Burr [d_burr@ix.netcom.com], PO Box 91212, Santa Barbara CA 93190-1212 TEL (805)564-1871 / FAX 564-2315 / WWW http://www.geopages.com/WallStreet/2072 PGP Public Key available by request (send e-mail) or on Public Key Servers. ** Uphold your right to privacy - Use PGP. **
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960105181344.250A-100000>