VNC patch for Xserver 1.3
Colin Guthrie
gmane at colin.guthr.ie
Wed Aug 22 03:46:35 PDT 2007
Stefan Dirsch wrote:
> On Wed, Aug 22, 2007 at 10:30:49AM +0200, Stefan Dirsch wrote:
>> Thanks! I'll give it a try ASAP and give you feedback.
>
> gcc -DHAVE_CONFIG_H -I. -I../../include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -DVNCSERVER -DHAVE_XVNC_CONFIG_H -I../../hw/dmx/vnc -DCHROMIUM=1 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-aliasing -c init.c
> init.c:855:18: error: missing binary operator before token "("
> make[2]: *** [init.o] Error 1
> make[2]: Leaving directory `/usr/src/packages/BUILD/xserver/hw/vnc'
>
> I replaced
>
> #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0
>
> with
>
> #if 1
>
> --> init.c:(.text+0x4a9): undefined reference to `miPointerGetMotionEvents'
>
> It builds with "#if 0", but then we're back to GetMotionHistory, which
> cannot be resolved on a 1.3 X.Org server at runtime.
Stefan,
FWIW, I rediffed the 1.2 patch we were both using before and it applies
and builds with X 1.3, but I have not tested the vnc module although the
standalone Xvnc works fine. I think I remember you mentioning you'd
already tried this and ran into problems so it may not be useful to you
at all.
Patch is here if you want it:
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/x11-server/current/SOURCES/0018-vnc-support.txt?revision=68152&view=markup
Col.
More information about the xorg
mailing list