From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30326 invoked from network); 20 Oct 1998 00:18:04 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 20 Oct 1998 00:18:04 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id UAA05756 for ; Mon, 19 Oct 1998 20:09:49 -0400 Received: by paralleldata.com from localhost (router,SLMail V2.5); Mon, 19 Oct 1998 19:11:00 -0500 Received: by paralleldata.com from paralleldata.com (208.252.48.82::mail daemon; unverified,SLMail V2.5); Mon, 19 Oct 1998 19:10:59 -0500 Sender: "Wsb" Message-ID: <362BD48B.C4B2D6A9@paralleldata.com> Date: Tue, 20 Oct 1998 00:08:43 +0000 From: "Wes Bauske" Organization: Parallel Data Systems X-Mailer: Mozilla 4.04 [en] (X11; U; Linux 2.0.33 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Compiling egcs 1.0.3a References: <000a01bdfbb8$513c6a30$127da2d0@steve.stevesworld.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Steve G wrote: > > Hello all, once again, I have compiling errors. > I've got a stock redhat 5.1 alpha Workstation 233 box, with egcs version: > > [root@hymen egcs-1.0.3a]# egcs --version > egcs-2.90.27 980315 (egcs-1.0.2 release) > > That said, I un-tarred it (egcs-1_0_3a_tar.gz) into /root/egcs and it > created egcs-1.0.3a/ . I then ran ./configure > This is what I got, and I think it looks strange. > > [root@hymen egcs-1.0.3a]# ./configure > Configuring for a alpha-unknown-linux-gnu host. > Created "Makefile" in /root/egcs/egcs-1.0.3a using "config/mt-linux" > ./config.status is unchanged > Links are now set up to build a native compiler for alpha-unknown-linux-gnu > [root@hymen egcs-1.0.3a]# > > Alpha-unknown-linux-gnu host???? I have an Avanti. Not sure about that. I > tried going through the config.sub file but didn't see anything that rang a > bell there as far as my system goes. > > Now the fun part. I ran make and got such a short output I can include it > here: > > [root@hymen egcs-1.0.3a]# make > make[1]: Entering directory `/root/egcs/egcs-1.0.3a/libiberty' > echo "# !Automatically generated from ./functions.def"\ > "- DO NOT EDIT!" >needed2.awk > grep '^DEFVAR(' < ./functions.def \ > | sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf "#ifndef > NEED_\1\\n#define > NEED_\1\\n#endif\\n" }|' \ > >>needed2.awk > grep '^DEFFUNC(' < ./functions.def \ > | sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf "#ifndef > NEED_\1\\n#defi > ne NEED_\1\\n#endif\\n" }|' \ > >>needed2.awk > echo "/* !Automatically generated from ./functions.def"\ > "- DO NOT EDIT! */" >lconfig.h > awk -f needed2.awk >lconfig.h > cp lconfig.h config.tmp > /bin/sh ./../move-if-change config.tmp config.h > config.h is unchanged > touch stamp-config > test -z "" || \ > gcc -c -g -O2 -I. -I./../include fnmatch.c -o pic/fnmatch.o > gcc -c -g -O2 -I. -I./../include fnmatch.c > In file included from /usr/include/errnos.h:24, > from /usr/include/errno.h:36, > from fnmatch.c:45: > /usr/include/linux/errno.h:4: asm/errno.h: No such file or directory > make[1]: *** [fnmatch.o] Error 1 > make[1]: Leaving directory `/root/egcs/egcs-1.0.3a/libiberty' > make: *** [all-libiberty] Error 2 > [root@hymen egcs-1.0.3a]# > Looks like you have a problem in your header files. /usr/include/linux/errno.h is not part of egcs. Maybe you need to re-install the kernel header rpm. You didn't happen to overwrite the orignal /usr/src/linux directory at some point? On my system, here's how the include is set up: lrwxrwxrwx 1 root root 30 Oct 13 1997 /usr/include/asm -> ../src/linux/include/asm-alpha Wes