LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-13-2004, 04:41 AM   #1
jamaas
Member
 
Registered: Mar 2004
Location: Melton Mowbray England
Distribution: Ubuntu
Posts: 37

Rep: Reputation: 15
Unhappy 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
 
Old 04-13-2004, 12:45 PM   #2
ekman
Member
 
Registered: Apr 2004
Location: Sweden
Posts: 41

Rep: Reputation: 15
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
 
Old 04-14-2004, 04:45 AM   #3
jamaas
Member
 
Registered: Mar 2004
Location: Melton Mowbray England
Distribution: Ubuntu
Posts: 37

Original Poster
Rep: Reputation: 15
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
 
Old 04-14-2004, 04:50 AM   #4
Mr.Bill.Gates
Member
 
Registered: Apr 2004
Location: Moscow, Russia
Distribution: Debian
Posts: 55

Rep: Reputation: 15
This command:

> grep -i vt .config

means check file ".config" and show lines where "vt" or "VT" or "vT" or "Vt" occurs
 
Old 04-14-2004, 04:51 AM   #5
Mr.Bill.Gates
Member
 
Registered: Apr 2004
Location: Moscow, Russia
Distribution: Debian
Posts: 55

Rep: Reputation: 15
The file is .config (not vt.config or something)
 
Old 04-14-2004, 04:21 PM   #6
ekman
Member
 
Registered: Apr 2004
Location: Sweden
Posts: 41

Rep: Reputation: 15
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
 
Old 04-17-2004, 02:11 AM   #7
jamaas
Member
 
Registered: Mar 2004
Location: Melton Mowbray England
Distribution: Ubuntu
Posts: 37

Original Poster
Rep: Reputation: 15
Smile 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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Error Renegade498 Linux - General 3 03-24-2005 08:50 PM
compile error... apenguinlinux Programming 0 02-07-2005 06:06 AM
compile error usa1234 Linux - Software 1 10-20-2004 02:53 AM
compile error: #error unknown processor family kmack2001 Linux - Newbie 0 02-14-2004 12:52 PM
Alsa compile error, and a WINE error scheidel21 Linux - Software 1 12-08-2003 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration