Bug 3518

Summary: Error on compiling xserver
Product: xorg Reporter: Daniel Stone <daniel>
Component: Server/GeneralAssignee: Keith Packard <keithp>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description FreeDesktop Bugzilla Database Corruption Fix User 2005-06-10 17:43:54 UTC
I'm compiling xserver with --enable-xglserver, but I get an error compiling
hw/kdrive/vesa/vm86.h.

In file included from vesa.h:29,
                 from vesa.c:27;
vm86.h:116: error: field `vms' has incomplete file
make[3]: *** [vesa.o] Error 1
....blahblahblah....

I changed #include <sys/vm86.h> in #include <asm-i386/vm86.h> (I use gentoo on
amd64) and it worked but gave me another issue, complaining about

/tmp/cc3mVDyi.s: Assembler messages:
/tmp/cc3mVDyi.s:486: Error: suffix or operands invalid for 'push'
/tmp/cc3mVDyi.s:486: Error: suffix or operands invalid for 'mov'
/tmp/cc3mVDyi.s:486: Error: suffix or operands invalid for 'pop'
make[3]: *** [vm86.o] Error 1


Any answer ?
Comment 1 Keith Packard 2005-06-10 18:08:05 UTC
The VESA mode selection code will only run in 32-bit mode as it executes the
BIOS which is x86 code.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.