kompilacja jadra
: 23 września 2007, 12:13
mam problem z konfiguracja jadra po rozpakowaniu jadra i probie wykonannia menuconfig czy xconfig wyskakuja mi bledy. dziala tylko config. co mam teraz zrobic aby uruchomic menuconfig??
Poprawiłem tagi.
Kaka'
Kod: Zaznacz cały
debian:/usr/src/linux-2.2.26# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Wejście do katalogu `/usr/src/linux-2.2.26/scripts/lxdialog'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC="<curses.h>" -c -o lxdialog.o lxdialog.c
In file included from lxdialog.c:22:
dialog.h:29:20: error: curses.h: Nie ma takiego pliku ani katalogu
In file included from lxdialog.c:22:
dialog.h:127: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_colors’
dialog.h:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_shadow’
dialog.h:130: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attributes’
dialog.h:143: error: expected ‘ ;) ’ before ‘*’ token
dialog.h:146: error: expected ‘ ;) ’ before ‘*’ token
dialog.h:147: error: expected ‘ ;) ’ before ‘*’ token
dialog.h:148: error: expected ‘ ;) ’ before ‘*’ token
dialog.h:150: error: expected ‘ ;) ’ before ‘*’ token
lxdialog.c: In function ‘main’:
lxdialog.c:97: warning: implicit declaration of function ‘refresh’
lxdialog.c:131: warning: implicit declaration of function ‘attr_clear’
lxdialog.c:131: error: ‘stdscr’ undeclared (first use in this function)
lxdialog.c:131: error: (Each undeclared identifier is reported only once
lxdialog.c:131: error: for each function it appears in.)
lxdialog.c:131: error: ‘LINES’ undeclared (first use in this function)
lxdialog.c:131: error: ‘COLS’ undeclared (first use in this function)
lxdialog.c:131: error: ‘attributes’ undeclared (first use in this function)
lxdialog.c: In function ‘Usage’:
lxdialog.c:145: warning: implicit declaration of function ‘fprintf’
lxdialog.c:145: warning: incompatible implicit declaration of built-in function ‘fprintf’
lxdialog.c:145: error: ‘stderr’ undeclared (first use in this function)
lxdialog.c: In function ‘j_inputbox’:
lxdialog.c:211: warning: incompatible implicit declaration of built-in function ‘fprintf’
lxdialog.c:211: error: ‘stderr’ undeclared (first use in this function)
lxdialog.c:211: warning: pointer targets in passing argument 2 of ‘fprintf’ differ in signedness
make[1]: *** [lxdialog.o] Błąd 1
make[1]: Opuszczenie katalogu `/usr/src/linux-2.2.26/scripts/lxdialog'
make: *** [menuconfig] Błąd 2
Poprawiłem tagi.
Kaka'