LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-15-2006, 11:46 PM   #1
ibvinoj
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Rep: Reputation: 0
linux-2.6.16 compile error - while make menuconfig


I am having the following error while running 'make menuconfig'

I have installed libncurses5-dev too

pls help

regards
vinoj

zam:/usr/src# uname -a
Linux zam 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i686 GNU/Linux

zam:/usr/src# ls -l /usr/src/linux
lrwxrwxrwx 1 root src 12 2006-04-16 11:18 /usr/src/linux -> linux-2.6.16

zam:/usr/src/linux# make menuconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/mconf
HOSTCC scripts/kconfig/lxdialog/checklist.o
scripts/kconfig/lxdialog/checklist.c: In function `print_item':
scripts/kconfig/lxdialog/checklist.c:37: error: `menubox_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:37: error: (Each undeclared identifier is reported only once
scripts/kconfig/lxdialog/checklist.c:37: error: for each function it appears in.)
scripts/kconfig/lxdialog/checklist.c:43: error: `check_selected_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:43: error: `check_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:46: error: `tag_selected_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:46: error: `tag_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:48: error: `item_selected_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:48: error: `item_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c: In function `print_arrows':
scripts/kconfig/lxdialog/checklist.c:65: error: `uarrow_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:69: error: `menubox_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:80: error: `darrow_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:84: error: `menubox_border_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c: In function `print_buttons':
scripts/kconfig/lxdialog/checklist.c:100: warning: implicit declaration of function `print_button'
scripts/kconfig/lxdialog/checklist.c: In function `dialog_checklist':
scripts/kconfig/lxdialog/checklist.c:120: warning: implicit declaration of function `malloc'
scripts/kconfig/lxdialog/checklist.c:120: warning: assignment makes pointer from integer without a cast
scripts/kconfig/lxdialog/checklist.c:124: warning: implicit declaration of function `exit'
scripts/kconfig/lxdialog/checklist.c:129: warning: implicit declaration of function `strcasecmp'
scripts/kconfig/lxdialog/checklist.c:137: warning: implicit declaration of function `MIN'
scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function `draw_shadow'
scripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of function `draw_box'
scripts/kconfig/lxdialog/checklist.c:148: error: `dialog_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:148: error: `border_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:156: warning: implicit declaration of function `print_title'
scripts/kconfig/lxdialog/checklist.c:159: warning: implicit declaration of function `print_autowrap'
scripts/kconfig/lxdialog/checklist.c:173: error: `menubox_border_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:173: error: `menubox_attr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:178: warning: implicit declaration of function `MAX'
scripts/kconfig/lxdialog/checklist.c:178: warning: implicit declaration of function `strlen'
scripts/kconfig/lxdialog/checklist.c:203: error: `ESC' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:207: warning: implicit declaration of function `toupper'
scripts/kconfig/lxdialog/checklist.c:285: warning: implicit declaration of function `free'
scripts/kconfig/lxdialog/checklist.c:287: error: `TAB' undeclared (first use in this function)
make[2]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2
 
Old 04-16-2006, 04:31 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Not sure. If you have ncurses-devel installed it should work. Try running 'ldconfig' and see if it works.
How did you install ncurses-devel? If it is in a non-standard place then add the directory to /etc/ld.so.conf
and run ldconfig again...
 
Old 04-17-2006, 11:32 PM   #3
ibvinoj
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Original Poster
Rep: Reputation: 0
thanks for the reply.
details of Ncurses installed on my machine below

zam:/usr/src/linux-2.6.16# dpkg -l '*ncurs*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
un libncurses-dev <none> (no description available)
ii libncurses5 5.5-1.1 Shared libraries for terminal handling
ii libncurses5-db 5.5-1.1 Debugging/profiling libraries for ncurses
ii libncurses5-de 5.5-1.1 Developer's libraries and docs for ncurses
ii libncursesw5 5.5-1.1 Shared libraries for terminal handling (wide
ii libncursesw5-d 5.5-1.1 Developer's libraries for ncursesw
un ncurses <none> (no description available)
ii ncurses-base 5.5-1.1 Descriptions of common terminal types
ii ncurses-bin 5.5-1.1 Terminal-related programs and man pages
un ncurses-dev <none> (no description available)
un ncurses-develo <none> (no description available)
un ncurses-runtim <none> (no description available)
ii ncurses-term 5.5-1.1 Additional terminal type definitions


I am still getting the same error.

Vinoj
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make menuconfig bring up an error paranoid times Linux - Software 1 10-12-2005 07:11 AM
Kernel Compile Menuconfig Error Xian Debian 6 09-06-2005 05:03 PM
Kernel 2.4.31 make menuconfig error technician Slackware 4 07-21-2005 10:11 PM
Error: make menuconfig Diminished7th Slackware 2 04-16-2005 03:54 AM
make menuconfig ...error st3reo Fedora 0 11-18-2004 07:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:22 AM.

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