Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-13-2004, 04:41 AM
|
#1
|
Member
Registered: Mar 2004
Location: Melton Mowbray England
Distribution: Ubuntu
Posts: 37
Rep:
|
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
|
|
|
04-13-2004, 12:45 PM
|
#2
|
Member
Registered: Apr 2004
Location: Sweden
Posts: 41
Rep:
|
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
|
|
|
04-14-2004, 04:45 AM
|
#3
|
Member
Registered: Mar 2004
Location: Melton Mowbray England
Distribution: Ubuntu
Posts: 37
Original Poster
Rep:
|
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
|
|
|
04-14-2004, 04:50 AM
|
#4
|
Member
Registered: Apr 2004
Location: Moscow, Russia
Distribution: Debian
Posts: 55
Rep:
|
This command:
> grep -i vt .config
means check file ".config" and show lines where "vt" or "VT" or "vT" or "Vt" occurs
|
|
|
04-14-2004, 04:51 AM
|
#5
|
Member
Registered: Apr 2004
Location: Moscow, Russia
Distribution: Debian
Posts: 55
Rep:
|
The file is .config (not vt.config or something)
|
|
|
04-14-2004, 04:21 PM
|
#6
|
Member
Registered: Apr 2004
Location: Sweden
Posts: 41
Rep:
|
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
|
|
|
04-17-2004, 02:11 AM
|
#7
|
Member
Registered: Mar 2004
Location: Melton Mowbray England
Distribution: Ubuntu
Posts: 37
Original Poster
Rep:
|
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 10:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|