3rd [Techtalk] kernel What have i done
Andrew
showork at adelphia.net
Thu Aug 8 03:39:30 EST 2002
Hi
Yes I did the sym link /usr/src/linux /usr/src/linux-2.4.19.
Then went on to do make dep and got the same old "file not found"
error, listed in the previous e-mail info.
I too think make is looking for a file, but do not know
which,where, or how to fix it. Cleaning out the /usr/src/...file did
not do anything.
**So are you saying cleaning it out, as I did, will not
affect re-boot or start-up? That is good news.
Andrew
>uhhh.....
>
>dont know if anyone's mentioned this, but /usr/src/linux isnt a 'real'
>directory, its usually a symbolic link to whichever kernel you're working
>on.... the best thing is to remove the symlink first, (you can find it by cd
>to /usr/src and ls -al )...
>then you should be left with something like these two directories:
>/usr/src/linux-2.4.3 and /usr/src/linux-2.4.19
>
>now you need to re-create your symlink -
>
>ln -s /usr/src/linux-2.4.19 /usr/src/linux
>
>hopefully this might clear up the problem you're having... i suspect mandrake
>is looking for the files you erased from 2.4.3...
>
>there was a wonderful kernel compiling article that someone here gave me (i
>think it might have been Tabatha?) a few months ago... might have been on
>linuxnewbie.org from memory... it was great, step by step *and* included the
>all-important symlink stuff which i hadnt seen before....
>
>hth
>m
>
>
>On Thursday 08 August 2002 07:48, Andrew wrote:
>> Hi All,
>>
>> I may be in deep this time, can't imaging what will happen on
>> next reboot.
>> To answer Malcolm suggestion of sending more info, I need to know is
>> there a simple way to copy text in the gunome terminal window, to a
>> text file,(anything text will do, gedit etc.).
>>
>> 2:14 AM-8/8/02
>> In order to do something today I went ahead and cleaned out
>> all files in /usr/src. Then unpacked a new 2.4.19. Surprisingly I
>> still get "file not found" error on "make dep" after make menuconfig.
>> The original kernel is 2.4.3 Mandrake 8.0.
>>
>> Info:
>>
>> from scriptd/mkdep.c:35
>> /usr/include/bits/local_lim.h36:26: linux/limits.h: Npsuch file or
>> directory make: *** [scripts/mkdep] Error 1
>>
>> For those who have not followed the thread.....
>>
>> I cleaned out the files (in usr/src) and started it
>> again(the kernel up-date), now getting started is a problem, any
>> "make" command yields a "file not found" after 4-5 lines of text. I
>> did go ahead and use "make -i" for each "make" command and now wonder
>> if it was a good idea, Malcolm thinks not. At this point I agree with
>> him. Any one have a clue to this?
> >
> > 1. Even starting over at this point is likely to bring the "file
> > not found" error.(it did) I have done that many times.(and again) Soo
> > how do I copy the text from the terminal to a text editor?(I ended up
>> just typing it in)
>>
>> Better still what is the problem?? Can I "do" "make -i" and
>> get away with it, given the "Info" from the error message above?
>>
>> Thanks,
>> Andrew
>>
>> >On Wed, Aug 07, 2002 at 03:35:50PM +1000, Malcolm Tredinnick wrote:
>> >> Post some more information (like the context just before things blow
>> >> up) and we might be able to solve it here. Building a kernel from source
>> >> is very common and doesn't normally fail, so it's worth persisting with.
>> >
>> >You might also read the excellent description how to build your own
>> >kernel at:
>> >
>> > http://www.linuxchix.org/content/courses/kernel_hacking/
>> >
>> >(Lesson 1: getting the source, lesson 2: configure the kernel, lesson3:
>> >compile it, lesson4: boot it).
>> >
>> >You did make a make (menu|x)?config ?
>> >
>> >cheers,
>> >
>> >Sonja
>> >_______________________________________________
>> >Techtalk mailing list
>> >Techtalk at linuxchix.org
>> >http://mailman.linuxchix.org/mailman/listinfo/techtalk
>
>--
>iriXx
>www.iriXx.org
>
>cat /dev/sda1 > /dev/dsp
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>copyleft: creativity, technology and freedom?
>info at copyleftmedia.org.uk
>www.copyleftmedia.org.uk
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>pgp key at http://www.iriXx.org/pub_key.asc
>_______________________________________________
>Techtalk mailing list
>Techtalk at linuxchix.org
>http://mailman.linuxchix.org/mailman/listinfo/techtalk
--
Have a nice Day!,
Andrew
More information about the Techtalk
mailing list