LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-21-2006, 03:44 PM   #1
TrAvIkK
Member
 
Registered: May 2006
Distribution: Lovley Debian etch :)
Posts: 47

Rep: Reputation: 15
Compiling 2.6.19 on debian


Hi there!
When i'm trying to make menuconfig (make xconfig not working for me - don't have QT) i got a lot of errors:

Code:
HOSTCC  scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: curses.h: Nie ma takiego pliku ani katalogu
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: syntax error before "chtype"
scripts/kconfig/lxdialog/dialog.h:97: warning: no semicolon at end of struct or union
scripts/kconfig/lxdialog/dialog.h:101: error: syntax error before '}' token
scripts/kconfig/lxdialog/dialog.h:105: error: field `screen' has incomplete typescripts/kconfig/lxdialog/dialog.h:106: error: field `shadow' has incomplete typescripts/kconfig/lxdialog/dialog.h:107: error: field `dialog' has incomplete typescripts/kconfig/lxdialog/dialog.h:108: error: field `title' has incomplete type
scripts/kconfig/lxdialog/dialog.h:109: error: field `border' has incomplete typescripts/kconfig/lxdialog/dialog.h:110: error: field `button_active' has incomplete type
[...]
scripts/kconfig/lxdialog/checklist.c:293: warning: implicit declaration of function `delwin'
scripts/kconfig/lxdialog/checklist.c:297: error: `KEY_LEFT' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:298: error: `KEY_RIGHT' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:312: error: `KEY_RESIZE' undeclared (first use in this function)
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make: *** [menuconfig] Error 2
When i'm trying make config everything is okay, but i do not want to use that one :P It's ugly for me...
 
Old 12-21-2006, 04:17 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
First, try running
Code:
export LC_ALL=C
export LANG=C
before saving any error output to post on forum.

Second, install curses. It should be like apt-get curses. Also, if you have gtk, you have chance of succeeding with make gconfig.
 
Old 12-22-2006, 03:45 AM   #3
TrAvIkK
Member
 
Registered: May 2006
Distribution: Lovley Debian etch :)
Posts: 47

Original Poster
Rep: Reputation: 15
I don't have internet connection on linux yet, so i cannot run apt-get
I don't have GTK2.
 
Old 12-22-2006, 03:51 AM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Well, then try to find it on installation CD's or download from Windows.. Installation should be done with dpkg or dpkg-something, but I don't know parameters.
 
Old 12-22-2006, 04:46 AM   #5
TrAvIkK
Member
 
Registered: May 2006
Distribution: Lovley Debian etch :)
Posts: 47

Original Poster
Rep: Reputation: 15
OKay i've got it, but nwo errors are:

Code:
scripts/kconfig/lxdialog/checklist.o(.text+0xdb8): In function `dialog_checklist':
: undefined reference to `wscrl'
[...]
: undefined reference to `acs_map'
scripts/kconfig/lxdialog/util.o(.text+0x12dc): more undefined references to `acs_map' follow
scripts/kconfig/lxdialog/util.o(.text+0x1314): In function `draw_shadow':
: undefined reference to `has_colors'
scripts/kconfig/lxdialog/util.o(.text+0x1345): In function `draw_shadow':
: undefined reference to `wmove'
[...]
: undefined reference to `delwin'
scripts/kconfig/lxdialog/menubox.o(.text+0xee1): In function `dialog_menu':
: undefined reference to `delwin'
scripts/kconfig/lxdialog/menubox.o(.text+0xeed): In function `dialog_menu':
: undefined reference to `delwin'
scripts/kconfig/lxdialog/menubox.o(.text+0xfda): In function `dialog_menu':
: undefined reference to `delwin'
scripts/kconfig/lxdialog/menubox.o(.text+0xfe6): more undefined references to `delwin' follow
scripts/kconfig/lxdialog/menubox.o(.text+0x13c): In function `do_print_item':
: undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o(.text+0x2ad): In function `print_arrows':
: undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o(.text+0x409): In function `print_buttons':
: undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o(.text+0x46c): In function `do_scroll':
: undefined reference to `wrefresh'
collect2: ld returned 1 exit status
make[1]: *** [scripts/kconfig/mconf] Error 1
make: *** [menuconfig] Error 2
(i cannot see what's before first line, i've pasted here.)
 
Old 12-22-2006, 04:59 AM   #6
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
What about running 'make &>make.log' and posting everything after 5-th line above first "error"?
 
Old 12-22-2006, 05:29 AM   #7
TrAvIkK
Member
 
Registered: May 2006
Distribution: Lovley Debian etch :)
Posts: 47

Original Poster
Rep: Reputation: 15
You meant make menuconfig&>make.log ofcourse, right ?

it gives me the same...
(don't see any "errors")
 
Old 12-23-2006, 04:06 AM   #8
TrAvIkK
Member
 
Registered: May 2006
Distribution: Lovley Debian etch :)
Posts: 47

Original Poster
Rep: Reputation: 15
OKay, i've handled it!
I just did not installed libncurses :P
 
Old 01-24-2007, 02:22 PM   #9
myrons41
LQ Newbie
 
Registered: Nov 2002
Location: Zagreb, Croatia
Distribution: Suse 10.2
Posts: 8

Rep: Reputation: 0
Right.
I had very similar errors and the instalation of ncurses-devel solved it for me too on Suse 10.2.
I only wish to thank the people maintaining this forum.
 
Old 01-29-2008, 03:39 PM   #10
disceptator
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
thx lots for this, helped me alot

Centos 5
needed to: yum install ncurses-devel
to get past it.

Last edited by disceptator; 01-29-2008 at 03:44 PM.
 
  


Reply



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
Compiling PHP on Debian j@ckrabbit Debian 1 10-28-2005 02:43 PM
[SOLVED] compiling kernel in debian bwaynej2002 Debian 5 10-11-2005 09:00 PM
Compiling kernal in Debian 3.0 swmok Debian 2 03-31-2005 06:17 AM
Compiling the debian way element Debian 2 03-21-2004 06:22 AM
Compiling on Debian beta Linux - Distributions 0 06-28-2001 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:45 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