www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/11/07:48:46

From: "Stefan Viljoen" <rylan AT intekom DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Include and Library Files Error
Date: Sat, 11 Dec 1999 11:57:22 +0200
Organization: The South African Internet Exchange
Lines: 61
Message-ID: <82t7n0$fuk$4@ctb-nnrp1.saix.net>
References: <82pe7k$6fr$1 AT solaris DOT cc DOT vt DOT edu>
NNTP-Posting-Host: pc36-01-p33.nt.saix.net
X-Trace: ctb-nnrp1.saix.net 944906784 16340 155.239.194.33 (11 Dec 1999 10:06:24 GMT)
X-Complaints-To: abuse AT saix DOT net
NNTP-Posting-Date: 11 Dec 1999 10:06:24 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Supertheta <supertheta AT hotmail DOT com> wrote in message
news:82pe7k$6fr$1 AT solaris DOT cc DOT vt DOT edu...
> Hello,
>
> I am experiencing some difficulty while trying to compile a few C files
> using DJGPP with RHIDE.  Considering that I get the same error regardless
of
> whether I'm using GCC or compiling through RHIDE, I suspect the problem
lies
> with the former program (or, far more likely, my usage of it).  Here is an
> example of what happens:
>
> C:\djgpp\Divida>gcc *.c
> In file included from bitmaps.c:1:
> bitmaps.h:5: allegro.h: No such file or directory
> In file included from divida.c:1:
> divida.h:5: pc.h: No such file or directory
> In file included from divida.c:1:
> divida.h:7: allegro.h: No such file or directory
> In file included from divida.h:8,
>                  from divida.c:1:
> bitmaps.h:5: allegro.h: No such file or directory

You sure your DJGPP installation is correctly setup and that it did not get
corrupted somehow? I once had a similar problem that was caused by me
mucking about in assembly using NASM. I crashed the whole 'Doze95 system,
and on restart scandisk complained some kinda message I cannot remember
about my DJGPP directory. After that, trying to compile ANYTHING exhibited
much the same error messages you have above. Careful examination of the
header files that are standard with the compiler revealed differences in
just one of the .H files that were included with DJGPP that are linked when
you include, hmm, wat it stdio? Anyway, I fixed them (had a copy of the
undamaged STDIO on hand) but still GCC would not work - the eventual
solution was to wipe my whole DJGPP directory, reinstall from backups, and
reinstall my C directory from backups. BTW the "corruption" was that the
name of one of the headers linked was misspelt "somehow" - but there were
other errors in other headers too that I did not even look at when I
realised how far the damage went.

So - you been playing with any assembly lately? Had a solid cold reboot
crash inside a DJGPP program? This seems to be very rare (having a DJGPP
program crash and in so doing damage the DJGPP substructure and has never
happend since in a year of almost daily coding (and crashing) DJGPP
programs) since I read here daily and have never seen somebody else (except
you) having the same problem.

Many of your error lines tho seem to be caused tho by the compiler not being
able to find Allegro's header file - you sure this is in your \include dir?

Hope this helped some!


--
This message courtesy of
RylanNet rylan AT intekom DOT co DOT za
http://home.intekom.com/rylan/
--
StarWars for ever!.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019