Thank you for this suggestion as it streamlined the whole build
processes as well and it works.
Now I am trying to recompile Xvnc with Composite extension turned on...I
tried to load Xvnc with +extension Composite as one of the options in
vncserver. But it gave me error saying "could not open display..."

Is there any place I could turn Composite extension on by default?

Thanks,
Vinay
 

-----Original Message-----
From: Tristan Richardson [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 08, 2005 3:10 AM
To: Awasthi, Vinay K
Cc: [email protected]
Subject: Re: Solution - latest Xvnc with X11R6.8.2 X.org tree
compilation error

Thanks for tracking this down.  We removed NO_HW_ONLY_EXTS from the Xvnc

build because defining this causes the XInput extension to be omitted. 
Some KDE programs don't work if they don't find the XInput extension.

You may find the problem solved more cleanly by changing line 46 of 
vnc/Xvnc/Imakefile from

#ifdef XFree86Version

to

#if (defined (XFree86Version) || defined(XorgVersion))

I haven't actually tried this but this is exactly the change they've 
made in mi/Imakefile in the Xorg tree as compared to the XFree86 4.x
tree.

Cheers

Tristan

Awasthi, Vinay K wrote:
> 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
> _______________________________________________
> VNC-List mailing list
> [email protected]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to