From owner-freebsd-current Mon Sep 28 01:05:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA24372 for freebsd-current-outgoing; Mon, 28 Sep 1998 01:05:07 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ns1.aha.ru (ns1.aha.ru [195.2.80.142]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA24315; Mon, 28 Sep 1998 01:04:50 -0700 (PDT) (envelope-from osa@serv.etrust.ru) Received: from sunny.aha.ru (sunny.aha.ru [195.2.83.112]) by ns1.aha.ru (8.9.1/8.9.1/aha-r/0.04B) with ESMTP id MAA22678; Mon, 28 Sep 1998 12:04:01 +0400 (MSD) Received: by sunny.aha.ru id MAA19261; (8.8.8/vak/1.9) Mon, 28 Sep 1998 12:03:36 +0400 (MSD) Received: from unknown(195.2.84.114) by sunny.aha.ru via smap (V1.3) id sma018823; Mon Sep 28 12:02:57 1998 Received: from serv.etrust.ru by serv.etrust.ru with SMTP id MAA29949; (8.9.1/vak/1.9) Mon, 28 Sep 1998 12:05:46 +0400 (MSD) Date: Mon, 28 Sep 1998 12:05:46 +0400 (MSD) From: =?KOI8-R?B?88XSx8XKIO/Tz8vJzg==?= To: Manfred Antar cc: rnordier@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Building elf kernel In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 27 Sep 1998, Manfred Antar wrote: > I got the elf bootloader installed and it detects and > boots an aout kernel. > I can't seem to build an elf kernel. > I do a KERNELFORMAT=elf config kernel-name > KERNELFORMAT=elf make depend > KERNELFORMAT=elf make I think KERNFORMAT=elf, or manualy edit /sys/compile//Makefile & change KERNFORMAT to elf > everything complies but when it starts to load: > > loading kernel > locore.o(.text+0x8b): undefined reference to `curproc' > cam_periph.o: In function `cam_periph_mapmem': > cam_periph.o(.text+0x7e3): undefined reference to `curproc' > > plus alot more. > What else is needed to build an elf kernel ? > Thanks Manfred > Rgdz, oZZ, osa@etrust.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message