Mail Archives: djgpp/2001/11/03/12:38:18
On 3 Nov 2001, at 11:00, Frank M. Krauss wrote:
> Good Day,
>
> I'm attempting to install DJGPP Version 2 on my Linux System.
>
> I'm running Linux 2.2.17 on my 486 P.C. from the Caldera Distribution.
>
> I downloaded Binutils 2.11 and GCC 3.0.1.
>
> I'm now up to the Step in the Installation procedure where I run the
> make for the GCC Product. It runs for about 1/2 hour and then fails
> when processing the tmp_dum.c file within the s-under step of the
> Makefile with the following extracted messages:
>
> ---------- Cut -----------------
>
> make[1]: Entering directory `/root2/djgpp/cross/gcc/gcc'
>
> ---------- Cut -----------------
>
> echo "int xxy_us_dummy;" >tmp-dum.c
> /root2/djgpp/cross/gcc/gcc/xgcc -B/root2/djgpp/cross/gcc/gcc/ -B/usr/local/i486-pc-msdosdjgpp/bin/ -B/usr/local/i486-pc-msdosdjgpp/lib/ -isystem /usr/local/i486-pc-msdosdjgpp/include -S tmp-dum.c
> tmp-dum.c:1:6: ../include/sys/version.h: No such file or directory
> make[1]: *** [s-under] Error 1
> make[1]: Leaving directory `/root2/djgpp/cross/gcc/gcc'
> make: *** [all-gcc] Error 2
>
> ---------- END -----------------
>
> I do have various versions of the version.h file on my System:
>
> 1. /usr/src/linux/include/linux/version.h
> 2. /root2/gcc-3.0.1/gcc/version.h
> 3. /root2/djgpp/cross/include/sys/version.h
>
> Incidently, root2 is simply the name for my 2nd hard drive where
> I'm attempting to create the Cross-compiler.
It's looking for DJGPP sys/version.h. I suggest getting gcc302s2.zip
from DJGPP distribution and to apply included patches to gcc-3.0.2
sources (related script is in this archive)
> Would some one please explain to me why the Make seems not to be
> able to find the version.h file and what I can do to correct this
> problem?
>
> Thanking anyone in advance who can assist me in solving this problem.
Andris
- Raw text -