Skocz do zawartości

Kompilacja Jądra Pod Fedora Core


Merlin

Rekomendowane odpowiedzi

Witam ostatnio zostalem poproszony przez znajomego czy mogl bym naskrobac dla niego krok po kroku jak sie kompiluje jadro pod fedorka(jajko 2.6 fedorka 4) i powiem wam szczerze że miałem problem jako że moje zdolnosci pisarskie są bardzo kiepskie a wrecz ich nie ma wiec prosze kogoś żeby jak może to to naskrobał tylko żeby komendy były pod fedore a nie pod inna dystrybucje bo powiem (_szczeże_ → szczerze) ORT że Fedora core jest sład zakożeniona w polsce i malo info po polsku można znaleśc na ten temat:D

Wiec jeśli ktoś mi to naszkrobie bede wdzieczny

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 11 months later...

Nie zabijcie mnie bo ja skolei mam inne pytanie - dodam że szukałem ale jakiegoś sensownego opisu nie znalazłem.

Wiem że źródła jąderka powinny być w /usr/src - ale co jeśli tam nic nie ma ?

ściągnąłem pakiet "kernel-2.6.18-1.2849.fc6.src.rpm", ale po odpaleniu tego nie mam tego co powinno być, tylko 1 katalog z plikami, i brak reguł dla makefile.

Co trzeba ściągnąć zeby źródełka poprawne mieć w /usr/src ????

Odnośnik do komentarza
Udostępnij na innych stronach

Dzięki Andrzej. Znalazłem jeszcze cuś takiego :

http://fedora.redhat.com/docs/release-note.../sn-Kernel.html

"Cusik" ten link nie działa

 

Edit:

Mała porada jak kompilujesz z src.rpm

w kernel.spec zmień .2849 na np. 2450

będziesz mógł zainstalować nowe jajko dopiero po pozytywnych testach możesz usunąć poprzednie

Odnośnik do komentarza
Udostępnij na innych stronach

  • 5 months later...

wklejam si? pod temat, poniewa? odnosi si? kompilacji

Mam na serwerze fedora core 3 i dostaje takie cu? jak chc? wykona? make menuconfig:

[root@progres linux-2.6.20.4]# make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: curses.h: Nie ma takiego pliku ani katalogu
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: syntax error before "chtype"
scripts/kconfig/lxdialog/dialog.h:97: warning: no semicolon at end of struct or union
scripts/kconfig/lxdialog/dialog.h:101: error: syntax error before '}' token
scripts/kconfig/lxdialog/dialog.h:105: error: field `screen' has incomplete type
scripts/kconfig/lxdialog/dialog.h:106: error: field `shadow' has incomplete type
scripts/kconfig/lxdialog/dialog.h:107: error: field `dialog' has incomplete type
scripts/kconfig/lxdialog/dialog.h:108: error: field `title' has incomplete type
scripts/kconfig/lxdialog/dialog.h:109: error: field `border' has incomplete type
scripts/kconfig/lxdialog/dialog.h:110: error: field `button_active' has incomplete type
scripts/kconfig/lxdialog/dialog.h:111: error: field `button_inactive' has incomplete type
scripts/kconfig/lxdialog/dialog.h:112: error: field `button_key_active' has incomplete type
scripts/kconfig/lxdialog/dialog.h:113: error: field `button_key_inactive' has incomplete type
scripts/kconfig/lxdialog/dialog.h:114: error: field `button_label_active' has incomplete type
scripts/kconfig/lxdialog/dialog.h:115: error: field `button_label_inactive' has incomplete type
scripts/kconfig/lxdialog/dialog.h:116: error: field `inputbox' has incomplete type
scripts/kconfig/lxdialog/dialog.h:117: error: field `inputbox_border' has incomplete type
scripts/kconfig/lxdialog/dialog.h:118: error: field `searchbox' has incomplete type
scripts/kconfig/lxdialog/dialog.h:119: error: field `searchbox_title' has incomplete type
scripts/kconfig/lxdialog/dialog.h:120: error: field `searchbox_border' has incomplete type
scripts/kconfig/lxdialog/dialog.h:121: error: field `position_indicator' has incomplete type
scripts/kconfig/lxdialog/dialog.h:122: error: field `menubox' has incomplete type
scripts/kconfig/lxdialog/dialog.h:123: error: field `menubox_border' has incomplete type
scripts/kconfig/lxdialog/dialog.h:124: error: field `item' has incomplete type
scripts/kconfig/lxdialog/dialog.h:125: error: field `item_selected' has incomplete type
scripts/kconfig/lxdialog/dialog.h:126: error: field `tag' has incomplete type
scripts/kconfig/lxdialog/dialog.h:127: error: field `tag_selected' has incomplete type
scripts/kconfig/lxdialog/dialog.h:128: error: field `tag_key' has incomplete type
scripts/kconfig/lxdialog/dialog.h:129: error: field `tag_key_selected' has incomplete type
scripts/kconfig/lxdialog/dialog.h:130: error: field `check' has incomplete type
scripts/kconfig/lxdialog/dialog.h:131: error: field `check_selected' has incomplete type
scripts/kconfig/lxdialog/dialog.h:132: error: field `uarrow' has incomplete type
scripts/kconfig/lxdialog/dialog.h:133: error: field `darrow' has incomplete type
scripts/kconfig/lxdialog/dialog.h:187: error: syntax error before '*' token
scripts/kconfig/lxdialog/dialog.h:187: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:193: error: syntax error before '*' token
scripts/kconfig/lxdialog/dialog.h:193: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:195: error: syntax error before '*' token
scripts/kconfig/lxdialog/dialog.h:195: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:196: error: syntax error before '*' token
scripts/kconfig/lxdialog/dialog.h:196: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:197: error: syntax error before '*' token
scripts/kconfig/lxdialog/dialog.h:197: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:198: error: syntax error before '*' token
scripts/kconfig/lxdialog/dialog.h:199: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:200: error: syntax error before '*' token
scripts/kconfig/lxdialog/dialog.h:200: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/checklist.c:31: error: syntax error before '*' token
scripts/kconfig/lxdialog/checklist.c:32: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/checklist.c: In function `print_item':
scripts/kconfig/lxdialog/checklist.c:36: warning: implicit declaration of function `wattrset'
scripts/kconfig/lxdialog/checklist.c:36: error: `win' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:36: error: (Each undeclared identifier is reported only once
scripts/kconfig/lxdialog/checklist.c:36: error: for each function it appears in.)
scripts/kconfig/lxdialog/checklist.c:37: warning: implicit declaration of function `wmove'
scripts/kconfig/lxdialog/checklist.c:37: error: `choice' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:39: warning: implicit declaration of function `waddch'
scripts/kconfig/lxdialog/checklist.c:42: error: `selected' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:44: warning: implicit declaration of function `wprintw'
scripts/kconfig/lxdialog/checklist.c:47: warning: implicit declaration of function `mvwaddch'
scripts/kconfig/lxdialog/checklist.c:49: warning: implicit declaration of function `waddstr'
scripts/kconfig/lxdialog/checklist.c:52: warning: implicit declaration of function `wrefresh'
scripts/kconfig/lxdialog/checklist.c: At top level:
scripts/kconfig/lxdialog/checklist.c:59: error: syntax error before '*' token
scripts/kconfig/lxdialog/checklist.c:61: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/checklist.c: In function `print_arrows':
scripts/kconfig/lxdialog/checklist.c:62: error: `win' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:62: error: `y' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:62: error: `x' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:64: error: `scroll' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:76: error: `height' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:79: error: `item_no' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:79: error: `choice' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c: At top level:
scripts/kconfig/lxdialog/checklist.c:95: error: syntax error before '*' token
scripts/kconfig/lxdialog/checklist.c:96: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/checklist.c: In function `print_buttons':
scripts/kconfig/lxdialog/checklist.c:97: error: `width' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:98: error: `height' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:100: error: `dialog' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:100: error: `selected' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c: In function `dialog_checklist':
scripts/kconfig/lxdialog/checklist.c:116: error: `WINDOW' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: `dialog' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: `list' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: warning: left-hand operand of comma expression has no effect
scripts/kconfig/lxdialog/checklist.c:129: warning: implicit declaration of function `getmaxy'
scripts/kconfig/lxdialog/checklist.c:129: error: `stdscr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:130: error: `KEY_MAX' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:131: warning: implicit declaration of function `getmaxx'
scripts/kconfig/lxdialog/checklist.c:137: error: `COLS' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:138: error: `LINES' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:142: warning: implicit declaration of function `newwin'
scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function `keypad'
scripts/kconfig/lxdialog/checklist.c:143: error: `TRUE' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:164: warning: implicit declaration of function `subwin'
scripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of function `wnoutrefresh'
scripts/kconfig/lxdialog/checklist.c:199: warning: implicit declaration of function `doupdate'
scripts/kconfig/lxdialog/checklist.c:202: warning: implicit declaration of function `wgetch'
scripts/kconfig/lxdialog/checklist.c:210: error: `KEY_UP' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:210: error: `KEY_DOWN' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:220: error: `FALSE' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:221: warning: implicit declaration of function `scrollok'
scripts/kconfig/lxdialog/checklist.c:222: warning: implicit declaration of function `wscrl'
scripts/kconfig/lxdialog/checklist.c:293: warning: implicit declaration of function `delwin'
scripts/kconfig/lxdialog/checklist.c:297: error: `KEY_LEFT' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:298: error: `KEY_RIGHT' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:312: error: `KEY_RESIZE' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: warning: statement with no effect
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] B??d 1
make: *** [menuconfig] B??d 2

Czego mo?e brakowa? na serwerze ??? ????

 

ok , znalaz?em rozwi?zanie tutaj http://forum.fedora.pl/index.php?showtopic=13484

Odnośnik do komentarza
Udostępnij na innych stronach

wklejam si? pod temat, poniewa? odnosi si? kompilacji

Mam na serwerze fedora core 3 i dostaje takie cu? jak chc? wykona? make menuconfig:

 

Czego mo?e brakowa? na serwerze ??? ????

 

ok , znalaz?em rozwi?zanie tutaj http://forum.fedora.pl/index.php?showtopic=13484

 

OT: To u mnie padło kodowanie, czy kolega jakiegoś śmiesznego używa?

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...