LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-12-2006, 01:46 PM   #1
Roxxor2
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Rep: Reputation: 15
error when running make menuconfig


I just downloaded the latest full kernel from www.kernel.org and when I run make menuconfig I get this error:
Code:
root@laptop:/home/marc/Desktop/linux-2.6.16.4# make mrproper
  CLEAN   scripts/basic
  CLEAN   scripts/kconfig
  CLEAN   include/asm include/linux/version.h .kernelrelease
root@laptop:/home/marc/Desktop/linux-2.6.16.4# 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
I fil inkluderad från scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:31:20: fel: curses.h: The file or directory does not exist
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:128: error: syntax error before ‘use_colors’
scripts/kconfig/lxdialog/dialog.h:128: warning: type defaults to ‘int’ in declaration of ‘use_colors’
scripts/kconfig/lxdialog/dialog.h:128: warning: datadefinition har ingen typ eller lagringsklass
scripts/kconfig/lxdialog/dialog.h:129: error: syntax error before ‘use_shadow’
scripts/kconfig/lxdialog/dialog.h:129: warning: type defaults to ‘int’ in declaration of ‘use_shadow’
scripts/kconfig/lxdialog/dialog.h:129: warning: datadefinition har ingen typ eller lagringsklass
scripts/kconfig/lxdialog/dialog.h:131: error: syntax error before ‘attributes’
scripts/kconfig/lxdialog/dialog.h:131: warning: type defaults to ‘int’ in declaration of ‘attributes’
scripts/kconfig/lxdialog/dialog.h:131: warning: datadefinition har ingen typ eller lagringsklass
scripts/kconfig/lxdialog/dialog.h:143: error: syntax error before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:143: warning: function declaration isn’t a prototype
scripts/kconfig/lxdialog/dialog.h:146: error: syntax error before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:146: warning: function declaration isn’t a prototype
scripts/kconfig/lxdialog/dialog.h:147: error: syntax error before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:147: warning: function declaration isn’t a prototype
scripts/kconfig/lxdialog/dialog.h:148: error: syntax error before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:148: warning: function declaration isn’t a prototype
scripts/kconfig/lxdialog/dialog.h:149: error: syntax error before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:150: warning: function declaration isn’t a prototype
scripts/kconfig/lxdialog/dialog.h:151: error: syntax error before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:151: warning: function declaration isn’t a prototype
scripts/kconfig/lxdialog/checklist.c:31: error: syntax error before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:33: warning: function declaration isn’t a prototype
scripts/kconfig/lxdialog/checklist.c: In function ‘print_item’:
scripts/kconfig/lxdialog/checklist.c:37: warning: implicit declaration of function ‘wattrset’
scripts/kconfig/lxdialog/checklist.c:37: error: ‘win’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:37: error: (Varje odeklarerad identifierare rapporteras bara
scripts/kconfig/lxdialog/checklist.c:37: error: en gång för varje funktion den finns i.)
scripts/kconfig/lxdialog/checklist.c:38: warning: implicit declaration of function ‘wmove’
scripts/kconfig/lxdialog/checklist.c:38: error: ‘choice’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:40: warning: implicit declaration of function ‘waddch’
scripts/kconfig/lxdialog/checklist.c:43: error: ‘selected’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:44: warning: implicit declaration of function ‘wprintw’
scripts/kconfig/lxdialog/checklist.c:44: error: ‘status’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:47: warning: implicit declaration of function ‘mvwaddch’
scripts/kconfig/lxdialog/checklist.c:47: error: ‘item’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:49: warning: implicit declaration of function ‘waddstr’
scripts/kconfig/lxdialog/checklist.c:52: warning: implicit declaration of function ‘wrefresh’
scripts/kconfig/lxdialog/checklist.c: På toppnivå:
scripts/kconfig/lxdialog/checklist.c:59: error: syntax error before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:61: varning: function declaration isn’t a prototype
scripts/kconfig/lxdialog/checklist.c: In function ‘print_arrows’:
scripts/kconfig/lxdialog/checklist.c:62: error: ‘win’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:62: error: ‘y’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:62: error: ‘x’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:64: error: ‘scroll’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:76: error: ‘height’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:79: error: ‘item_no’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:79: error: ‘choice’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c: På toppnivå:
scripts/kconfig/lxdialog/checklist.c:95: error: syntax error before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:96: warning: function declaration isn’t a prototype
scripts/kconfig/lxdialog/checklist.c: In function ‘print_buttons’:
scripts/kconfig/lxdialog/checklist.c:97: error: ‘width’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:98: error: ‘height’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:100: error: ‘dialog’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:100: error: ‘selected’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c: In function ‘dialog_checklist’:
scripts/kconfig/lxdialog/checklist.c:117: error: ‘WINDOW’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:117: error: ‘dialog’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:117: error: ‘list’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:117: varning: left-hand operand of comma expression has no effect
scripts/kconfig/lxdialog/checklist.c:117: varning: statement with no effect
scripts/kconfig/lxdialog/checklist.c:121: warning: implicit declaration of function ‘endwin’
scripts/kconfig/lxdialog/checklist.c:122: warning: implicit declaration of function ‘fprintf’
scripts/kconfig/lxdialog/checklist.c:122: warning: incompatible implicit declaration of built-in function ‘fprintf’
scripts/kconfig/lxdialog/checklist.c:122: error: ‘stderr’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:140: error: ‘COLS’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:141: error: ‘LINES’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:143: error: ‘stdscr’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function ‘newwin’
scripts/kconfig/lxdialog/checklist.c:146: warning: implicit declaration of function ‘keypad’
scripts/kconfig/lxdialog/checklist.c:146: error: ‘TRUE’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:166: warning: implicit declaration of function ‘subwin’
scripts/kconfig/lxdialog/checklist.c:199: warning: implicit declaration of function ‘wnoutrefresh’
scripts/kconfig/lxdialog/checklist.c:201: warning: implicit declaration of function ‘doupdate’
scripts/kconfig/lxdialog/checklist.c:204: warning: implicit declaration of function ‘wgetch’
scripts/kconfig/lxdialog/checklist.c:211: error: ‘KEY_UP’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:211: error: ‘KEY_DOWN’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:221: error: ‘FALSE’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:222: warning: implicit declaration of function ‘scrollok’
scripts/kconfig/lxdialog/checklist.c:223: warning: implicit declaration of function ‘wscrl’
scripts/kconfig/lxdialog/checklist.c:283: warning: incompatible implicit declaration of built-in function ‘fprintf’
scripts/kconfig/lxdialog/checklist.c:284: warning: implicit declaration of function ‘delwin’
scripts/kconfig/lxdialog/checklist.c:288: error: ‘KEY_LEFT’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:289: error: ‘KEY_RIGHT’ undeclared (first use in this function)
make[2]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2
What's wrong?
 
Old 04-12-2006, 01:53 PM   #2
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Quote:
Originally Posted by Roxxor2
Code:
I fil inkluderad från scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:31:20: fel: curses.h: The file or directory does not exist
What's wrong?
It looks like you don't have a "curses" library installed or at least not curses development files installed.

See if you can install ncurses for your distro. If you post which distro you are running, others running that distro can possibly help out.

Peace...
 
  


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
Kernel 2.4.31 make menuconfig error technician Slackware 4 07-21-2005 10:11 PM
Problems running make menuconfig Menestrel Debian 1 06-06-2005 12:35 AM
Error: make menuconfig Diminished7th Slackware 2 04-16-2005 03:54 AM
Problem running make menuconfig cb9fl Slackware 8 12-07-2004 01:49 AM
make menuconfig ...error st3reo Fedora 0 11-18-2004 07:32 AM

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

All times are GMT -5. The time now is 03:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration