symbol lookup error: miInitializeCompositeWrapper

pcpa at mandriva.com.br pcpa at mandriva.com.br
Thu Feb 7 18:33:43 PST 2008


Quoting Claudio Leonel <cls at elaxys.com.br>:

> Hi,
>
> I compiled Xorg 7.3 for a custom Linux distribution and I
> got an error when starting X:
>
>    /usr/bin/X: symbol lookup error: /usr/lib/xorg/modules//libxaa.so:
>    undefined symbol: miInitializeCompositeWrapper
>
> This error occurred when using video drivers from SIS and OPENCHROME.
> The first driver I got from the 7.3 tree, the other is
> from the openchrome project (www.openchrome.org).
> If I use a vesa driver it doesn't occur.
>
> Looking at the sources I found that the symbol
> 'miInitiazeCompositeWrapper' is defined in:
>
>    xorg-server-1.4/miext/cw/cw.c (part of libcw.a)
>
> It seems that this library was compiled but was not linked to
> the xorg server.
>

> Any suggestions to solve this problem ?

  I think it was fixed in a later commit (probably
6ed08949af4f7ac09170d3d9581e4092b24a84ee).
  This should fix this problem and use only "known tags":

$ git diff xorg-server-1.3.0.0..xorg-server-1.4 hw/xfree86/xaa/Makefile.am
diff --git a/hw/xfree86/xaa/Makefile.am b/hw/xfree86/xaa/Makefile.am
index 23b7e16..6ed8303 100644
--- a/hw/xfree86/xaa/Makefile.am
+++ b/hw/xfree86/xaa/Makefile.am
@@ -9,6 +9,7 @@ MSB_3_FIXED = mf3-xaaBitmap.c mf3-xaaStipple.c
POLYSEG = s-xaaLine.c s-xaaDashLine.c

libxaa_la_LDFLAGS = -avoid-version
+libxaa_la_LIBADD = $(top_builddir)/miext/cw/libcw.la

module_LTLIBRARIES = libxaa.la
libxaa_la_SOURCES = xaaInit.c xaaGC.c xaaInitAccel.c xaaFallback.c \
@@ -68,4 +69,4 @@ EXTRA_DIST = xaacexp.h xaawrap.h xaaLine.c xaaDashLine.c \

INCLUDES = $(XORG_INCS)

-AM_CFLAGS = $(XORG_CFLAGS)
+AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
--

Paulo






More information about the xorg mailing list