Strona 1 z 1

kompilacja jadra

: 23 września 2007, 12:13
autor: szuwar7
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??

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 &#8216 ;) ’ before ‘*’ token
dialog.h:146: error: expected &#8216 ;) ’ before ‘*’ token
dialog.h:147: error: expected &#8216 ;) ’ before ‘*’ token
dialog.h:148: error: expected &#8216 ;) ’ before ‘*’ token
dialog.h:150: error: expected &#8216 ;) ’ 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'

: 23 września 2007, 12:25
autor: Tomipnh
Zainstaluj ncruses.

Pozdrawiam, Tomipnh

: 23 września 2007, 12:50
autor: szuwar7
rozumiem ze chodzilo o ncurses, ale juz byl zainstalowany.

: 23 września 2007, 13:05
autor: Tomipnh
Oczywiście ncurses-dev też masz, prawda?

: 23 września 2007, 13:54
autor: ruun
szuwar7, do czego potrzebujesz takiego starego jądra?

: 23 września 2007, 15:24
autor: szuwar7
ok wlasnie tego mi brakowalo... a co do jadra to wczesniej probowalem na 2.6.22.6 i byl ten sam problem wiec chcialem sprobowac na innym...