From owner-freebsd-current Fri Sep 18 22:06:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA19295 for freebsd-current-outgoing; Fri, 18 Sep 1998 22:06:06 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA19288 for ; Fri, 18 Sep 1998 22:06:01 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id WAA23865; Fri, 18 Sep 1998 22:05:22 -0700 (PDT) (envelope-from jdp) Message-Id: <199809190505.WAA23865@austin.polstra.com> To: osa@ozz.etrust.ru Subject: Re: Can't compile kernel in ELF... In-Reply-To: <199809181105.PAA07430@ozz.etrust.ru> References: <199809181105.PAA07430@ozz.etrust.ru> Organization: Polstra & Co., Seattle, WA Cc: current@FreeBSD.ORG Date: Fri, 18 Sep 1998 22:05:22 -0700 From: John Polstra Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <199809181105.PAA07430@ozz.etrust.ru>, Ozz!!! wrote: > Hello! > I want compile kernel in ELF format... > (by default, it normaly compile in a.out) > OK! > # cd /sys/i386/conf > # setenv $KERNFORMAT elf > # config THIRD > # cd ../../compile/THIRD > # make depend > # make > ...... > .... > loading kernel > exception.o(.text+0x168a): undefined reference to `_swi_dispatcher' This almost always means that you need to add an entry for the symbol in "src/sys/i386/include/asnames.h". Please let me know if that fixes the problem. If it does, I'll commit it to our sources. Kernel committers, please start paying more attention to this, any time you add some new assembly language code. -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message