From owner-freebsd-current Mon Sep 21 16:38:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA13962 for freebsd-current-outgoing; Mon, 21 Sep 1998 16:38:55 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mail.kar.net (n183.cdialup.kar.net [195.178.130.183]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA13681 for ; Mon, 21 Sep 1998 16:37:42 -0700 (PDT) (envelope-from kushn@mail.kar.net) Received: from localhost (volodya@localhost) by mail.kar.net (8.9.1/8.8.8) with SMTP id CAA01331; Tue, 22 Sep 1998 02:36:45 +0300 (EEST) (envelope-from kushn@mail.kar.net) Date: Tue, 22 Sep 1998 02:36:45 +0300 (EEST) From: Vladimir Kushnir X-Sender: volodya@kushnir.kiev.ua To: "Donald J. Maddox" cc: current@FreeBSD.ORG Subject: Re: Loadable Modules in ELF XF86 In-Reply-To: <19980921163048.A869@scsn.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 21 Sep 1998, Donald J. Maddox wrote: > After building a ELF XFree86 from the port committed last night, I > am seeing the following when starting the X server: > > ------------------------------------------------------------------- > > > XF86Config: /etc/XF86Config > (**) stands for supplied, (--) stands for probed/default values > xf86Jstk.so: /usr/X11R6/lib/modules/xf86Jstk.so: Undefined symbol "xf86GetMotion > Events" > xie.so: /usr/X11R6/lib/modules/xie.so: Undefined symbol "isItTimeToYield" > pex5.so: /usr/X11R6/lib/modules/pex5.so: Undefined symbol "EventSwapVector" > > > ------------------------------------------------------------------ > > Obviously, the X loadable modules don't work too well as ELF... I assume > that this can't possibly work, ELF LKMs with an a.out kernel, no? Or am I > just way off base here? > > If this is the case, is there any way to force the loadable modules > to be built as a.out until we have an ELF kernel? > No, it's not quite so. Just relink your X server with an additional flag -rdynamic (cd xc/programs/Xserver; make CCLINK='cc -rdynamic' XF86_SVGA or whatever server you're using). Gee, how long will this modules saga continue? Please, somebody with commit privileges, solve it once and forever. It breaks a lot of things in ELF world. Regards, Vladimir ===========================|======================= Vladimir Kushnir | kushn@mail.kar.net, | Powered by FreeBSD kushnir@ap3.bitp.kiev.ua | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message