Skip to contentSkip to conversation

XFree 4.0.1 module loading

Linux-ia64 Michael Madore 1 participant 1 message Aug 10, 2000

lore
Share & tools
lore
#0 lore raw

Hi,

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?

Mike Madore
Software Engineer
TurboLinux, Inc.