Hello
I can“t compile Allegro. I obtain these errors:
Compiling Allegro for djgpp, optimised. Please wait...
gcc -DALLEGRO_SRC -Wall -Wno-unused -mcpu=pentium -O2 -funroll-loops -ffast-math -fomit-frame-pointer -I. -I./include -o obj/djgpp/alleg/allegro.o -c src/allegro.c
In file included from include/allegro/base.h:25,
from include/allegro.h:27,
from src/allegro.c:23:
c:/djgpp/lib/gcc-lib/djgpp/3.21/include/limits.h:11:23: syslimits.h: No such file or directory (ENOENT)
In file included from include/allegro/base.h:26,
from include/allegro.h:27,
from src/allegro.c:23:
c:/djgpp/lib/gcc-lib/djgpp/3.21/include/stdarg.h:110: conflicting types for `va_list'
c:/djgpp/include/stdio.h:35: previous declaration of `va_list'
make.exe: *** [obj/djgpp/alleg/allegro.o] Error 1
What should I do?DJGPP is OK,I can use it without any problem.I'm a new user of Allegro and DJGPP and I'm lost in this world.I would be very pleased if you could help me!
Regards
Thank you
If you are using Windows NT/2000/XP, Use MingW instead of DJGPP
Otherwise, what version info do you get with the 'GCC -v' command, and what version of Allegro are you using?
(Seeing as I have access to Windows 98 now, I'll be joining the DJGPP ranks again soon)
Hello
My operating system is Windows98SE.
Reading specs from c:/djgpp/lib/gcc-lib/djgpp/3.21/specs
Configured with: /devel/gnu/gcc/3.2/gnu/gcc-3.21/configure i586-pc-msdosdjgpp --prefix=/dev/env/DJDIR --disable-nls
Thread model: single
gcc version 3.2.1
It's in the FAQ.
You need to upgrade/patch DJGPP.
More info on old threads.