|
Kompilacja modułów na ReadyNas Duo - SPARC
irk - 23-10-2009 20:11
Jest urządzenie ReadyNas DUO na procesorze SPARC z Debianem na jajku 2.6.17 ÂŚciągnąłem odpowiednie źródełka. Zainstalowałem to co poniżej:
apt-get update apt-get install libc6-dev apt-get install gcc apt-get install gdb apt-get install libtag1-dev apt-get install uuid-dev apt-get install libncurses5-dev apt-get install libglib2.0-dev
Na zainstalowanie build-essential jednak mi nie pozwolił:
NAS:/backup/GPL/linux-2.6.17.8# apt-get install build-essential 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: build-essential: Depends: libc6-dev-sparc64 but it is not going to be installed Depends: dpkg-dev (>= 1.4.1.19) but it is not going to be installed E: Broken packages NAS:/backup/GPL/linux-2.6.17.8#
Przygotowałem co trzeba do kompilacji ale się czepia :( Może jakaś dobra dusza podpowie co go gryzie? NAS:/backup/GPL/linux-2.6.17.8# make all make: Circular arch/padre/kernel/asm-offsets.s <- prepare dependency dropped. CHK include/linux/version.h make[1]: `arch/padre/kernel/asm-offsets.s' is up to date. CC init/main.o /bin/sh: line 1: sparc-linux-objdump: command not found CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o /bin/sh: line 1: sparc-linux-objdump: command not found CC init/do_mounts.o /bin/sh: line 1: sparc-linux-objdump: command not found CC init/do_mounts_rd.o /bin/sh: line 1: sparc-linux-objdump: command not found CC init/do_mounts_initrd.o /bin/sh: line 1: sparc-linux-objdump: command not found CC init/do_mounts_md.o /bin/sh: line 1: sparc-linux-objdump: command not found LD init/mounts.o /bin/sh: line 1: sparc-linux-ld: command not found make[1]: *** [init/mounts.o] Error 127 make: *** [init] Error 2 NAS:/backup/GPL/linux-2.6.17.8#
Tak naprawdę chciałem skompilować sterownik pod pl2303 (USB-Serial).
Shakez - 23-10-2009 20:35
Czy przypadkiem takiego sterownika nie ma w nowszych jajkach. Może aktualizacja załatwi problem.
irk - 23-10-2009 20:43
To nie takie proste. Jądro z łatą dostarczane jest jako bin. Aktualnie mam najnowszy. Urządzenie to NAS serwer (2 HDD raid lustrzany) Nie chcę tracić funkcjonalności. We flashu siedzi 64MB, ale na dyskach mogę dodać co sobie zapragnę. Wszytko co sobie dodałem działa ładnie - tylko ta kompilacja. Jak zamieszam w tych 64MB i nie uruchomi się - to pozostaje serwis, Gdy nie uda się bezpośrednio pozostanie mi kompilacja skrośna na PC-ie. Ale boję tego.
Shakez - 23-10-2009 21:17
Spróbuj:
apt-get install dpkg-dev apt-get install libc6-dev-sparc64
irk - 23-10-2009 22:27
Niestety próbowałem. NAS:/backup/GPL# apt-get install dpkg-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: dpkg-dev: Depends: lzma but it is not installable E: Broken packages
NAS:/backup/GPL# apt-get install libc6-dev-sparc64 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: libc6-dev-sparc64: Depends: libc6-sparc64 (= 2.3.2.ds1-22sarge6) but it is not going to be installed Depends: libc6-dev (= 2.3.2.ds1-22sarge6) but 2.3.2.ds1-22s arge6.infrant1 is to be installed E: Broken packages
NAS:/backup/GPL# apt-get install libc6-dev Reading Package Lists... Done Building Dependency Tree... Done libc6-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 72 not upgraded. NAS:/backup/GPL#
zanotowane.pldoc.pisz.plpdf.pisz.plminister.pev.pl
|