From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 8234 invoked from network); 21 May 1998 06:49:58 -0000 Received: from stargate.np.ac.sg (153.20.24.60) by mail2.redhat.com with SMTP; 21 May 1998 06:49:58 -0000 Received: (from uucp@localhost) by stargate.np.ac.sg (8.8.5/8.8.5) id OAA04981 for ; Thu, 21 May 1998 14:50:08 +0800 (SGT) Message-Id: <199805210650.OAA04981@stargate.np.ac.sg> Received: from (null)@titan.np.ac.sg(153.20.24.72) by stargate.np.ac.sg via smap (V2.0) id sma004970; Thu May 21 14:49:56 1998 Subject: svgalib crashes on lx164 To: axp-list@redhat.com Date: Thu, 21 May 1998 14:49:43 +0800 (SST) From: Robert Allen Barker X-Mailer: ELM [version 2.4 PL21] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII I am running RH4.2 on a lx164, the installation is clean with no changes I have retrieved the latest srcs for svgalib from the SRPMS dir at redhat and did the following: 1. installed with 'rpm' 2. did *not* apply patches as they seemed unrelated to alpha/lx164 2. altered Makefile.cfg to - cutout unwanted cga chips - turn on static libs 3. make clean 4. make static 5. use gcc --static -O2 prog.c -lvgagl -lvga prog.c = #include #include main() { printf("hello\n"); getchar(); vga_setmode(G1024x768x256); cga_setmode(TEXT); } 6. run 'prog' and then: Printf and getchar work, the video mode changes (to something) and the computer either hangs or reboots. I have tried to put a gl_line statement after the vga_setmode in an infinate loop but do not see the line. It seems the computer goes into left field after setting the mode. Do I need to do something special for alpha or lx164? I have been building building svgalib and earlier redhat versions and hardware platforms. Any tips much appreciated. Allan Barker Alpha Development center Ngee Ann Polytechnic Singapore