Path: utzoo!attcan!uunet!codonics!bret From: bret@codonics.COM (Bret Orsburn) Newsgroups: comp.windows.x Subject: Re: VGA X11R4 server problems Message-ID: <1536@codonics.COM> Date: 2 Jun 90 06:11:58 GMT References: <9692@hydra.gatech.EDU> <1990May24.123603.4257@cti-software.nl> <1990May24.225225.1771@jdyx.UUCP> <2 507@tuminfo1.lan.informatik.tu-muenchen.dbp.de> <9856@hydra.gatech.EDU> <2509@tuminfo1.lan.informatik.tu-muenchen.dbp.de> <30384@cup.portal.com> Organization: Codonics, Inc., Middleburg Heights, OH Lines: 103 I suspect that before all is said and done I will be very grateful to Thomas Roell for the extensive work he has contributed toward X11R4 for SYSV PCs. (I would be more effusive with my praise, but since I haven't been able to make it work yet.... :-) After spending a few days trying to make his patches work at my site (including the time to snarf and build several Gnu tools.), I think it is time for a *** Reality Check *** Unless I am missing something, mit/lib/X/Berklib.c cannot compile (see diff at end of this posting). Did nobody who has posted with praise or blame for this code find this worthy of noting? Also, as someone has noted, I get a "Hash Table Overflow" when the stock make tries to tackle mit/lib/X. Unlike the previous poster, however, I get a make: execve: /bin/sh: Arg list too long from gnu make, as well. (I finally built this lib "by hand".) Also: mit/util/scripts/makeshlib must be made executable. And finally: <<< BEWARE >>> Be aware that Herr Roell's version of X11R4 violates the separation between building and installation. The build stage tries to install libraries -- probably *not* what you want to do if you already have ISC's X11R3 installed, and you want to look before you leap. (And it uses hard-coded destination directories, as well.) ----- Sorry if this is petty sniping. It may appear that way to me, too, if I get this stuff working any time soon. Perhaps this information will save someone some of the hassles I have experienced so far. Of course, any hints on how to get past: Couldn't open any screens (And the odd server core dump) will be welcome. BTW: I am using a generic 16-bit VGA which is really a Western Digital/Paradise card, capable of 800x600x16 or 640x400x256 or standard VGA resolutions. ------------------------------------------------------------------------ *** mit/lib/X/.modfiles/Berklib.c Fri Jun 1 02:33:04 1990 --- mit/lib/X/Berklib.c Fri Jun 1 02:58:06 1990 *************** *** 1,5 **** --- 1,6 ---- #include "import.h" #ifdef SHLIB + extern long (* _libX11_times)() = 0; extern int (* _libX11_rand)() = 0; extern void (* _libX11_srand)() = 0; #endif *************** *** 9,14 **** --- 10,16 ---- #include #include + #include /* * These are routines fould in BDS and not found in HP-UX. They are *************** *** 282,291 **** if (!offset) { time(&offset); ! offset -= (times(&tms) / 100); } ! tvp->tv_sec = offset + times(&tms) / 100; ! tvp->tv_usec = (times(&tms) % 100) * 10000; /* ignore tzp for now since this file doesn't use it */ } --- 284,293 ---- if (!offset) { time(&offset); ! offset -= (times(&buffer) / 100); } ! tvp->tv_sec = offset + times(&buffer) / 100; ! tvp->tv_usec = (times(&buffer) % 100) * 10000; /* ignore tzp for now since this file doesn't use it */ } -- ------------------- bret@codonics.com uunet!codonics!bret Bret Orsburn