Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Taki błąd mi wyskakuje przy kompilacji metoda debiana :
CC [M] drivers/scsi/sd.o CC [M] drivers/scsi/sr.o fixdep: include/asm/sectyons.h: No such file or directory make[3]: *** [drivers/scsi/sr.o] Błąd 2 make[2]: *** [drivers/scsi] Błąd 2 make[1]: *** [drivers] Błąd 2 make[1]: Leaving directory `/usr/src/linux-2.6.14.3' make: *** [stamp-build] Błąd 2
Niewiem co mam przy konfiguracji jajka odchaczyć,Jak sie z tym uporac?
Offline
Gdzieś jest błąd bo nie ma pliku sectyons.h w kernelu tylko sections.h.
Zachowaj ".config", wykonaj "make mrproper", skopij .config z prowrotem na miejsce i spróbuj ponownie. Możesz sobie także spatchować do 2.6.14.4, pod warunkiem, że masz źródła 2.6.14.
Offline
Zanim napisalems posta zrobilem wszystko od nowa i tym razem wywalilo mi:
CC [M] drivers/scsi/sata_sil.o fixdep: include/linux/dqrlk_v2.h: No such file or directory make[3]: *** [drivers/scsi/sata_sil.o] Błąd 2 make[2]: *** [drivers/scsi] Błąd 2 make[1]: *** [drivers] Błąd 2 make[1]: Leaving directory `/usr/src/linux-2.6.14.3' make: *** [stamp-build] Błąd 2
Nawiasem mowiąc czy paczke deb tworze z poziomu urzytkownika?
Teraz zrobie tak jak ty napisałeś i zobaczymy co bedzie.
Offline
No szlag mnie trafi teraz jeszce inny bajer:
CC [M] fs/hfsplus/dir.o fixdep: ynclude/asm/siginfo.h: No such file or directory make[3]: *** [fs/hfsplus/dir.o] Błąd 2 make[2]: *** [fs/hfsplus] Błąd 2 make[1]: *** [fs] Błąd 2 make[1]: Leaving directory `/usr/src/linux-2.6.14.3' make: *** [stamp-build] Błąd 2
Offline
Bez kitu kompilacja to jedna wielka zgadka dla mnie :/
Probowalem tez rozpakowywać na nowo jajko ale te same jaja były.
Pomyslalem ze wyjde z x-ów i po tekstem to zrobie no i sie udało:)
Mam takie pytanie kiedys tu na forum pytalem jak zrobicj net debiana jajko z initrd no i dostalem taka odpowiedź
make-kpkg --revision --initrd=kernel5 --initrd kernel_image
lecz wywala:
Error: The revision string may only contain alphanumerics and the characters + . If epochs are used, the colon : is also allowed The current value is: --initrd=kernel2 Aborting.
Offline
Powinno być np. "--revision=0.1" . Po revision podaje się ciąg znaków.
Offline
debian:/usr/src/linux-2.6.14.3# make-kpkg --revision=0.1 --initrd=kernel5 --initrd kernel_image Option initrd does not take an argument use --help to display command line syntax help.
Nie kumam :]
Offline
Skąd wziąłeś informacje, że do --inird podaje się argument? Do --initrd nie podaje się argumentu.
Offline
dołącze się też zaczołem motać coś przy jajcu metodą debiana z powodu mojej grafiki i oto co mi wywala po wykonaniu komendy.
make-kpkg --config menuconfig
Polecenie wykonuje w katalogu /usr/src/kernel-source-2.6.8:
Czyli tam gdzie są rozpakowane źródła
/usr/bin/make
ARCH=i386 menuconfig
make[1]: Entering directory `/usr/src/kernel-source-2.6.8'
HOSTCC scripts/basic/fixdep
scripts/basic/fixdep.c:97:23: sys/types.h: No such file or directory
scripts/basic/fixdep.c:98:22: sys/stat.h: No such file or directory
scripts/basic/fixdep.c:99:22: sys/mman.h: No such file or directory
scripts/basic/fixdep.c:100:20: unistd.h: No such file or directory
scripts/basic/fixdep.c:101:19: fcntl.h: No such file or directory
scripts/basic/fixdep.c:102:20: string.h: No such file or directory
scripts/basic/fixdep.c:103:20: stdlib.h: No such file or directory
scripts/basic/fixdep.c:104:19: stdio.h: No such file or directory
In file included from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from scripts/basic/fixdep.c:105:
/usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122:75: limits.h: No such file or directory
scripts/basic/fixdep.c:106:19: ctype.h: No such file or directory
scripts/basic/fixdep.c:107:24: netinet/in.h: No such file or directory
scripts/basic/fixdep.c: In function `usage':
scripts/basic/fixdep.c:121: warning: implicit declaration of function `fprintf'
scripts/basic/fixdep.c:121: error: `stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:121: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:121: error: for each function it appears in.)
scripts/basic/fixdep.c:122: warning: implicit declaration of function `exit'
scripts/basic/fixdep.c: In function `print_cmdline':
scripts/basic/fixdep.c:127: warning: implicit declaration of function `printf'
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:130: error: `NULL' undeclared here (not in a function)
scripts/basic/fixdep.c: In function `grow_config':
scripts/basic/fixdep.c:143: warning: implicit declaration of function `realloc'
scripts/basic/fixdep.c:143: warning: assignment makes pointer from integer without a cast
scripts/basic/fixdep.c:144: error: `NULL' undeclared (first use in this function)
scripts/basic/fixdep.c:145: warning: implicit declaration of function `perror'
scripts/basic/fixdep.c: In function `is_defined_config':
scripts/basic/fixdep.c:161: warning: implicit declaration of function `memcmp'
scripts/basic/fixdep.c: In function `define_config':
scripts/basic/fixdep.c:174: warning: implicit declaration of function `memcpy'
scripts/basic/fixdep.c: In function `use_config':
scripts/basic/fixdep.c:193: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:207: warning: implicit declaration of function `tolower'
scripts/basic/fixdep.c:193: warning: unused variable `s'
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:212: error: syntax error before "size_t"
scripts/basic/fixdep.c:213: warning: function declaration isn't a prototype
scripts/basic/fixdep.c: In function `parse_config_file':
scripts/basic/fixdep.c:214: error: `map' undeclared (first use in this function)
scripts/basic/fixdep.c:214: error: `len' undeclared (first use in this function)
scripts/basic/fixdep.c:220: warning: implicit declaration of function `ntohl'
scripts/basic/fixdep.c:231: warning: implicit declaration of function `isalnum'
scripts/basic/fixdep.c: In function `strrcmp':
scripts/basic/fixdep.c:244: warning: implicit declaration of function `strlen'
scripts/basic/fixdep.c: In function `do_config_file':
scripts/basic/fixdep.c:255: error: storage size of `st' isn't known
scripts/basic/fixdep.c:259: warning: implicit declaration of function `open'
scripts/basic/fixdep.c:259: error: `O_RDONLY' undeclared (first use in this function)
scripts/basic/fixdep.c:261: error: `stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:265: warning: implicit declaration of function `fstat'
scripts/basic/fixdep.c:267: warning: implicit declaration of function `close'
scripts/basic/fixdep.c:270: warning: implicit declaration of function `mmap'
scripts/basic/fixdep.c:270: error: `NULL' undeclared (first use in this function)
scripts/basic/fixdep.c:270: error: `PROT_READ' undeclared (first use in this function)
scripts/basic/fixdep.c:270: error: `MAP_PRIVATE' undeclared (first use in this function)
scripts/basic/fixdep.c:270: warning: assignment makes pointer from integer without a cast
scripts/basic/fixdep.c:279: warning: implicit declaration of function `munmap'
scripts/basic/fixdep.c:255: warning: unused variable `st'
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:284: error: syntax error before "size_t"
scripts/basic/fixdep.c:285: warning: function declaration isn't a prototype
scripts/basic/fixdep.c: In function `parse_dep_file':
scripts/basic/fixdep.c:286: error: `map' undeclared (first use in this function)
scripts/basic/fixdep.c:287: error: `len' undeclared (first use in this function)
scripts/basic/fixdep.c:289: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:291: warning: implicit declaration of function `strchr'
scripts/basic/fixdep.c:293: error: `stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:289: warning: unused variable `s'
scripts/basic/fixdep.c: In function `print_deps':
scripts/basic/fixdep.c:325: error: storage size of `st' isn't known
scripts/basic/fixdep.c:329: error: `O_RDONLY' undeclared (first use in this function)
scripts/basic/fixdep.c:331: error: `stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:341: error: `NULL' undeclared (first use in this function)
scripts/basic/fixdep.c:341: error: `PROT_READ' undeclared (first use in this function)
scripts/basic/fixdep.c:341: error: `MAP_PRIVATE' undeclared (first use in this function)
scripts/basic/fixdep.c:341: warning: assignment makes pointer from integer without a cast
scripts/basic/fixdep.c:325: warning: unused variable `st'
scripts/basic/fixdep.c: In function `traps':
scripts/basic/fixdep.c:360: error: `stderr' undeclared (first use in this function)
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
make: *** [stamp-kernel-configure] Error 2
Czego mi brakuje... ew. jak to naprawić?
Offline
Czadman błagam Cie napisz przykladowe polecenie w całości bo zaraz sfiksuje :]]]]]]
Offline
Czadman błagam Cie napisz przykladowe polecenie w całości bo zaraz sfiksuje :]]]]]]
Nie musisz błagać, wystarczyłoby abyś poczytał dokumentację, np. tu
make-kpkg --revision=0.1 --initrd kernel_image kernel-headers
Offline
Nie lubie angileskiego :)
debian:/usr/src/linux-2.6.14.3# make-kpkg --revision=0.1 --initrd kernel_image kernel-headers Warning: You are using the initrd option, that may not work, depending on your kernel version and architecture, unless you have applied the initrd cramfs patch to the kernel, or modified mkinitrd not to use cramfs by default. The cramfs initrd patch, is included in the Debian supplied kernel sources. New kernels on most architectures do work fine. By default, I assume you know what you are doing, and I apologize for being so annoying. Should I abort[Ny]?
Offline
Czego mi brakuje... ew. jak to naprawić?
Masz zainstalowane poniższe pakiety: debhelper modutils kernel-package libncurses5-dev fakeroot?
Offline
Nie lubie angileskiego :)
Kod:
debian:/usr/src/linux-2.6.14.3# make-kpkg --revision=0.1 --initrd kernel_image kernel-headers Warning: You are using the initrd option, that may not work, depending on your kernel version and architecture, unless you have applied the initrd cramfs patch to the kernel, or modified mkinitrd not to use cramfs by default. The cramfs initrd patch, is included in the Debian supplied kernel sources. New kernels on most architectures do work fine. By default, I assume you know what you are doing, and I apologize for being so annoying. Should I abort[Ny]?
Jeśli chcesz używać initdr to powinieneś odpowiednio skonfigurować jądro.
BTW. Mozna nie lubić angielskiego albo problemówz z systemem, ja nie lubię tego drugiego. :]
Offline
Moje jajo jest odpowiedni skonfigurowane kompilujac ta inna metoda sie udalo z tym ze musialem recznie initrd dorobić to ostrzerzenie jest pozytywne czy negatywne?:)Jak klepne enter to zaczyna sie kompilować.
Chcialbym umiec anglika :]
Offline
libncurses5-dev - tego nie mam i nie moge zainstalować
apt-get install libncurses5-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libncurses5-dev: Depends: libc-dev
E: Broken packages
z koleji libc-dev jak prubuje zainstalować to mi wyskakuje taki oto komunikat
apt-get install libc-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting libc6-dev instead of libc-dev
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libc6-dev: Depends: libc6 (= 2.3.2.ds1-22) but 2.3.5-9 is to be installed
E: Broken packages
libc6 w wersji 2.3.5-9 instalowałem na potrzeby opery i wtyczek :/ no i co z tym fantem zrobić?
EDIT:
Da się zainstalować wersje2.3.2.ds1-22 tak żeby była równolegle do 2.3.5-9?
Offline
Lepiej kompilować standardową metodą. Powinno działać.
Offline
libc6 w wersji 2.3.5-9 instalowałem na potrzeby opery i wtyczek :/ no i co z tym fantem zrobić?
EDIT:
Da się zainstalować wersje2.3.2.ds1-22 tak żeby była równolegle do 2.3.5-9?
Nie wiem czy jest sens trzymania paczki, która psuje zależności. Lepiej zainstaluj z powrotem wersję libc6 stosowną do Twojej wersji debiana, a operę możesz zainstalować statycznie linkowaną jeśli są takie konflikty z wersjami bibliotek. Dwóch pakietów libc6 nie da się trzymać w jednym systemie.
Offline
nie da się tego jakoś przeinstalować bo apt chce mi usunąć ponad pół giga pakietów (548MB)
Offline
Ratunku pozbyłem się tego nowego libc za pomocą:
dpkg -G -i libc6-2.3.2.ds1-22
ale dpkg pluje się jeszcze więcej niż poprzednio(zaczeły się problemy z zależnościami).APT chce żebym uruchomił -f INSTALL w celu uaktualnienia libc... W jaki sposób wrócić do czystego sarga tak abym spokojnie mógł skompilować jądro?
Offline
Spróbuj po prostu:
dpkg -i libc6-2.3.2.ds1-22
Czy masz w sources.list jakieś inne repozytoria niż do sarge?
Offline
Dobra jakos sobie poradziłem poprzez aptitude... poszło całe kde i coś tam jeszcze teraz mam tylko problem co wybrać w kernelu aby mieć obsługe 3D w radku 9600
czy ten opis będzie ok?
Pozatym co wkompilować aby to jako tako działało
usb dma cd-rw i tak dalej mój chipset to intel 845 E
EDIT:
Podczas konfiguracji swojego jądra zetknołem się z takim czymś że nie moge zaznaczyć swojego chipsetu płyty głównej ani jako modółu ani jako części jądra
obok intela są po prostu takie se 3 kreski "---"
Co z tym zrobić?
EDIT2:
Już mam wystarrczyło wbudować w jądro AGP Suport
EDIT3:
Czy jeśli będe mieć w networking opcje networking support tak jak na poniższym rysunku to będe mieć dostęp do internetu czy może coś nakombinowałem i trzeba poprawić?
http://www.thepixplace.com/is.php?i=66150
Sorki że ciągle o coś pytam ale nie mogłem odnaleźć odpowiedzi powyższe... a teraz zapis tego co nakombinowałem i ide spać :P
Offline
dobra 'chyba' odpowiedziałem sobie na moje pytanie:
Under General setup
Turn Networking Support ON
Under Networking Options
Turn Network firewalls ON
Turn TCP/IP Networking ON
Turn IP forwarding/gatewaying OFF (UNLESS you wish to use IP filtering)
Turn IP Firewalling ON
Turn IP firewall packet loggin ON (this is not required but it is a good idea)
Turn IP: masquerading OFF (I am not covering this subject here.)
Turn IP: accounting ON
Turn IP: tunneling OFF
Turn IP: aliasing OFF
Turn IP: PC/TCP compatibility mode OFF
Turn IP: Reverse ARP OFF
Turn Drop source routed frames ON
Under Network device support
Turn Network device support ON
Turn Dummy net driver support ON
Turn Ethernet (10 or 100Mbit) ON
Select your network card
czyli jak a razie z neta na tym jajcu byłyby nici teraz mi powiedzcie o co chodzi lub o co może chodzić bo nie moge tego załączyć
EDIT:
Tak wogule jakby ktoś mógł przenieść moje posty z tego topiku do osobnego tematu było by fajnie bo powstało chyba 2 w 1
Offline