From: Robert Harley <Robert.Harley@inria.fr>
To: axp-list@redhat.com
Subject: Re: VNC on the Alpha
Date: Thu, 9 Jul 1998 14:35:28 +0200 (MET DST) [thread overview]
Message-ID: <199807091235.OAA06130@pauillac.inria.fr> (raw)
Thus spake Elijah Wright:
>has anyone gotten the VNC server running on the alpha under linux?
Yup.
>i can't seem to get it built under redhat. I'm using 4.2, by the way.
I patched a few things and hey, "it works for me".
In a bunch of places I changed:
int something = sizeof stuff;
to:
size_t something = sizeof stuff;
wherever the size was used in some socket code that caused a warning.
Also, in Xvnc/lib/font/Type1/spaces.c:
39a40
> #include <string.h>
In Xvnc/programs/Xserver/Xext/xprint.c:
68a69
> #include <stdlib.h>
In Xvnc/programs/Xserver/hw/vnc/sprite.c:
197c197
< ((int) (pScreenPriv->pCacheWin = (pWin))) , \
---
> ((pScreenPriv->pCacheWin = (pWin))) , \
What's up with that cast? In vncviewer/sockets.c:
27a28,29
> /* RJH: for u_short */
> #include <sys/types.h>
In Xvnc/programs/Xserver/mfb/mfbtegblt.c:
153,156c153,157
< #define GetBits4 c = (unsigned long)(((*char1++) << 64 ) | \
< (SCRRIGHT (*char2++, xoff2) << 64 ) | \
< (SCRRIGHT (*char3++, xoff3) << 64 ) | \
< (SCRRIGHT (*char4++, xoff4) << 64 ) | \
---
> /* RJH */
> #define GetBits4 c = (((unsigned long)(*char1++) << 32 ) | \
> (SCRRIGHT (*char2++, xoff2) << 32 ) | \
> (SCRRIGHT (*char3++, xoff3) << 32 ) | \
> (SCRRIGHT (*char4++, xoff4) << 32 ) | \
This may be wrong but shifting by 64 certainly wasn't right!
Binary for RedHat 4 at:
http://pauillac.inria.fr/~harley/tmp/
File:
vnc.tar.gz
1080074 bytes.
Bye,
Rob.
reply other threads:[~1998-07-09 12:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox