Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » Allegro In DJGPP

This thread is locked; no one can reply to it. rss feed Print
Allegro In DJGPP
Jes Lop
Member #3,181
January 2003

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

MiquelFire
Member #3,110
January 2003
avatar

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)

---
Febreze (and other air fresheners actually) is just below perfumes/colognes, and that's just below dead skunks in terms of smells that offend my nose.
MiquelFire.red
If anyone is of the opinion that there is no systemic racism in America, they're either blind, stupid, or racist too. ~Edgar Reynaldo

Jes Lop
Member #3,181
January 2003

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

Bob
Free Market Evangelist
September 2000
avatar

It's in the FAQ.

--
- Bob
[ -- All my signature links are 404 -- ]

Matthew Leverton
Supreme Loser
January 1999
avatar

Go to: