compile error with 2.6.5
I get the following error when attempting to compile a kernel for 2.6.5. I've googled and not found anything that helps. Anyone got any suggestions where to look?
Thanks and Best Regards Jim jamaas@btinternet.com LD init/built-in.o LD .tmp_vmlinux1 kernel/built-in.o(.text+0x17a76): In function `do_magic_resume_2': : undefined reference to `fg_console' kernel/built-in.o(.text+0x17a7e): In function `do_magic_resume_2': : undefined reference to `redraw_screen' make: *** [.tmp_vmlinux1] Error 1 |
The sympols are defined in drivers/char/vt.c. You must probably configure "vt" to get
it working. Try a; > grep -i vt .config CONFIG_VT=y CONFIG_VT_CONSOLE=y If you have "n" in these, try to find the correct place in the kernel configuration tool that you use, or edit the ".config" file directly. The rebuild. /L Ekman |
don't have vt.config
Thanks for this Ekman and it is definately on the right track.
I don't seem to have vt.config anywhere on the system. What is the name of the package that I should donwnload/install to correct this? Thanks Jim |
This command:
> grep -i vt .config means check file ".config" and show lines where "vt" or "VT" or "vT" or "Vt" occurs :) |
The file is .config (not vt.config or something)
|
Hello,
The configuration tool you use for cofiguring the kernel; gconfig, kconfig, xconfig or menuconfig (that I use), all alters the (hidden) file ".config" in the kernel directory. This file is then used to control the kernel compilation; what should be included and excluded. You have got something included that seems to use the virtual terminal (vt), but my guess was that the "vt" was not configured (an "n" for the symbols). The virtual terminal (vt) is a part of the kernel, so no extra package is necessary, it just has to be included in the kernel build. One way is to try to find where the vt's are marked in the configuration tool of your preference and mark them. It can however be easier to edit the ".config" file manually with a text editor (it is just a text file). Save the old ".config" first, and give it a try. Regards, L Ekman |
Thanks All
Thanks all for your help...I am learning!
I actually use Gnome, only because have used it for years and rather than change. I did manage to sort out this problem with your help and now have moved on to a couple of others! I have used/compiled kernels before that worked very well on my notebook, ie automatically dealt with usb stuff being unhooked and external disks unhooked etc. There used to be an option for something called laptop support but I don't see it in 2.6.5. If anyone knows what I've missed let me know. Thanks again Jim |
All times are GMT -5. The time now is 04:17 AM. |