[RFC] xserver: use LRMI for real-mode calls (v2)

Matthieu Herrb matthieu.herrb at laas.fr
Sat Nov 28 00:51:57 PST 2009


Tiago Vignatti wrote:
> Hi,
> 
> Here's take 2:
> 
>     git://people.freedesktop.org/~vignatti/xserver libx86-take2
>     git://people.freedesktop.org/~vignatti/libx86
> 
> 

libx86 doesn't build on platforms that need the x86emu backend. First it
still goes to the src/vm86 subdir  if --enable-x86emu is not specified
on configure's command line (altough configure's output shows that it
properly found out the x86emu was needed):

config.status: executing depfiles commands

  Package: libx86 0.0.1

  Configuration
    Backend:............: x86emu
    DEBUG...............: no
    CFLAGS..............: -O2 -pipe

  Installation:
    Prefix..............: /usr/X11R6

exec make  libXi_ltversion=10.0
make  all-recursive
Making all in src
Making all in vm86
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I/local/xorg/lib/libx86/src/vm86 -I../..      -O2 -pipe -MT
vm86.lo -MD -MP -MF ".deps/vm86.Tpo" -c -o vm86.lo
/local/xorg/lib/libx86/src/vm86/vm86.c;  then mv -f ".deps/vm86.Tpo"
".deps/vm86.Plo
"; else rm -f ".deps/vm86.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I/local/xorg/lib/libx86/src/vm86 -I../.. -O2
-pipe -MT vm86.lo -MD -MP -MF .deps/vm86.Tpo -c /local/xorg/lib/
libx86/src/vm86/vm86.c  -fPIC -DPIC -o .libs/vm86.o
/local/xorg/lib/libx86/src/vm86/vm86.c: In function `pushw':
/local/xorg/lib/libx86/src/vm86/vm86.c:74: error: `CONTEXT_REGS'
undeclared (first use in this function)
/local/xorg/lib/libx86/src/vm86/vm86.c:74: error: (Each undeclared
identifier is reported only once
/local/xorg/lib/libx86/src/vm86/vm86.c:74: error: for each function it
appears in.)


If --enable-x86emu is used it fails to link the library:

gmake[3]: Entering directory `/local/xorg/lib/libx86/obj/src/lrmi'
gmake[3]: *** No rule to make target
`/local/xorg/lib/libx86/src/x86emu/libx86emu.la', needed by `libx86.la'.
 Stop.


-- 
Matthieu Herrb


More information about the xorg-devel mailing list