Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Oct 1998 11:05:51 -0500
From:      Edwin Culp <eculp@webwizard.org.mx>
To:        Mike Smith <mike@smith.net.au>
Cc:        Greg Lehey <grog@lemis.com>, Alfred Perlstein <bright@hotjobs.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: ELF kernel?
Message-ID:  <36164B5E.A3A30602@webwizard.org.mx>
References:  <199810030033.RAA02872@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith wrote:

> > >>> I use 'strip -g' for ELF kernels.  If your kernel is a.out, you probably
> > >>> need 'strip -aout -d'.
> > >>
> > >> any idea on the expected cutover to ELF kernels?
> > >
> > > Perhaps Sunday or so.  There are a few variables left, but no more than
> > > a couple of days before it's ready.
> >
> > Oh.  What does that mean for LKMs?
>
> They become KLD modules.  The actual source-level changes are pretty
> minimal.
>
> > Isn't this a bit late in the Beta to start changing kernel formats?
>
> There's mixed opinion on this; at the moment we just want to get the
> tech out there for people to play with it.  The big kicker is that if
> we *don't* change now, we'll have yet another big-gulp change point in
> front of the 3.0.x stability release, which will also be Bad.
>
> You can build an ELF kernel right now (just set KERNFORMAT to elf), and
> if you're up to date with the new bootstrap (as of about now) you can
> boot it just like it was an a.out kernel.

I was all excited about this and gave it a shot with this morning's cvsup.  First
I got a snd error, disabled sound drivers and just  when I thought that I had it

cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitializ
ed -Wformat  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../inc
lude  -DKERNEL -include opt_global.h -elf  vers.c
loading kernel
apm.o: In function `apmattach':
apm.o(.text+0x93b): undefined reference to `apm_cs32_limit'
apm.o(.text+0x949): undefined reference to `apm_cs16_limit'
*** Error code 1

Stop.

Suggestions?

Thanks

ed


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?36164B5E.A3A30602>