From owner-freebsd-questions Tue Feb 10 21:19:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA22270 for questions-outgoing; Tue, 10 Feb 1998 21:19:09 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA22169; Tue, 10 Feb 1998 21:18:11 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id FAA15439; Wed, 11 Feb 1998 05:18:04 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id GAA02642; Wed, 11 Feb 1998 06:18:03 +0100 (MET) Message-ID: <19980211061803.50235@follo.net> Date: Wed, 11 Feb 1998 06:18:03 +0100 From: Eivind Eklund To: "Alok K. Dhir" Cc: questions@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Compiling LKMs References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: ; from Alok K. Dhir on Thu, Feb 12, 1998 at 12:43:56AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Feb 12, 1998 at 12:43:56AM -0400, Alok K. Dhir wrote: > > Hey all - I'm running 3.0-current. After a "make world", I noticed that I > could no longer load the linux emulation. Modload reported several > "Undefined Symbol" errors. Similarly, the ibcs2 emulation loading > reported an error as well (although at least it loaded). > > After messing around for a while, I realized that if I back out to the > previous (before make world) version of the linux_mod.o, and the ibcs2 > .o modules, everything works again. > > So the question is, what am I doing wrong? Why can't I compile the lkm's > as part of the make world and have them continue to work? Recompile your kernel, too. After recompiling the kernel and the LKMs, it should work. If not, then please yell at me - it is most likely my changes that are causing this. I committed fixes for this earlier tonight, so AFAIK everything is OK in the source tree as of right now. It wasn't OK 6 hours ago. Eivind, the major repeat offender for LKM-breaking :-( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe questions" in the body of the message