Mail Archives: djgpp/1999/07/08/10:28:10
On Wed, 7 Jul 1999, jdm wrote:
> No, it's not bogus. I can trace it right to the line in the header
> file where it comes from. What's happening is that something is
> tricking the make process into thinking that it is trying to compile a
> linux version of the libraries and it doesn't find the right stuff for
> being on linux.
This usually happens because the symbol DJGPP is not defined when the
preprocessor runs, which then triggers the error message. You need to
understand why doesn't cpp define DJGPP on your machine.
One possibility is that you have installed RSXNTDJ on your system, which
overwrites the file called "specs" with its own version. The stock DJGPP
version of the file "specs" comes with the djdev202.zip archive, and it
does define the DJGPP symbol.
If you cannot figure this out, add -v to the compiler command line when
you compile one of the Allegro source files, and post here everything
that is printed by the compiler (it's a lot of print-out, so it's best to
redirect compiler's output to a file; use the REDIR program for that).
Then somebody will be able to spot the problem.
- Raw text -