Kernel fordítás

10 bejegyzés megtekintése - 1-10 / 66
  • Szerző
    Bejegyzés
  • #2023448
    sayusi
    Felhasználó

      Próbálom gyakorolni a kernel fordítást. Felraktam egy debian-t 2.4-es kernellel. Letöltöttem a 2.6-ost. A hálózati kártyához egy de4x5 nevezetû modult tölt be, amely egy DEChip 21140 chipkészletû hálókártyához kell. De a 2.6-os kernelben nem látok ilyen hálókártyát. Pedig ha 2.6-ossal telepítem a debiant, akkor szintén ott a modul.
      Mit rontok el?
      [align=right][snapback]141992[/snapback][/align]

      szerintem semmit, mert az én kernel forrásomban em találok ilyen modult vagy annak lehetõséségt. Lehet, hoygez a modul debianék saját hackje.

      #2023449
      admin
      Adminisztrátor

        szerintem semmit, mert az én kernel forrásomban em találok ilyen modult vagy annak lehetõséségt. Lehet, hoygez a modul debianék saját hackje.
        [align=right][snapback]142006[/snapback][/align]

        #2023450
        sayusi
        Felhasználó
          #2023451
          admin
          Adminisztrátor

            na megvan 🙂

            ott van a tulip familyben

            ha nem találsz valamit akkor a modul nevével keress valami fájlt és meglesz, mert általában ugyanazok a nevek 🙂
            [align=right][snapback]142012[/snapback][/align]

            Hogyan jöttél erre rá? Ezt a keresést nem értem.

            #2023452
            sayusi
            Felhasználó

              Hogyan jöttél erre rá? Ezt a keresést nem értem.
              [align=right][snapback]142015[/snapback][/align]

              írd be root ként, hoyg slocate de4*
              és a listában ott lesz ez is

              /usr/src/linux-2.6.12.2/Documentation/networking/de4x5.txt
              /usr/src/linux-2.6.12.2/drivers/net/tulip/de4x5.c
              /usr/src/linux-2.6.12.2/drivers/net/tulip/de4x5.h

              ezután már csak a menüben kell megkeresned és ott van valahol, a „help” alatt mindig jelzik a modul nevét is.

              #2023453
              rednek
              Felhasználó

                Sziasztok!
                Én egy Debian Etch alatt próbálok kernelt forgatni (2.6.18),
                De még a make menuconfig-ig se jutok el… (Rögtön friss telepítés után letöltöttem a Synaptic-al a linux-source-2.6.18 -as kernelt. ki is csomagoltam, majd beleléptem.. : cd /usr/src/linux-source-2.6.18
                és kiadom a make menuconfig parancsot és ezt a hibaüzit kapom:

                Code:
                cuncimokus:/usr/src/linux-source-2.6.18# make menuconfig
                  HOSTCC  scripts/kconfig/lxdialog/checklist.o
                In file included from scripts/kconfig/lxdialog/checklist.c:24:
                scripts/kconfig/lxdialog/dialog.h:31:20: error: curses.h: Nincs ilyen fájl vagy könyvtár
                In file included from scripts/kconfig/lxdialog/checklist.c:24:
                scripts/kconfig/lxdialog/dialog.h:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_colors’
                scripts/kconfig/lxdialog/dialog.h:129: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_shadow’
                scripts/kconfig/lxdialog/dialog.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attributes’
                scripts/kconfig/lxdialog/dialog.h:143: error: expected ‘)’ before ‘*’ token
                scripts/kconfig/lxdialog/dialog.h:146: error: expected ‘)’ before ‘*’ token
                scripts/kconfig/lxdialog/dialog.h:147: error: expected ‘)’ before ‘*’ token
                scripts/kconfig/lxdialog/dialog.h:148: error: expected ‘)’ before ‘*’ token
                scripts/kconfig/lxdialog/dialog.h:149: error: expected ‘)’ before ‘*’ token
                scripts/kconfig/lxdialog/dialog.h:151: error: expected ‘)’ before ‘*’ token
                scripts/kconfig/lxdialog/checklist.c:31: error: expected ‘)’ before ‘*’ token
                scripts/kconfig/lxdialog/checklist.c:59: error: expected ‘)’ before ‘*’ token
                scripts/kconfig/lxdialog/checklist.c:95: error: expected ‘)’ before ‘*’ token
                scripts/kconfig/lxdialog/checklist.c: In function ‘dialog_checklist’:
                scripts/kconfig/lxdialog/checklist.c:117: error: ‘WINDOW’ undeclared (first use in this function)
                scripts/kconfig/lxdialog/checklist.c:117: error: (Each undeclared identifier is reported only once
                scripts/kconfig/lxdialog/checklist.c:117: error: for each function it appears in.)
                scripts/kconfig/lxdialog/checklist.c:117: error: ‘dialog’ undeclared (first use in this function)
                scripts/kconfig/lxdialog/checklist.c:117: error: ‘list’ undeclared (first use in this function)
                scripts/kconfig/lxdialog/checklist.c:117: warning: left-hand operand of comma expression has no effect
                scripts/kconfig/lxdialog/checklist.c:121: warning: implicit declaration of function ‘endwin’
                scripts/kconfig/lxdialog/checklist.c:122: warning: implicit declaration of function ‘fprintf’
                scripts/kconfig/lxdialog/checklist.c:122: warning: incompatible implicit declaration of built-in function ‘fprintf’
                scripts/kconfig/lxdialog/checklist.c:122: error: ‘stderr’ undeclared (first use in this function)
                scripts/kconfig/lxdialog/checklist.c:140: error: ‘COLS’ undeclared (first use in this function)
                scripts/kconfig/lxdialog/checklist.c:141: error: ‘LINES’ undeclared (first use in this function)
                scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function ‘draw_shadow’
                scripts/kconfig/lxdialog/checklist.c:143: error: ‘stdscr’ undeclared (first use in this function)
                scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function ‘newwin’
                scripts/kconfig/lxdialog/checklist.c:146: warning: implicit declaration of function ‘keypad’
                scripts/kconfig/lxdialog/checklist.c:146: error: ‘TRUE’ undeclared (first use in this function)
                scripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of function ‘draw_box’
                scripts/kconfig/lxdialog/checklist.c:148: error: ‘attributes’ undeclared (first use in this function)
                scripts/kconfig/lxdialog/checklist.c:149: warning: implicit declaration of function ‘wattrset’
                scripts/kconfig/lxdialog/checklist.c:150: warning: implicit declaration of function ‘mvwaddch’
                scripts/kconfig/lxdialog/checklist.c:152: warning: implicit declaration of function ‘waddch’
                scripts/kconfig/lxdialog/checklist.c:156: warning: implicit declaration of function ‘print_title’
                scripts/kconfig/lxdialog/checklist.c:159: warning: implicit declaration of function ‘print_autowrap’
                scripts/kconfig/lxdialog/checklist.c:166: warning: implicit declaration of function ‘subwin’
                scripts/kconfig/lxdialog/checklist.c:191: warning: implicit declaration of function ‘print_item’
                scripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of function ‘print_arrows’
                scripts/kconfig/lxdialog/checklist.c:200: warning: implicit declaration of function ‘print_buttons’
                scripts/kconfig/lxdialog/checklist.c:202: warning: implicit declaration of function ‘wnoutrefresh’
                scripts/kconfig/lxdialog/checklist.c:204: warning: implicit declaration of function ‘doupdate’
                scripts/kconfig/lxdialog/checklist.c:207: warning: implicit declaration of function ‘wgetch’
                scripts/kconfig/lxdialog/checklist.c:214: error: ‘KEY_UP’ undeclared (first use in this function)
                scripts/kconfig/lxdialog/checklist.c:214: error: ‘KEY_DOWN’ undeclared (first use in this function)
                scripts/kconfig/lxdialog/checklist.c:224: error: ‘FALSE’ undeclared (first use in this function)
                scripts/kconfig/lxdialog/checklist.c:225: warning: implicit declaration of function ‘scrollok’
                scripts/kconfig/lxdialog/checklist.c:226: warning: implicit declaration of function ‘wscrl’
                scripts/kconfig/lxdialog/checklist.c:235: warning: implicit declaration of function ‘wrefresh’
                scripts/kconfig/lxdialog/checklist.c:285: warning: incompatible implicit declaration of built-in function ‘fprintf’
                scripts/kconfig/lxdialog/checklist.c:286: warning: implicit declaration of function ‘delwin’
                scripts/kconfig/lxdialog/checklist.c:290: error: ‘KEY_LEFT’ undeclared (first use in this function)
                scripts/kconfig/lxdialog/checklist.c:291: error: ‘KEY_RIGHT’ undeclared (first use in this function)
                make[2]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
                make[1]: *** [menuconfig] Error 2
                make: *** [menuconfig] Error 2

                Miért írja ezt a hibát? És mit kll csinálni, hogy működjön a menuconfig?
                Segítségeteket előre is köszi

                #2023454
                vasy05
                Felhasználó
                  #2023455
                  uzsolt
                  Felhasználó

                    [red]scripts/kconfig/lxdialog/dialog.h:31:20: error: curses.h: Nincs ilyen fájl vagy könyvtár[/red]

                    Tehát egy ncurses-dev -et mindenféleképpen megpróbálnék…

                    #2023456
                    rednek
                    Felhasználó

                      Az ncurses-base , ncurses-bin , ncurses-term minde fel van téve… Egyedl az ncurses-hexedit nincs felrakva.

                      szerk: jah, boccs, a libncurses5-dev nem volt felrakva..

                      #2023457
                      pointux
                      Felhasználó
                        vasy05 wrote:
                        Ezt lesd meg: http://www.howtoforge.com/kernel_compilation_debian_etch . 😉

                        Vasy, „termináld” már magad!

                      10 bejegyzés megtekintése - 1-10 / 66
                      • Be kell jelentkezni a hozzászóláshoz.