LinuxQuestions.org
Help answer threads with 0 replies.
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-18-2004, 11:47 PM   #1
Abe_the_Man
Member
 
Registered: Jul 2003
Location: Oshawa, Ontario, Canada
Distribution: ?????
Posts: 324

Rep: Reputation: 30
make menuconfig errors


i'm trying a new distro called Cobind desktop, it is based on fedora core one. I have compiled my own kernel dozens of times, but when i do 'make menuconfig' in this distro, i get the following message:

[root@localhost linux]# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.25/scripts/lxdialog'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC="<curses.h>" -c -o checklist.o checklist.c
In file included from checklist.c:24:
dialog.h:29:20: curses.h: No such file or directory
In file included from checklist.c:24:
dialog.h:127: error: syntax error before "use_colors"
dialog.h:127: warning: type defaults to `int' in declaration of `use_colors'
dialog.h:127: warning: data definition has no type or storage class
dialog.h:128: error: syntax error before "use_shadow"
dialog.h:128: warning: type defaults to `int' in declaration of `use_shadow'
dialog.h:128: warning: data definition has no type or storage class
dialog.h:130: error: syntax error before "attributes"
dialog.h:130: warning: type defaults to `int' in declaration of `attributes'
dialog.h:130: warning: data definition has no type or storage class
dialog.h:143: error: syntax error before '*' token
dialog.h:143: warning: function declaration isn't a prototype
dialog.h:146: error: syntax error before '*' token
dialog.h:146: warning: function declaration isn't a prototype
dialog.h:147: error: syntax error before '*' token
dialog.h:147: warning: function declaration isn't a prototype
dialog.h:148: error: syntax error before '*' token
dialog.h:149: warning: function declaration isn't a prototype
dialog.h:150: error: syntax error before '*' token
dialog.h:150: warning: function declaration isn't a prototype
checklist.c:32: error: syntax error before '*' token
checklist.c:34: warning: function declaration isn't a prototype
checklist.c: In function `print_item':
checklist.c:38: warning: implicit declaration of function `wattrset'
checklist.c:38: error: `win' undeclared (first use in this function)
checklist.c:38: error: (Each undeclared identifier is reported only once
checklist.c:38: error: for each function it appears in.)
checklist.c:39: warning: implicit declaration of function `wmove'
checklist.c:39: error: `choice' undeclared (first use in this function)
checklist.c:41: warning: implicit declaration of function `waddch'
checklist.c:44: error: `selected' undeclared (first use in this function)
checklist.c:46: warning: implicit declaration of function `wprintw'
checklist.c:46: error: `status' undeclared (first use in this function)
checklist.c:51: warning: implicit declaration of function `mvwaddch'
checklist.c:51: error: `item' undeclared (first use in this function)
checklist.c:53: warning: implicit declaration of function `waddstr'
checklist.c:56: warning: implicit declaration of function `wrefresh'
checklist.c: At top level:
checklist.c:64: error: syntax error before '*' token
checklist.c:66: warning: function declaration isn't a prototype
checklist.c: In function `print_arrows':
checklist.c:67: error: `win' undeclared (first use in this function)
checklist.c:67: error: `y' undeclared (first use in this function)
checklist.c:67: error: `x' undeclared (first use in this function)
checklist.c:69: error: `scroll' undeclared (first use in this function)
checklist.c:82: error: `height' undeclared (first use in this function)
checklist.c:85: error: `item_no' undeclared (first use in this function)
checklist.c:85: error: `choice' undeclared (first use in this function)
checklist.c: At top level:
checklist.c:103: error: syntax error before '*' token
checklist.c:104: warning: function declaration isn't a prototype
checklist.c: In function `print_buttons':
checklist.c:105: error: `width' undeclared (first use in this function)
checklist.c:106: error: `height' undeclared (first use in this function)
checklist.c:108: error: `dialog' undeclared (first use in this function)
checklist.c:108: error: `selected' undeclared (first use in this function)
checklist.c: In function `dialog_checklist':
checklist.c:126: error: `WINDOW' undeclared (first use in this function)
checklist.c:126: error: `dialog' undeclared (first use in this function)
checklist.c:126: error: `list' undeclared (first use in this function)
checklist.c:126: warning: left-hand operand of comma expression has no effect
checklist.c:132: warning: implicit declaration of function `endwin'
checklist.c:133: warning: implicit declaration of function `fprintf'
checklist.c:133: error: `stderr' undeclared (first use in this function)
checklist.c:148: error: `COLS' undeclared (first use in this function)
checklist.c:149: error: `LINES' undeclared (first use in this function)
checklist.c:151: error: `stdscr' undeclared (first use in this function)
checklist.c:153: warning: implicit declaration of function `newwin'
checklist.c:154: warning: implicit declaration of function `keypad'
checklist.c:154: error: `TRUE' undeclared (first use in this function)
checklist.c:187: warning: implicit declaration of function `subwin'
checklist.c:219: warning: implicit declaration of function `wnoutrefresh'
checklist.c:221: warning: implicit declaration of function `doupdate'
checklist.c:224: warning: implicit declaration of function `wgetch'
checklist.c:231: error: `KEY_UP' undeclared (first use in this function)
checklist.c:231: error: `KEY_DOWN' undeclared (first use in this function)
checklist.c:241: error: `FALSE' undeclared (first use in this function)
checklist.c:242: warning: implicit declaration of function `scrollok'
checklist.c:243: warning: implicit declaration of function `wscrl'
checklist.c:270: error: called object is not a function
checklist.c:305: warning: implicit declaration of function `delwin'
checklist.c:309: error: `KEY_LEFT' undeclared (first use in this function)
checklist.c:310: error: `KEY_RIGHT' undeclared (first use in this function)
checklist.c: At top level:
dialog.h:130: warning: array `attributes' assumed to have one element
make[1]: *** [checklist.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.25/scripts/lxdialog'
make: *** [menuconfig] Error 2
[root@localhost linux]#

I thought perhaps that my download was corrupt, so i downloaded twice more from kernel.org (i tried kernel 2.4.25 and two 2.6.5 downloads) but i still get the same error. I'm puzzeled as to what is wrong. Any help will be appreciated. Thanks!

Last edited by Abe_the_Man; 04-18-2004 at 11:49 PM.
 
Old 04-19-2004, 12:32 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
My guess would be you need to update ncurses.
 
Old 04-19-2004, 12:53 AM   #3
Abe_the_Man
Member
 
Registered: Jul 2003
Location: Oshawa, Ontario, Canada
Distribution: ?????
Posts: 324

Original Poster
Rep: Reputation: 30
i updated ncurses to the lates (5.4, it was 5.3.9), still getting the same error.
 
Old 04-19-2004, 09:02 AM   #4
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Have you tried make config, make xconfig, or make gconfig instead? Not that this would necessarily solve your problem with make menuconfig, but it might let you get on with compiling the kernel, which is after all the whole point .
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
make: *** No rule to make target `menuconfig' Ezzy Linux - Newbie 3 04-21-2005 09:21 AM
Compiling the Kernel - errors in make menuconfig ARCH=um donoh Ubuntu 2 04-11-2005 01:43 PM
Errors Trying to "make menuconfig" kernel-source-2.6.10 Royle Debian 2 02-14-2005 06:53 AM
make xconfig/make menuconfig don't work acidblue Debian 2 07-27-2004 07:36 AM
make menuconfig errors SiQDiZ Debian 3 06-01-2004 01:56 AM

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

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