public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Re: [Xpert] XFree 4.0.1 module loading
@ 2000-08-10  3:26 Marc Aurele La France
  2000-08-10  4:08 ` Bill Nottingham
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Marc Aurele La France @ 2000-08-10  3:26 UTC (permalink / raw)
  To: linux-ia64

On Wed, 9 Aug 2000, Michael Madore wrote:

> I have XFree 4.0.1 built on IA64, however I am having an issue with
> loadable modules that I would like to address.

> Loading individual modules works fine.  Unfortunately, if a module
> references a symbol inside another module, the dlopen() call  won't
> resolve the symbol.

> This is primarily a problem while running XFree86 -configure to create an
> initial configure file.  Here is an example:

> (II) LoadModule: "mga"
> (II) Loading /usr/X11R6/lib/modules/drivers/mga_drv.so
> dlopen: /usr/X11R6/lib/modules/drivers/mga_drv.so: undefined symbol:
> vgaHWddc1SetSpeed
> (EE) Failed to load /usr/X11R6/lib/modules/drivers/mga_drv.so
> (II) UnloadModule: "mga"

> vgaHWddc1SetSpeed is defined in /usr/X11R6/lib/modules/libvgahw.so

> How would dlopen() know to look at that module to resolve the dependency?

Looks like you built the server and modules with MakeDllModules #define'd
to YES.  This should work without it, i.e. leaving MakeDllModules to the
default of NO.  Some dlopen() implementations require all symbols to be
resolved after each module no matter what you tell it in the call.  This
seems to me to be the problem here.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Computing and Network Services  |  fax:    1-780-492-1729           |
|  352 General Services Building   |  email:  tsi@ualberta.ca          |
|  University of Alberta           +-----------------------------------+
|  Edmonton, Alberta               |                                   |
|  T6G 2H1                         |     Standard disclaimers apply    |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 Core Team member.  ATI driver and X server internals.



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2000-08-18  2:24 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-10  3:26 [Linux-ia64] Re: [Xpert] XFree 4.0.1 module loading Marc Aurele La France
2000-08-10  4:08 ` Bill Nottingham
2000-08-10  5:34 ` Michael Madore
2000-08-10  5:37 ` Michael Madore
2000-08-10 15:38 ` Marc Aurele La France
2000-08-10 15:42 ` Bill Nottingham
2000-08-10 16:54 ` Stuart Anderson
2000-08-10 17:00 ` Michael Madore
2000-08-10 17:59 ` Bill Nottingham
2000-08-10 18:06 ` Stuart Anderson
2000-08-11  0:16 ` Keith Owens
2000-08-11 15:10 ` David Dawes
2000-08-17  3:29 ` Marc Aurele La France
2000-08-17  6:18 ` Michael Madore
2000-08-17 16:13 ` Stuart Anderson
2000-08-17 21:20 ` Hiram Clawson, 831-427-7519
2000-08-18  2:24 ` Marc Aurele La France

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox