[Xorg] [debrix] exported symbols

Jakub Piotr Cłapa loc at toya.net.pl
Sat Jul 10 09:46:31 PDT 2004


Jakub Piotr Cłapa wrote:
> Daniel Stone wrote:
> 
>> On Sat, Jul 10, 2004 at 02:43:50AM +0200, Jakub Piotr C??apa wrote:
>>
>>> There seem to be two more missing symbols in the debrix binary and 
>>> without them driver-ati fails to load. Here is a patch:
>>>
>>> http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/debrix-fbPictureInit.patch?rev=1.2 
>>>
>>
>>
>> Thanks. Does this get either of r128 or radeon loading for you?
> 
> What's still wrong:
> #v+
> (EE) Couldn't load builtin module "xf4bpp"
> (EE) Failed to load module "xf4bpp" (invalid argument(s) to 
> LoadModule(), 1)
> #v-

Thanks to Jakub Stachowski I have a fix for that. It's quite strange why
it is required but it seems that loading a submodule fails when the
module path is not initialized.

The patch:
#v+
--- orig/hw/xorg/common/xf86Init.c
+++ mod/hw/xorg/common/xf86Init.c
@@ -337,14 +337,14 @@
      /* Initialise the loader */
      LoaderInit();

+    /* Tell the loader the default module search path */
+    LoaderSetPath(xf86ModulePath);
+
  #ifdef DEBRIX
      /* Tell the loader about our built-ins. */
      debrixInit();
  #endif

-    /* Tell the loader the default module search path */
-    LoaderSetPath(xf86ModulePath);
-
  #ifdef TESTING
      {
         char **list, **l;
#v-

I've tried Arch but it's braindamaged. The command lines make my fingers
hurt and the whole concept is nothing I can understand without several
hours of digging throught it. Any *good* tutorials?

-- 
Regards,
Jakub Piotr Cłapa





More information about the xorg mailing list