From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16638 invoked from network); 20 Oct 1998 00:40:00 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 20 Oct 1998 00:40:00 -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 UAA06964 for ; Mon, 19 Oct 1998 20:31:45 -0400 Received: by paralleldata.com from localhost (router,SLMail V2.5); Mon, 19 Oct 1998 19:32:58 -0500 Received: by paralleldata.com from paralleldata.com (208.252.48.82::mail daemon; unverified,SLMail V2.5); Mon, 19 Oct 1998 19:32:56 -0500 Sender: "Wsb" Message-ID: <362BD9B2.B22F5F3B@paralleldata.com> Date: Tue, 20 Oct 1998 00:30:42 +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: <000c01bdfbbf$8c71de80$127da2d0@steve.stevesworld.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Steve G wrote: > > 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. > Best thing to do is re-install the rpm that has the kernel headers in it. Might have to force it though. >From that point on, do not put your kernels under /usr/src/linux. Put them anywhere else you like but leave the /usr/src/linux part alone. This is important because RH have modified the headers to fix a few compile problems in some applications and you want to keep those changes around. Wes