My comments preceeded by GRiPZ> On Sun, 16 Dec 2001, DaZZa wrote:
> When I run "make menuconfig", I get the top level menu for configuring > your kernel makefile. The one with the main options - Code Maturity level, > loadable module support etc. > > Or at least I used to. Now that I've stuffed with lxdialog, I get a load > of junk about undeclaired symbols and the like - I'll see if I can snip > it. This still happens for 2.4.14 - I've obviously broken something in the > 2.4.10 kernel source tree I'll have to work on. > > [2.4.10] > fred:/usr/src/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.10.SuSE/scripts/lxdialog' > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE > -I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>" -c -o checklist.o > checklist.c > In file included from checklist.c:24: > dialog.h:130: parse 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: parse error before `chtype' > dialog.h:143: warning: function declaration isn't a prototype > dialog.h:148: parse error before `chtype' > dialog.h:149: warning: function declaration isn't a prototype GRiPZ> yep some header missing... sure you need lxdialog and not dialog? I dunno it's been a while since I've had such a mess. > checklist.c: In function `print_item': > checklist.c:38: warning: implicit declaration of function `wattrset' > checklist.c: In function `dialog_checklist': > checklist.c:154: warning: implicit declaration of function `keypad' > checklist.c:219: warning: implicit declaration of function `wnoutrefresh' > checklist.c:221: warning: implicit declaration of function `doupdate' > checklist.c:231: `KEY_UP' undeclared (first use in this function) > checklist.c:231: (Each undeclared identifier is reported only once > checklist.c:231: for each function it appears in.) > checklist.c:231: `KEY_DOWN' undeclared (first use in this function) > checklist.c:243: warning: implicit declaration of function `wscrl' > checklist.c:270: called object is not a function > checklist.c:309: `KEY_LEFT' undeclared (first use in this function) > checklist.c:310: `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.10.SuSE/scripts/lxdialog' > make: *** [menuconfig] Error 2 > > in 2.4.14, selecting _any_ submenu option from this point resulted in an > error screen informing me that I've got a problem with the lxdialog > companion utility, and I get this. > > > There seems to be a problem with the lxdialog companion utility which is > built prior to running Menuconfig. Usually this is an indicator that you > have upgraded/downgraded your ncurses libraries and did not remove the > old ncurses header file(s) in /usr/include or /usr/include/ncurses. > > It is VERY important that you have only one set of ncurses header files > and that those files are properly version matched to the ncurses libraries > installed on your machine. > > You may also need to rebuild lxdialog. This can be done by moving to > the /usr/src/linux/scripts/lxdialog directory and issuing the > "make clean all" command. > > If you have verified that your ncurses install is correct, you may email > the maintainer <[EMAIL PROTECTED]> or post a message to > <[EMAIL PROTECTED]> for additional assistance. > > make: *** [menuconfig] Error 139 > fred:/usr/src/linux # > > Not ncurses *is* installed via RPM - as far as I know, there's no > possibility of mis-matching the header files with the library versions. > > If I try and follow those instructions and rebuild lxdialog, I get this > > fred:/usr/src/linux/scripts/lxdialog # make clean all > rm -f core *.o *~ lxdialog > /bin/sh: -lncurses: command not found GRiPZ> Right from your first message the "command not found" bit bothered me. compilier/linker/library utilities may have gone awol. > >> Unable to find the Ncurses libraries. > >> > >> You must have Ncurses installed in order > >> to use 'make menuconfig' > > make: *** [ncurses] Error 1 > fred:/usr/src/linux/scripts/lxdialog # > > And I'm back where I started from. > > Is that providing any more light? I'm afraid it's still very dark. Something isn't *clean* and the source/includes/libaries all need checking, possibly by doing a few "rpm -qf /usr/src/...." and then "rpm -V packagename" or quite probably removing a few & manually cleaning out the directories check with "rpm -qpl package_file_name" move away old includes & stuff. Verify you haven't got 2 versions of something installed (I know RPM's not supposed to let you get to that stage but it can happen if you use --force). -- ---<GRiP>--- Web: www.arcadia.au.com/gripz Phone/fax: 02 4950 1194 Mobile: 0408 686 201 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
