From owner-freebsd-questions Wed May 19 20:22:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kiwi.pinnacle.co.nz (pinnacle.internet.co.nz [210.48.55.133]) by hub.freebsd.org (Postfix) with ESMTP id 0694A153D0 for ; Wed, 19 May 1999 20:22:20 -0700 (PDT) (envelope-from jonc@pinnacle.co.nz) Received: from kiwi.pinnacle.co.nz (kiwi.pinnacle.co.nz [202.37.163.2]) by kiwi.pinnacle.co.nz (8.9.3/8.9.3) with ESMTP id PAA07379; Thu, 20 May 1999 15:17:22 +1200 (NZST) Date: Thu, 20 May 1999 15:17:22 +1200 (NZST) From: Jonathan Chen To: Boris Veis Cc: questions@FreeBSD.ORG Subject: Re: "undefined reference" in kernel make In-Reply-To: <37437A0A.D6EF4CF9@ee.calpoly.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 19 May 1999, Boris Veis wrote: > After successfully compiling the kernel with , i tries > to . During the process, i get alot of "undefined reference" > errors. Ultimatly, it just "STOP>s with an error code 1 > Is there any general reason that this usualy happens? Yeah. You removed one line too many in your kernel config file. Give the list a peek at the errors you're having. In general, you start from a copy of the GENERIC kernel, remove the devices that are obviously unused. The ones you aren't sure of you leave in, and make sure you can compile a kernel from what you've got. Only _THEN_ do you try to trim additional stuff off. Jonathan Chen ---------------------------------------------------------------------- When everything's coming your way, you're in the wrong lane. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message