From: "Alex Vinokur" Newsgroups: comp.os.msdos.djgpp Subject: Allegro demo compilation Date: 2 Aug 2002 16:59:39 GMT Lines: 233 Message-ID: NNTP-Posting-Host: pop09-2ras2-p129.barak.net.il (212.150.105.129) X-Trace: fu-berlin.de 1028307579 37973840 212.150.105.129 (16 [79865]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have a problem with compilation of Allegro demo file. ============================== Microsoft Windows 2000 Professional DJGPP Version 2.03 gcc version 3.1 ============================== %cd C:\DJGPP\allegro\demo % gcc demo.c demo.c:22:21: allegro.h: No such file or directory (ENOENT) demo.c:38: `FALSE' undeclared here (not in a function) demo.c:39: `FALSE' undeclared here (not in a function) demo.c:40: `FALSE' undeclared here (not in a function) demo.c:44: parse error before '*' token [--omitted--] ------------------------------------------ File demo.c has been changed Line #include "allegro.h" has been changed by the line #include "../include/allegro.h" ------------------------------------------ % gcc demo.c In file included from ../include/allegro/base.h:26, from ../include/allegro.h:27, from demo.c:22: c:/djgpp/lib/gcc-lib/djgpp/3.1/include/stdarg.h:110: conflicting types for `va_list' c:/djgpp/include/stdio.h:35: previous declaration of `va_list' In file included from ../include/allegro/base.h:36, from ../include/allegro.h:27, from demo.c:22: ../include/allegro/internal/alconfig.h:29:44: allegro/platform/alplatf.h: No such file or directory (ENOENT) ../include/allegro/internal/alconfig.h:51:8: #error platform not supported ../include/allegro/internal/alconfig.h:318:8: #error endianess not defined In file included from ../include/allegro/system.h:137, from ../include/allegro.h:29, from demo.c:22: ../include/allegro/inline/system.inl:26:27: allegro/debug.h: No such file or directory (ENOENT) In file included from ../include/allegro/gfx.h:384, from ../include/allegro.h:40, from demo.c:22: ../include/allegro/inline/gfx.inl:26:27: allegro/debug.h: No such file or directory (ENOENT) In file included from ../include/allegro/inline/gfx.inl:30, from ../include/allegro/gfx.h:384, from ../include/allegro.h:40, from demo.c:22: ../include/allegro/inline/asm.inl:28:42: allegro/platform/al386gcc.h: No such file or directory (ENOENT) In file included from ../include/allegro/draw.h:62, from ../include/allegro.h:42, from demo.c:22: ../include/allegro/inline/draw.inl:26:27: allegro/debug.h: No such file or directory (ENOENT) In file included from ../include/allegro/rle.h:41, from ../include/allegro.h:43, from demo.c:22: ../include/allegro/inline/rle.inl:26:27: allegro/debug.h: No such file or directory (ENOENT) In file included from ../include/allegro/inline/fmaths.inl:28, from ../include/allegro/fmaths.h:38, from ../include/allegro.h:57, from demo.c:22: ../include/allegro/inline/asm.inl:28:42: allegro/platform/al386gcc.h: No such file or directory (ENOENT) --------------------------------------------------------- What is wrong ? Thanks in advance. -- I have a problem with compilation of Allegro demo file. ============================== Microsoft Windows 2000 Professional DJGPP Version 2.03 gcc version 3.1 ============================== %cd C:\DJGPP\allegro\demo % gcc demo.c demo.c:22:21: allegro.h: No such file or directory (ENOENT) demo.c:38: `FALSE' undeclared here (not in a function) demo.c:39: `FALSE' undeclared here (not in a function) demo.c:40: `FALSE' undeclared here (not in a function) demo.c:44: parse error before '*' token [--omitted--] ------------------------------------------ File demo.c has been changed Line #include "allegro.h" has been changed by the line #include "../include/allegro.h" ------------------------------------------ % gcc demo.c In file included from ../include/allegro/base.h:26, from ../include/allegro.h:27, from demo.c:22: c:/djgpp/lib/gcc-lib/djgpp/3.1/include/stdarg.h:110: conflicting types for `va_list' c:/djgpp/include/stdio.h:35: previous declaration of `va_list' In file included from ../include/allegro/base.h:36, from ../include/allegro.h:27, from demo.c:22: ../include/allegro/internal/alconfig.h:29:44: allegro/platform/alplatf.h: No such file or directory (ENOENT) ../include/allegro/internal/alconfig.h:51:8: #error platform not supported ../include/allegro/internal/alconfig.h:318:8: #error endianess not defined In file included from ../include/allegro/system.h:137, from ../include/allegro.h:29, from demo.c:22: ../include/allegro/inline/system.inl:26:27: allegro/debug.h: No such file or directory (ENOENT) In file included from ../include/allegro/gfx.h:384, from ../include/allegro.h:40, from demo.c:22: ../include/allegro/inline/gfx.inl:26:27: allegro/debug.h: No such file or directory (ENOENT) In file included from ../include/allegro/inline/gfx.inl:30, from ../include/allegro/gfx.h:384, from ../include/allegro.h:40, from demo.c:22: ../include/allegro/inline/asm.inl:28:42: allegro/platform/al386gcc.h: No such file or directory (ENOENT) In file included from ../include/allegro/draw.h:62, from ../include/allegro.h:42, from demo.c:22: ../include/allegro/inline/draw.inl:26:27: allegro/debug.h: No such file or directory (ENOENT) In file included from ../include/allegro/rle.h:41, from ../include/allegro.h:43, from demo.c:22: ../include/allegro/inline/rle.inl:26:27: allegro/debug.h: No such file or directory (ENOENT) In file included from ../include/allegro/inline/fmaths.inl:28, from ../include/allegro/fmaths.h:38, from ../include/allegro.h:57, from demo.c:22: ../include/allegro/inline/asm.inl:28:42: allegro/platform/al386gcc.h: No such file or directory (ENOENT) --------------------------------------------------------- What is wrong ? Thanks in advance. I have a problem with compilation of Allegro demo file. ============================== Microsoft Windows 2000 Professional DJGPP Version 2.03 gcc version 3.1 ============================== %cd C:\DJGPP\allegro\demo % gcc demo.c demo.c:22:21: allegro.h: No such file or directory (ENOENT) demo.c:38: `FALSE' undeclared here (not in a function) demo.c:39: `FALSE' undeclared here (not in a function) demo.c:40: `FALSE' undeclared here (not in a function) demo.c:44: parse error before '*' token [--omitted--] ------------------------------------------ File demo.c has been changed Line #include "allegro.h" has been changed by the line #include "../include/allegro.h" ------------------------------------------ % gcc demo.c In file included from ../include/allegro/base.h:26, from ../include/allegro.h:27, from demo.c:22: c:/djgpp/lib/gcc-lib/djgpp/3.1/include/stdarg.h:110: conflicting types for `va_list' c:/djgpp/include/stdio.h:35: previous declaration of `va_list' In file included from ../include/allegro/base.h:36, from ../include/allegro.h:27, from demo.c:22: ../include/allegro/internal/alconfig.h:29:44: allegro/platform/alplatf.h: No such file or directory (ENOENT) ../include/allegro/internal/alconfig.h:51:8: #error platform not supported ../include/allegro/internal/alconfig.h:318:8: #error endianess not defined In file included from ../include/allegro/system.h:137, from ../include/allegro.h:29, from demo.c:22: ../include/allegro/inline/system.inl:26:27: allegro/debug.h: No such file or directory (ENOENT) In file included from ../include/allegro/gfx.h:384, from ../include/allegro.h:40, from demo.c:22: ../include/allegro/inline/gfx.inl:26:27: allegro/debug.h: No such file or directory (ENOENT) In file included from ../include/allegro/inline/gfx.inl:30, from ../include/allegro/gfx.h:384, from ../include/allegro.h:40, from demo.c:22: ../include/allegro/inline/asm.inl:28:42: allegro/platform/al386gcc.h: No such file or directory (ENOENT) In file included from ../include/allegro/draw.h:62, from ../include/allegro.h:42, from demo.c:22: ../include/allegro/inline/draw.inl:26:27: allegro/debug.h: No such file or directory (ENOENT) In file included from ../include/allegro/rle.h:41, from ../include/allegro.h:43, from demo.c:22: ../include/allegro/inline/rle.inl:26:27: allegro/debug.h: No such file or directory (ENOENT) In file included from ../include/allegro/inline/fmaths.inl:28, from ../include/allegro/fmaths.h:38, from ../include/allegro.h:57, from demo.c:22: ../include/allegro/inline/asm.inl:28:42: allegro/platform/al386gcc.h: No such file or directory (ENOENT) --------------------------------------------------------- What is wrong ? Thanks in advance. ================= Alex Vinokur mailto:alexvn AT go DOT to http://up.to/alexvn =================