[ANNOUNCE] xserver 1.4.99.905

Juergen Beisert juergen127 at kreuzholzen.de
Thu Jul 17 04:43:14 PDT 2008


On Donnerstag, 17. Juli 2008, Michel Dänzer wrote:
> On Thu, 2008-07-17 at 11:30 +0200, Juergen Beisert wrote:
> > Hi,
> >
> > I'm trying to cross compile the xorg-server-1.4.99.905. But my cross
> > compiler complains about:
> >
> > CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/drm
> >
> > I found it in "hw/xfree86/os-support/linux/Makefile.am"
> >
> > [...]
> > INCLUDES = $(XORG_INCS) $(PLATFORM_INCLUDES) -I/usr/include/drm # FIXME
> > this last part is crack [...]
> >
> > Sorry, I'm not an autotools expert, is there a way to handle it correctly
> > also for cross compiling?
>
> Try replacing -I/usr/include/drm with $(LIBDRM_CFLAGS) .

Thanks, this part seems to work now.

But now it fails at:

[...]
loader/libloader.a(dixsym.o):(.data+0x33c): undefined reference to `noCompositeExtension'
dixmods/.libs/libdixmods.a(libdixmods_la-miinitext.o):(.data.rel+0x94): undefined reference to `noCompositeExtension'
dixmods/.libs/libdixmods.a(libdixmods_la-miinitext.o):(.data.rel+0xec): undefined reference to `noCompositeExtension'
../../composite/.libs/libcomposite.a(compext.o): In function `CompositeExtensionInit':
[....]/xorg-server-1.4.99.905/composite/compext.c:702: undefined reference to `noCompositeExtension'
[....]/xorg-server-1.4.99.905/composite/compext.c:762: undefined reference to `noCompositeExtension'

I'm confused. The label COMPOSITE is defined to 1 in include/dix-config.h,
will be included from include/xorg-config.h and this file will be included in
hw/xfree86/loader/dixsyms.c. So I guess the line 353 in this file will be
compiled and 'noCompositeExtension' should exist (or is it a declaration
only?). Or is ./os/utils.c the place where this variable is defined?

My mistake?

Juergen



More information about the xorg mailing list