From owner-freebsd-bugs Wed Sep 30 08:21:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA18144 for freebsd-bugs-outgoing; Wed, 30 Sep 1998 08:21:19 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA18139 for ; Wed, 30 Sep 1998 08:21:17 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id RAA17072; Wed, 30 Sep 1998 17:20:38 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id RAA00920; Wed, 30 Sep 1998 17:20:38 +0200 (MET DST) Message-ID: <19980930172038.06916@follo.net> Date: Wed, 30 Sep 1998 17:20:38 +0200 From: Eivind Eklund To: FTG staff , bugs@FreeBSD.ORG, jin@eubie.lbl.gov Subject: Re: what is changed in 3.0 for "ld" making lkm module References: <199809301437.HAA03587@george.lbl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199809301437.HAA03587@george.lbl.gov>; from FTG staff on Wed, Sep 30, 1998 at 07:37:12AM -0700 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Sep 30, 1998 at 07:37:12AM -0700, FTG staff wrote: > It looks the "cc" also needs a "-aout" switch for compiling, because > "ld -r -aout" will complain the objects that compiled without "-aout" > *.o: malformed input file (not rel or archive) > > Do you happen to know what is -aout directive doing? It was not used > in FreeBSD before. It switch to using the a.out format for executables/object files (instead of ELF). > } I think you'd find it convenient to use bsd.kmod.mk to create LKMs - > } it abstract the actions for building the LKM, thus avoiding such > } distruption. Look the the cvs log for it for exact details of what > } has changed WRT building LKMs. > > Do you know if there is any example for using bsd.kmod.mk to build LKMs? All the LKMs that's part of FreeBSD. Just look at their Makefiles. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message