Solution - latest Xvnc with X11R6.8.2 X.org tree compilation
error
Awasthi, Vinay K
vinay.k.awasthi "at" intel.com
Thu Jul 7 19:40:01 2005
To get rid of errors related to VidModeExtensionInit, DGA etc...
Modify vnc/Xvnc/Makefile lines 1091, 1095 and 1099 as follows...
(add NO_HW_ONLY_EXTS)
miinitext.o: miinitext.c $(ICONFIGFILES)
$(RM) $@
$(CC) -c $(CFLAGS) $(EXT_DEFINES) $(PAN_DEFINES)
-DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS $(EXT_MODULE_DEFINES) -UXFree86LOADER
$*.c
miinitext.i: miinitext.c $(ICONFIGFILES)
$(RM) $@
$(CC) -E $(CFLAGS) $(EXT_DEFINES) $(PAN_DEFINES)
-DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS $(EXT_MODULE_DEFINES) -UXFree86LOADER
miinitext.c > $@
miinitext.s: miinitext.c $(ICONFIGFILES)
$(RM) $@
$(CC) -S $(CFLAGS) $(EXT_DEFINES) $(PAN_DEFINES)
-DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS $(EXT_MODULE_DEFINES) -UXFree86LOADER
$*.c
While patching X.org x source tree with xc.patch, part of patch (for
file in xc/programs/Xserver/cfb/cfbglblt8.c) will fail as it is already
incorporated to X.org tree...You can safely ignore this error.
Here is patch description that you can choose not to apply for X.org
tree...as it is already there.
*** xc/programs/Xserver/cfb/cfbglblt8.c.orig Fri Dec 14 19:59:23 2001
--- xc/programs/Xserver/cfb/cfbglblt8.c Tue Aug 12 10:05:57 2003
***************
*** 284,288 ****
register glyphPointer glyphBits;
register int xoff;
! #if defined(USE_LEFT_BITS) || (!defined(STIPPLE) &&
!defined(USE_STIPPLE_CODE))
register CfbBits *dst;
#endif
--- 284,288 ----
register glyphPointer glyphBits;
register int xoff;
! #if defined(USE_LEFTBITS) || (!defined(STIPPLE) &&
!defined(USE_STIPPLE_CODE))
register CfbBits *dst;
#endif
***************
*** 292,296 ****
CfbBits *dstLine;
CfbBits *pdstBase;
! #ifdef USE_LEFT_BITS
CARD32 *cTmp;
#endif
--- 292,296 ----
CfbBits *dstLine;
CfbBits *pdstBase;
! #ifdef USE_LEFTBITS
CARD32 *cTmp;
#endif
***************
*** 399,403 ****
} while (--hTmp);
break;
! #else /* !USE_LEFT_BITS */
{
int h;
--- 399,403 ----
} while (--hTmp);
break;
! #else /* !USE_LEFTBITS */
{
int h;
***************
*** 412,416 ****
glyphBits = clips;
/* fall through */
! #endif /* USE_LEFT_BITS */
case rgnIN:
#ifdef STIPPLE
--- 412,416 ----
glyphBits = clips;
/* fall through */
! #endif /* USE_LEFTBITS */
case rgnIN:
#ifdef STIPPLE