From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 6302 invoked from network); 20 Oct 1998 00:28:15 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 20 Oct 1998 00:28:15 -0000 Received: from taz.nekid.net (root@125-fixed-017.tca.net [208.162.125.17] (may be forged)) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id UAA06295 for ; Mon, 19 Oct 1998 20:20:00 -0400 Received: from steve (ns2.stevesworld.net [208.162.125.18]) by taz.nekid.net (8.8.7/8.8.7) with SMTP id TAA17901; Mon, 19 Oct 1998 19:20:10 -0500 From: "Steve G" To: Cc: Subject: RE: Compiling egcs 1.0.3a Date: Mon, 19 Oct 1998 19:21:13 -0500 Message-ID: <000c01bdfbbf$8c71de80$127da2d0@steve.stevesworld.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <362BD48B.C4B2D6A9@paralleldata.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Importance: Normal Dammit, I think I'm screwed here somewhere. Yes, I have on frequent occasion wiped the /usr/src/linux dir because I've been trying multiple different kernels. It looks like your /usr/include/asm symlink points to a directory under /usr/src/linux... Mine points to [root@hymen include]# ls -la asm lrwxrwxrwx 1 root root 24 Oct 14 04:13 asm -> ../src/linux/include/asm [root@hymen include]# Since I have no real compiled kernel in that directory, what do I do now??? Everything under /usr/src/linux changes each time I un-tar a new kernel. I don't suppose this would be a problem if the kernel would compile all the way, right? Is this going to require a re-install of Linux? If so, how is the correct way to clear the contents of the /usr/src/linux dir when you want to un-tar a new source? I thought you just rm -Rf * in the dir that the symlink points to. I guess this was wrong. Do you just keep a backup, or change the symlink to point to a new directory symbolic to the kernel you are unpacking? This sounds like the way I should have been doing it. Thanks for the help. Regards, Steve -----Original Message----- From: Wsb [mailto:wsb@paralleldata.com] Sent: Monday, October 19, 1998 7:09 PM To: axp-list@redhat.com Subject: Re: Compiling egcs 1.0.3a 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) > 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 -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com