Hi. As I supposed... if you compile 0.98.4 with 'x off' in the compiletime- settings, this is the result: lib/libenv_video.a(attremu.o): In function `Attr_init': attremu.o(.text+0x6): undefined reference to `vga' make[2]: *** [/dosemu/dosemu-0.98.4/0.98.4.0/bin/dos] Error 1 make[2]: Leaving directory `/dosemu/dosemu-0.98.4/src' make[1]: *** [default] Error 2 make[1]: Leaving directory `/dosemu/dosemu-0.98.4' make: *** [default] Error 2 And this has nothing to do with having X libraries around... You have to put '#ifdef X_SUPPORT' around all functions in attremu.c which use the 'vga' structure. Exactly as it was done on 0.99. -------------------------------------------------------------------------- diff -urN dosemu-0.98.4/src/env/video/attremu.c dosemu-0.98.4.right/src/env/video/attremu.c --- dosemu-0.98.4/src/env/video/attremu.c Mon Nov 9 21:22:44 1998 +++ dosemu-0.98.4.right/src/env/video/attremu.c Tue Dec 15 13:49:16 1998 @@ -146,6 +146,7 @@ /* *************** Attribute controller emulation functions *************** */ +#ifdef X_SUPPORT /* * DANG_BEGIN_FUNCTION Attr_init * @@ -298,7 +299,7 @@ return(Attr_index); } - +#endif /* X_SUPPORT */ /* @@ -382,7 +383,7 @@ } - +#ifdef X_SUPPORT /* * Attribute controller interface function should come here. @@ -436,4 +437,4 @@ return u; } - +#endif /* X_SUPPORT */ -------------------------------------------------------------------------- Alberto
