Hozzászólások
-
SzerzőBejegyzés
-
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..
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 2Mié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ösziIgen, de azt olvastam, hogy 960MB-ig off-ra kell rakni
4G-ig, 4GB-re kellrakni
és 4G fölött pedig 64GB-re kell rakni.
(Forrás: Rob Flickenger : Linux bevetés közben (Liunx server hacks) 61-62 oldal)szerk: Gondolom, hogy a bigmem-es kernelben ez be van lőve …habár nem látom értelmét egy külön „kernelt” miatta felrakni, elég csak egy kernel fordítás, és már meg is van. (Ezt most úgy írtam, mint az agyműtét sem nehéz, csak fel kell vágni a koponyát, és meg kell műteni
)… ((Még nem próbálkozatam se a bigmem-es csogag, se a kernel fordítás használatával… ezt csak elméleti síkon mondtam))
Nekem úgy rémlik, hogy Debiannál lehet választani telepítéskor, hogy a 2.6.18-4-486-bigmem -et rakja felés akkor fogja látni az 1G-s memóriát.
szerk: de ha telepítéskor nem is, akkor fel lehet rakni apt-vel…
Az alsa-base és az alsa-utils fel van téve (csomagból). Az elég? Vagy rakjam fel a többi csomagot is?
Hali
Nekem van egy VIA Technologies, Inc. VT8233/A/8235/8237 AC97-es hangkártyám, És Debian Etch rendszer 2.6.21.5-ös kernel. És az a probléma, hogy hiába valátok át az Alsamixerben 4 Channel, 6 Channel módban, nem szólalnak meg a hangafalak (be vannak dugva, be vannak kapcsolva), csak az ami alapból a 2 Channeles módban is üzemel.
Hogy lehetne rávenni, hogy működjön?lspci
Code:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)lsmod
Code:rednek@cuncimokus:~$ lsmod
Module Size Used by
isofs 32540 1
nls_cp437 5920 0
vfat 11872 0
fat 46684 1 vfat
sd_mod 19040 0
usb_storage 71840 0
nls_iso8859_1 4256 2
ntfs 192564 1
ipv6 226016 10
ppdev 8676 0
lp 11012 0
button 6672 0
ac 5188 0
battery 9636 0
dm_snapshot 15552 0
dm_mirror 19152 0
dm_mod 50232 2 dm_snapshot,dm_mirror
loop 15048 0
snd_via82xx 26008 2
snd_ac97_codec 83104 1 snd_via82xx
snd_ac97_bus 2400 1 snd_ac97_codec
snd_pcm_oss 38368 0
snd_mixer_oss 15200 1 snd_pcm_oss
snd_pcm 68676 4 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 9640 2 snd_via82xx,snd_pcm
snd_mpu401_uart 8064 1 snd_via82xx
snd_seq_dummy 3844 0
snd_seq_oss 28768 0
snd_seq_midi 8192 0
snd_seq_midi_event 7008 2 snd_seq_oss,snd_seq_midi
snd_seq 45680 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
psmouse 35016 0
serio_raw 6660 0
floppy 53156 0
analog 10784 0
snd_timer 20996 2 snd_pcm,snd_seq
snd_rawmidi 22560 2 snd_mpu401_uart,snd_seq_midi
snd_seq_device 7820 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
gspca 600304 0
videodev 21120 1 gspca
v4l1_compat 12036 1 videodev
gameport 14632 2 snd_via82xx,analog
snd 47012 14 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_seq,snd_timer,snd_rawmidi,snd_seq_device
rtc 12372 0
i2c_viapro 8244 0
i2c_core 19680 1 i2c_viapro
parport_pc 32132 1
parport 33256 3 ppdev,lp,parport_pc
pcspkr 3072 0
soundcore 9248 1 snd
v4l2_common 20448 1 videodev
shpchp 33024 0
pci_hotplug 28704 1 shpchp
via_agp 9664 1
agpgart 29896 1 via_agp
tsdev 7520 0
evdev 9088 1
usbhid 37248 0
reiserfs 212640 1
ide_cd 36064 1
cdrom 32544 1 ide_cd
ide_disk 14848 4
generic 5476 0 [permanent]
via_rhine 22664 0
mii 5344 1 via_rhine
ehci_hcd 28136 0
uhci_hcd 21164 0
sata_via 10052 0
usbcore 112644 6 usb_storage,gspca,usbhid,ehci_hcd,uhci_hcd
via82cxxx 8388 0 [permanent]
ide_core 110504 5 usb_storage,ide_cd,ide_disk,generic,via82cxxx
libata 89396 1 sata_via
scsi_mod 124168 3 sd_mod,usb_storage,libata
thermal 13608 0
processor 28840 1 thermal
fanSzerintem a g++ lehetett a megoldás.
Nah most működik!!!!
Ha 4.xx fenn van valószínű alapban azt használja.
Igen, a 4.1.2-t használja
Konzolon pötyögd be, hogy: $PATH
Code:rednek@cuncimokus:~$ $PATH
bash: /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games: Nincs ilyen fájl vagy könyvtárLehet nem találja meg, bár ez csak találgatás, „checking for gcc… gcc” szerint megvan.
Code:rednek@cuncimokus:~$ gcc –version
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -
SzerzőBejegyzés
legutóbbi hsz