public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Marc Aurele La France <tsi@gpu.srv.ualberta.ca>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Re: [Xpert] XFree 4.0.1 module loading
Date: Thu, 10 Aug 2000 03:26:16 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590678205303@msgid-missing> (raw)

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.



             reply	other threads:[~2000-08-10  3:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-10  3:26 Marc Aurele La France [this message]
2000-08-10  4:08 ` [Linux-ia64] Re: [Xpert] XFree 4.0.1 module loading 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590678205303@msgid-missing \
    --to=tsi@gpu.srv.ualberta.ca \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox