www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/03/12:38:18

From: pavenis AT lanet DOT lv
To: "Frank M. Krauss" <fmfkrauss AT mindspring DOT com>, djgpp AT delorie DOT com
Date: Sat, 3 Nov 2001 19:33:46 +0200
MIME-Version: 1.0
Subject: Re: Problem with install of DJGPP
Message-ID: <3BE4469A.11553.8F8958@localhost>
In-reply-to: <1004803328.1284244031@news.mindspring.com>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


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