From: Peter W. <tj...@aa...> - 2005-11-26 00:03:44
|
On 2005-11-21, Iván Quiñones López <mcc...@ho...> wrote: > when compiling allegro in djgpp i got the following error > > src/graphics.c: In function '_set_gfx_mode': > src/graphics.c:635: error: 'blit_end' undeclared (first use in this > function) > src/graphics.c:635: error: (Each undeclared identifier is reported only once > src/graphics.c:635: error: for each function it appears in.) > make.exe: *** [obj/djgpp/alleg/graphics.o] Error 1 It's a known bug that was fixed recently (but not in 4.2.0). The fix is: i.e. just put that line at the top of graphics.c diff -u -r1.63 -r1.64 --- graphics.c 5 Nov 2005 13:24:50 -0000 1.63 +++ graphics.c 8 Nov 2005 13:57:39 -0000 1.64 @@ -21,6 +21,8 @@ #include "allegro.h" #include "allegro/internal/aintern.h" +extern void blit_end(void); /* for LOCK_FUNCTION; defined in blit.c */ + #define PREFIX_I "al-gfx INFO: " Peter |