From owner-freebsd-current Tue Dec 29 14:23:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA20893 for freebsd-current-outgoing; Tue, 29 Dec 1998 14:23:34 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from hyperreal.org (taz.hyperreal.org [209.133.83.16]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA20884 for ; Tue, 29 Dec 1998 14:23:33 -0800 (PST) (envelope-from brian@hyperreal.org) Received: (qmail 15529 invoked by uid 24); 29 Dec 1998 22:23:15 -0000 Message-Id: <4.1.19981229135446.03d958f0@hyperreal.org> X-Sender: brian@hyperreal.org X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Tue, 29 Dec 1998 14:06:15 -0800 To: alexandr@mail.eecis.udel.edu, "Jordan K. Hubbard" From: Brian Behlendorf Subject: RE: How do I build an a.out kld? Cc: FreeBSD current users In-Reply-To: <199812291609.aa28255@mail.eecis.udel.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 04:09 PM 12/29/98 -0500, Jerry Alexandratos wrote: >: > I also noticed that although I had KERNFORMAT set to elf in my environment >: > and KERNFORMAT=elf in /etc/make.conf, while configing and then building the >: >: Hmmm.. That's really weird! You should only need to set it in >: /etc/make.conf - that certainly works for me. You sure there aren't >: any typos in the line? :-) > >Just an idea. Did you do a "config -r" or a "make clean" before you >built your new kernel? Didn't do a config -r, but did do a "make clean" after I started getting "cannot load bioscall.o" errors at the last stage of "make". After that "make clean", a "make" did produce an elf executable. This is after, though, I changed "KERNFORMAT? = aout" to "... = elf" in /sys/i386/conf/Makefile.i386 to see if that made a difference, since I noticed that the same line was in /sys/i386/compile/pez/Makefile. I've switched it back to "aout", and did a "config -r pez", and I still see the line "KERNFORMAT?= aout" in /sys/i386/compile/pez/Makefile... but ultimately that doesn't matter, since an ELF kernel is now produced anyways. So, sorry about the false alarm. It'll be good to see some of the aout-related cruft start to dribble out of the source as the switch-over to ELF is now more-or-less mandatory for the casual -current follower (if there is such a thing). Brian --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- History is made at night; brian@hyperreal.org character is what you are in the dark. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message