Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 1999 15:17:22 +1200 (NZST)
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        Boris Veis <boris@ee.calpoly.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: "undefined reference" in kernel make
Message-ID:  <Pine.SC5.4.10.9905201513470.6868-100000@kiwi.pinnacle.co.nz>
In-Reply-To: <37437A0A.D6EF4CF9@ee.calpoly.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 May 1999, Boris Veis wrote:

>     After successfully compiling the kernel with <make depend>, i tries
> to <make>. 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SC5.4.10.9905201513470.6868-100000>