| View previous topic :: View next topic |
| Author |
Message |
Gweniviere n00b


Joined: 13 Sep 2002 Posts: 47 Location: Minneapolis, MN USA
|
Posted: Thu Dec 05, 2002 2:55 am Post subject: My kernel xconfig is gone.... |
|
|
Hi. I hope this is the appropriate forum for this topic....
I went to re-compile my kernel today to add some support for lm_sensors and did the standard make xconfig in my /usr/src/linux/ directory and this is what I got...
bash-2.05b# make xconfig
make: *** No rule to make target `xconfig'. Stop.
So I tried make menuconfig and got the same error.
I have compiled kernels on this machine before and everything has been fine up to this point. Does anyone have any suggestions as to what happened and what I should do to fix the problem?
Thanks in advance.
Gwen |
|
| Back to top |
|
 |
ebrostig Bodhisattva


Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Thu Dec 05, 2002 3:07 am Post subject: Re: My kernel xconfig is gone.... |
|
|
| Gweniviere wrote: | Hi. I hope this is the appropriate forum for this topic....
I went to re-compile my kernel today to add some support for lm_sensors and did the standard make xconfig in my /usr/src/linux/ directory and this is what I got...
bash-2.05b# make xconfig
make: *** No rule to make target `xconfig'. Stop.
So I tried make menuconfig and got the same error.
I have compiled kernels on this machine before and everything has been fine up to this point. Does anyone have any suggestions as to what happened and what I should do to fix the problem?
Thanks in advance.
Gwen |
Hard to say without looking for missing files.
Why don't you do the following:
1. cp /usr/src/linux/.config ~
2. ebuild /usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10 install
3. cp ~/.config /usr/src/linux
4. cd /usr/src/linux
5. make xconfig
This should unpack the source tar ball again if you have the file in /usr/portage/distfiles, if not, it'll download it first.
The copy steps just make a copy of your current configuration and copies it back afterwrads. This will save you from reconfiguring everything.
Erik |
|
| Back to top |
|
 |
li1_getoo l33t


Joined: 20 Oct 2002 Posts: 661 Location: Queens , NY
|
Posted: Thu Dec 05, 2002 7:39 am Post subject: |
|
|
mount /boot  |
|
| Back to top |
|
 |
Gweniviere n00b


Joined: 13 Sep 2002 Posts: 47 Location: Minneapolis, MN USA
|
Posted: Thu Dec 05, 2002 12:32 pm Post subject: Re: My kernel xconfig is gone.... |
|
|
| ebrostig wrote: |
1. cp /usr/src/linux/.config ~
2. ebuild /usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10 install
3. cp ~/.config /usr/src/linux
4. cd /usr/src/linux
5. make xconfig
This should unpack the source tar ball again if you have the file in /usr/portage/distfiles, if not, it'll download it first.
The copy steps just make a copy of your current configuration and copies it back afterwrads. This will save you from reconfiguring everything.
Erik |
I did what you suggested and then did
ln -s linux-2.4.19-gentoo-r10 linux
Now everything is working fine again. Now I need to add my patches and I will be happy again. Thank you Erik.
Gwen |
|
| Back to top |
|
 |
Gweniviere n00b


Joined: 13 Sep 2002 Posts: 47 Location: Minneapolis, MN USA
|
Posted: Thu Dec 05, 2002 4:38 pm Post subject: |
|
|
Hi. I am back. Now that I can compile a kernel again I am getting a bunch of depmod errors... For example....
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/adm1021.o
All of them are in the /lib/modules/2.4.19-gentoo-r10/misc directory. I have never had these before. Did I do something wrong?
Gwen |
|
| Back to top |
|
 |
|