Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 1998 14:06:15 -0800
From:      Brian Behlendorf <brian@hyperreal.org>
To:        alexandr@mail.eecis.udel.edu, "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        FreeBSD current users <FreeBSD-current@FreeBSD.ORG>
Subject:   RE: How do I build an a.out kld? 
Message-ID:  <4.1.19981229135446.03d958f0@hyperreal.org>
In-Reply-To: <199812291609.aa28255@mail.eecis.udel.edu>

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

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



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