LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   RH9 make menuconfig error: make[1]: *** [lxdialog] Error 1 (https://www.linuxquestions.org/questions/linux-kernel-70/rh9-make-menuconfig-error-make%5B1%5D-%2A%2A%2A-%5Blxdialog%5D-error-1-a-526173/)

rrochele 02-06-2007 03:38 PM

RH9 make menuconfig error: make[1]: *** [lxdialog] Error 1
 
fing linux. always a crapshoot. Anyone have any ide why I get these errors trying to build a new kernel in RH9?


[root@boslxa08 linux-2.4]# 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.20-8/scripts/lxdialog'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o checklist.o checklist.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o menubox.o menubox.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o textbox.o textbox.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o yesno.o yesno.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o inputbox.o inputbox.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o util.o util.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o lxdialog.o lxdialog.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o msgbox.o msgbox.c
gcc -o lxdialog checklist.o menubox.o textbox.o yesno.o inputbox.o util.o lxdialog.o msgbox.o -lncurses
checklist.o(.text+0x832): In function `dialog_checklist':
: undefined reference to `__ctype_toupper'
menubox.o(.text+0x7cf): In function `dialog_menu':
: undefined reference to `__ctype_b'
menubox.o(.text+0x7f6): In function `dialog_menu':
: undefined reference to `__ctype_tolower'
menubox.o(.text+0xec9): In function `dialog_menu':
: undefined reference to `__ctype_tolower'
menubox.o(.text+0xf29): In function `dialog_menu':
: undefined reference to `__ctype_tolower'
inputbox.o(.text+0x56b): In function `dialog_inputbox':
: undefined reference to `__ctype_b'
util.o(.text+0x7a5): In function `first_alpha':
: undefined reference to `__ctype_tolower'
util.o(.text+0x7ec): In function `first_alpha':
: undefined reference to `__ctype_b'
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
make[1]: *** [lxdialog] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/scripts/lxdialog'
make: *** [menuconfig] Error 2

IBall 02-06-2007 07:23 PM

Is there any reason why you are using Redhat 9. Redhat 9 was the last community release of Redhat Linux, and has been superseded by the Fedora Project. Redhat 9 is now very old, and Redhat stopped supporting it several years ago.

I strongly recommend that you upgrade to the latest version of Fedora, which is currently Fedora Core 6. Alternatively, Ubuntu is an excellent distro for newbies. Any current distro has a much more recent kernel release, along with much more recent versions of all other programs.

--Ian

rrochele 02-07-2007 08:58 AM

Thanks. I would prefer Unix but RH9 is what Engineering stuck me with and I can only guess what newbie means

rrochele 02-07-2007 03:39 PM

Fixed. Found that something on a generic mounted /usr/local was not compatable with RH9 apparently. Probably libraries. Used the original /usr/local that was built in the original OS install and the problem went away. Not worth tracking down further.


All times are GMT -5. The time now is 11:20 PM.