Freesco, NND, CDN, EOS http://forum.freesco.pl/ |
|
Kompilacja jadra http://forum.freesco.pl/viewtopic.php?f=22&t=9060 |
Strona 1 z 1 |
Autor: | tasiorek [ poniedziałek, 19 września 2005, 00:44 ] |
Tytuł: | Kompilacja jadra |
Sciagnalem pacmanem pakiet kernel-ide-devel i znalazlem tam tylko katalog include, wiec sciagnalem zrodla jadra 2.4.31 i podmienilem katalog include. Nastepnie make dep, make clean i make zImage, ale podczas kompilacji wywala mi bledy: In file included from tables.c:35: /usr/src/linux-2.4.31/include/linux/acpi.h:34:23: acpi/acpi.h: Nie ma takiego pliku ani katalogu /usr/src/linux-2.4.31/include/linux/acpi.h:35:27: acpi/acpi_bus.h: Nie ma takiego pliku ani katalogu /usr/src/linux-2.4.31/include/linux/acpi.h:36:31: acpi/acpi_drivers.h: Nie ma takiego pliku ani katalogu In file included from tables.c:35: /usr/src/linux-2.4.31/include/linux/acpi.h:82: error: field `header' has incomplete type /usr/src/linux-2.4.31/include/linux/acpi.h:89: error: field `header' has incomplete type /usr/src/linux-2.4.31/include/linux/acpi.h:96: error: field `header' has incomplete type /usr/src/linux-2.4.31/include/linux/acpi.h:105: error: field `header' has incomplete type /usr/src/linux-2.4.31/include/linux/acpi.h:227: error: field `header' has incomplete type /usr/src/linux-2.4.31/include/linux/acpi.h:241: error: field `header' has incomplete type /usr/src/linux-2.4.31/include/linux/acpi.h:295: error: field `header' has incomplete type /usr/src/linux-2.4.31/include/linux/acpi.h:303: error: field `header' has incomplete type /usr/src/linux-2.4.31/include/linux/acpi.h:312: error: field `header' has incomplete type /usr/src/linux-2.4.31/include/linux/acpi.h:313: error: field `ec_control' has incomplete type /usr/src/linux-2.4.31/include/linux/acpi.h:314: error: field `ec_data' has incomplete type /usr/src/linux-2.4.31/include/linux/acpi.h:324: error: field `header' has incomplete type tables.c: In function `acpi_table_print': tables.c:91: error: dereferencing pointer to incomplete type tables.c:93: error: dereferencing pointer to incomplete type tables.c:96: error: dereferencing pointer to incomplete type tables.c:98: error: dereferencing pointer to incomplete type tables.c:102: error: dereferencing pointer to incomplete type tables.c:105: error: dereferencing pointer to incomplete type tables.c:105: error: dereferencing pointer to incomplete type tables.c:106: error: dereferencing pointer to incomplete type tables.c:106: error: dereferencing pointer to incomplete type tables.c:107: error: dereferencing pointer to incomplete type tables.c:107: error: dereferencing pointer to incomplete type tables.c: In function `acpi_get_table_header_early': tables.c:282: error: dereferencing pointer to incomplete type tables.c:282: error: dereferencing pointer to incomplete type tables.c:283: error: dereferencing pointer to incomplete type tables.c:284: error: invalid application of `sizeof' to an incomplete type tables.c:285: error: dereferencing pointer to incomplete type tables.c:286: error: dereferencing pointer to incomplete type tables.c:287: error: invalid application of `sizeof' to an incomplete type tables.c: In function `acpi_table_get_sdt': tables.c:411: error: invalid application of `sizeof' to an incomplete type tables.c:420: error: dereferencing pointer to incomplete type tables.c:427: error: dereferencing pointer to incomplete type tables.c:432: error: dereferencing pointer to incomplete type tables.c:437: error: dereferencing pointer to incomplete type tables.c:437: error: invalid application of `sizeof' to an incomplete type tables.c:458: error: invalid application of `sizeof' to an incomplete type tables.c:466: error: dereferencing pointer to incomplete type tables.c:473: error: dereferencing pointer to incomplete type tables.c:478: error: dereferencing pointer to incomplete type tables.c:483: error: dereferencing pointer to incomplete type tables.c:483: error: invalid application of `sizeof' to an incomplete type tables.c:506: error: invalid application of `sizeof' to an incomplete type tables.c:513: error: dereferencing pointer to incomplete type tables.c:519: error: dereferencing pointer to incomplete type tables.c:524: error: dereferencing pointer to incomplete type tables.c:527: error: dereferencing pointer to incomplete type tables.c:529: error: dereferencing pointer to incomplete type make[3]: *** [tables.o] Błąd 1 make[3]: Leaving directory `/usr/src/linux-2.4.31/drivers/acpi' make[2]: *** [first_rule] Błąd 2 make[2]: Leaving directory `/usr/src/linux-2.4.31/drivers/acpi' make[1]: *** [_subdir_acpi] Błąd 2 make[1]: Leaving directory `/usr/src/linux-2.4.31/drivers' make: *** [_dir_drivers] Błąd 2 Dodam, ze nie zaznaczalem acpi w konfigu. Co robie zle? |
Autor: | Mis' [ poniedziałek, 19 września 2005, 00:51 ] |
Tytuł: | Re: Kompilacja jadra |
tasiorek pisze: Sciagnalem pacmanem pakiet kernel-ide-devel i znalazlem tam tylko katalog include, wiec sciagnalem zrodla jadra 2.4.31 i podmienilem katalog include. Nastepnie make dep, make clean i make zImage, ale podczas kompilacji wywala mi bledy: Dodam, ze nie zaznaczalem acpi w konfigu. Co robie zle?
Po pierwsze jądro NND jest dość bardzo patchowane więc podmiana jednego z głównych katalogów musiała przynieść fiasko... Po drugie jest pakiet kernel-source Po trzecie jeśli masz zainstalowane narzędzia kompilacyjne to powinieneś raczej ściągnąć z cvs pliki potrzebne do budowy pakietu kernel24-ide i zbudować pakiet. Podczas budowy pakietu będziesz miał możliwość dodania/usunięcia różnych elementów kernela, a jednocześnie powstanie pakiet gotowy do instalacji pacmanem. Powstanie również pakiet kernel24-devel i kernel24-source... Po czwarte po co chesz kompilować kernel? |
Autor: | MAC!EK [ poniedziałek, 19 września 2005, 00:53 ] |
Tytuł: | |
robi się to mniej wiecej tak: install_devel pacman -S kernel24-source wchodzisz do jakiegoś katalogu zasysasz PKGBUILD kernela i resztę plików z CVS dla kernela cvs.devel-nnd.brb.pl/cvsweb.cgi/base/kernel24-ide/ i zapodajesz kompilację: make_nnd_pkg W PKGBUILD możesz zmenić czy chcesz mieć możliwość zmiany configa kernela ( szukaj make menuconfig musisz to odhaszować ) Potem gotowy pakiet instalujesz pacman -U kernel... |
Autor: | tasiorek [ poniedziałek, 19 września 2005, 09:52 ] |
Tytuł: | |
Ok dzieki, ide probowac. A jadro chce przekompilowac, zeby dodac obsluge 2 lacz. |
Autor: | MAC!EK [ poniedziałek, 19 września 2005, 10:35 ] |
Tytuł: | |
http://devel-nnd.brb.pl/nnd/pakiety.tes ... pkg.tar.gz ten kernelik powienien obsługiwać wiele łącz. Potestuj zamiast kompilować. Możesz sprawdzić w konfigu czy ma wszystko to czego potrzebujesz |
Strona 1 z 1 | Strefa czasowa UTC+2godz. |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |