From: "James T. Sweeten Jr." Subject: grx 2.0 problem. To: djgpp AT delorie DOT com (djgpp listserv) Date: Fri, 9 Feb 1996 13:48:28 -0500 (EST) MIME-Version: 1.0 I am having a problem with grx20. I downloaded djgpp v2 and installed it. I then made the test programs for grx20 and ran them. All the ones I ran worked fine. I had a grx program from djgpp v1 that I tried to recompile under v2 and run and it bombed. I was able to reduce it down to this: #include int main(void) { int t_array[512][512]; /* set graphics mode */ GrSetMode(GR_default_graphics); /* clean up */ /* reset to text mode */ GrSetMode(GR_default_text); return(0); } The error I get when I try to run this is: Exiting due to signal SIGSEGV Stack Fault at eip=00001545 eax=00000000 ebx=0005f070 ecx=0006404c edx=00000033 esi=00000054 edi=0001e430 ebp=0005e408 esp=fff5e408 cs=00e7 ds=00ef es=00ef fs=00cf gs=00ff ss=00ef Call frame traceback EIPs: 0x00001545 I don't get errors if I reduce the array size to below 256x256. The makefile I used is: grtest.:grtest.c gcc -g -O -Id:/djgpp/contrib/grx20/include\ -Ld:/djgpp/contrib/grx20/lib -o $@ $< -lgrx20 I have tried this on two separate systems with the same results. Any help would be appreciated. Jim Sweeten sweeten AT belgarath DOT nwscc DOT sea06 DOT navy DOT mil