Date: Thu, 17 Aug 95 23:56:53 -0400 From: Wonkoo Kim To: csaba AT vuse DOT vanderbilt DOT edu, Bill Currie Reply-To: Wonkoo Kim Cc: djgpp users Subject: Rebuilding GRX 2.0 created incorrect lib name! > Date: Fri, 18 Aug 95 14:06:32 +1100 > From: "Bill Currie" > Subject: Re: Compile error on GRX 2.0 beta test > > You will have to recompile GRX20 (Csaba compiled it for V1). Thank you. Recompiling solved the problem. However, recompilation wasn't smooth. I had to rename D:\djgpp\contrib\grx20\lib\libgrx20.a-a ==> libgrx20.a I don't know why extra '-a' was attached to the lib filename. I looked makefiles of grx20, but they looked okay. This was reproducible every time; Running make after removing libgrx20.a from the dir, libgrx20.a-a was created and thus the next step in makefile was aborted with error message. (because libgrx20.a was not found due to the name change.) I am building on a OS/2 Warp DOS box (P90), but I didn't try to build under pure DOS/Win system. I don't think this can be a problem. I suspect ar.exe or make.exe of djgpp v2.0 beta package. Anyway, I tested the recompiled grx 2.0 lib with grx's test programs and they all worked well in OS/2 full-screen dos box. Could someone identify the problem? Here is the log screen when I reproduced the error: (Before running djmake, I deleted grx20\lib\libgrx20.a) -------------------- D:\DJGPP\CONTRIB\GRX20>djmake (<== djmake is the 'make' from djgpp 2.0) cd src d:/djgpp/bin/djmake.exe djmake.exe[1]: Entering directory `d:/djgpp/contrib/grx20/src' if exist ..\lib\libgrx20.a del ..\lib\libgrx20.a ar -rv ../lib/libgrx20.a draw/bitblt.o draw/box.o draw/clear.o draw/drwinlne.o d raw/fillbox.o draw/frambox.o draw/line.o draw/majorln.o draw/pixel.o draw/plot.o ... [deleted] D:\DJGPP\BIN/ar.exe: creating ../lib/libgrx20.a c - draw/bitblt.o c - draw/box.o ... [deleted] c - vdrivers/vesa.o c - vdrivers/vtable.o D:\DJGPP\BIN/ar.exe: ../lib/libgrx20.a: Invalid operation djmake.exe[1]: *** [../lib/libgrx20.a] Error 1 djmake.exe[1]: Leaving directory `d:/djgpp/contrib/grx20/src' djmake.exe: *** [libs] Error 2 -------------------- At this point, grx20\lib\libgrx20.a-a was created with wrong extension. //-------------------------------------------------------------------- // Wonkoo Kim // wkim+@pitt.edu