From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 23287 invoked from network); 9 Jul 1998 12:35:40 -0000 Received: from concorde.inria.fr (192.93.2.39) by mail2.redhat.com with SMTP; 9 Jul 1998 12:35:40 -0000 Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.8.7/8.8.7) with ESMTP id OAA27438 for ; Thu, 9 Jul 1998 14:35:28 +0200 (MET DST) Received: (from harley@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA06130 for axp-list@redhat.com; Thu, 9 Jul 1998 14:35:28 +0200 (MET DST) Date: Thu, 9 Jul 1998 14:35:28 +0200 (MET DST) From: Robert Harley Message-Id: <199807091235.OAA06130@pauillac.inria.fr> To: axp-list@redhat.com Subject: Re: VNC on the Alpha 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 In Xvnc/programs/Xserver/Xext/xprint.c: 68a69 > #include 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 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.