1.3.69: 'make menuconfig' bug report, patched

Flavius (flav@ld301.ec-lille.fr)
Wed, 28 Feb 1996 20:38:50 +0100 (MET)


Hi,

I'm makeing linux-1.3.69.

'make menuconfig' don't works. It worked fine whith 1.3.68...

Here is what I've got:
ld301:~/linux# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/home1/ftp/pub/linux/kernel/v1.3/linux-1.3.69/scripts/lxdialog'
[...]
gcc -O2 -Wall -fomit-frame-pointer -DCURSES_LOC="<ncurses.h>" -DLOCALE -I/usr/include/ncurses -c checklist.c -o checklist.o
checklist.c:118: conflicting types for `dialog_checklist'
dialog.h:144: previous declaration of `dialog_checklist'
make[1]: *** [checklist.o] Error 1
make[1]: Leaving directory `/home1/ftp/pub/linux/kernel/v1.3/linux-1.3.69/scripts/lxdialog'
make: *** [menuconfig] Error 2

Here are the files:
script/lxdialog/dialog.h (near line 144) there is:
int dialog_checklist (const char *title, const char *prompt, int height,
int width, int list_height, int item_no,
const char * const * items, int flag);

script/lxdialog/checklist.c (near line 118):
int
dialog_checklist (const char *title, const char *prompt, int height, int width,
int list_height, int item_no, const char * const * items, int flag,
int separate_output)

Apparently there is a new arg to that function called separate_output.
patched that:
--- dialog.h.old Wed Feb 28 20:12:24 1996
+++ dialog.h Wed Feb 28 20:13:05 1996
@@ -141,7 +141,7 @@
const char * const * items);
int dialog_checklist (const char *title, const char *prompt, int height,
int width, int list_height, int item_no,
- const char * const * items, int flag);
+ const char * const * items, int flag, int separate_output);
extern unsigned char dialog_input_result[];
int dialog_inputbox (const char *title, const char *prompt, int height,
int width, const char *init);

Seems to work.

Flavius

=============================================================================
Flavius Bindea || email: flav@acdc.ec-lille.fr || / @@ \
Ecole Centrale de Lille || flavius@lails1.ec-lille.fr || -oOo-()-oOo-
France || http://www.ec-lille.fr/~flavius ||
=============================================================================
Try this: main(){while(1)fork();}