kompilacja jadra

Ogólne pytania dotyczące systemu
szuwar7
Posty: 29
Rejestracja: 09 czerwca 2007, 19:18

kompilacja jadra

Post 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'
Tomipnh
Posty: 35
Rejestracja: 16 września 2007, 15:02
Lokalizacja: Siedlce

Post autor: Tomipnh »

Zainstaluj ncruses.

Pozdrawiam, Tomipnh
szuwar7
Posty: 29
Rejestracja: 09 czerwca 2007, 19:18

Post autor: szuwar7 »

rozumiem ze chodzilo o ncurses, ale juz byl zainstalowany.
Tomipnh
Posty: 35
Rejestracja: 16 września 2007, 15:02
Lokalizacja: Siedlce

Post autor: Tomipnh »

Oczywiście ncurses-dev też masz, prawda?
Awatar użytkownika
ruun
Member
Posty: 1366
Rejestracja: 29 marca 2007, 21:07
Lokalizacja: Kruszwica

Post autor: ruun »

szuwar7, do czego potrzebujesz takiego starego jądra?
szuwar7
Posty: 29
Rejestracja: 09 czerwca 2007, 19:18

Post 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...
ODPOWIEDZ