From owner-freebsd-questions Tue Mar 7 4:38:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay.butya.kz (butya-gw.butya.kz [212.154.129.94]) by hub.freebsd.org (Postfix) with ESMTP id 74B8F37BFC1 for ; Tue, 7 Mar 2000 04:38:19 -0800 (PST) (envelope-from bp@butya.kz) Received: from bp (helo=localhost) by relay.butya.kz with local-esmtp (Exim 3.13 #1) id 12SJAd-0001LO-00; Tue, 07 Mar 2000 18:33:03 +0600 Date: Tue, 7 Mar 2000 18:33:02 +0600 (ALMT) From: Boris Popov To: Johan Kruger Cc: freebsd-questions@freebsd.org Subject: Re: Lodable kernel modules In-Reply-To: <00030710185702.63483@ockle.dev.nanoteq.co.za> 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 Tue, 7 Mar 2000, Johan Kruger wrote: > I am busy to convert two lkm's to kld's and having some problem with it. Uh, if I'm understand correctly - your second module uses functions and variables from the first one. If so, then just load first module and then second module. Don't declare exported functions as 'static'. See sys/modules/ncp and sys/modules/nwfs for an example. ncp.ko module exports symbols which is used in the nwfs.ko module. -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message