Hi all,
I'm trying to compile grx for linux on the framebuffer, _without_ svgalib.
I made the following modifications to makedefs.grx:
INCLUDE_PRINTING_CODE=n # Not sure what this is, so I don't want it, right?
INCLUDE_BMP_CODE=n # Probably need this in future, but not yet
INCLUDE_SHARED_SUPPORT=n
INCLUDE_BGI_SUPPORT=n # What's bgi?
USE_DIRECT_MOUSE_DRIVER=y
USE_SVGALIB_DRIVER=n
USE_FRAMEBUFFER_DRIVER=y
SET_SUIDROOT=n # Not needed without svgalib, right?
I then cd to the src directory and type:
make -f makefile.lnx
Part way through the compilation I get:
gcc -c -O2 -Wall -DLFB_BY_NEAR_POINTER -pipe -DFRAMEBUFFER_DRIVER -I.
-I./include -I../include fdrivers/svga24.c -o fdrivers/svga24.o
fdrivers/svga24.c: In function `drawhline':
fdrivers/svga24.c:256: error: can't find a register in class `AD_REGS' while
reloading `asm'
fdrivers/svga24.c:257: error: can't find a register in class `AD_REGS' while
reloading `asm'
fdrivers/svga24.c:258: error: can't find a register in class `AD_REGS' while
reloading `asm'
fdrivers/svga24.c:259: error: can't find a register in class `AD_REGS' while
reloading `asm'
make: *** [fdrivers/svga24.o] Error 1
Can anyone advise as to what the problem is, and how best to resolve it?
Ant