Hi developers, I have been trying to compile maemo kernel-source in my scratchbox (0.9.8) in order to build pwc usbcam driver module (pwc.ko) for nokia770. So I followed the instruction at the page, 'HowTo KernelCompilation':http://maemo.org/maemowiki/HowTo_KernelCompilation.
I completed the preparation procedure as follows: 1. Install a gcc 3.4 toolchain, scratchbox-toolchain-arm-gcc3.4.cs- glibc-0.9.8.5.tar.gz 2. Start sbox and create a new target for kernel compilation
$ sbox-config -ct MAEMO_KERNEL > select newly installed gcc 3.4 toolchain select qemu-arm as CPU transparency mode select debian devkit
3. Select the newly created target, install ARM rootstrap, and finish toolchain setup
$ sbox-config -st MAEMO_KERNEL $ sbox-config -er /scratchbox/packages/Maemo_Dev_Platform_RS_v2.1_arm.tgz $ sbox-config -cc $ sbox-config -cf
4. I checked /etc/apt/source.list
#maemo:essential deb http://catalogue.tableteer.nokia.com/certified/ mistral user deb http://catalogue.tableteer.nokia.com/non-certified/ mistral user deb http://repository.maemo.org/extras/ scirocco free non-free deb-src http://repository.maemo.org/extras/ scirocco free non-free deb http://repository.maemo.org/ scirocco free non-free deb-src http://repository.maemo.org/ scirocco free non-free
5. Create a directory to work in
mkdir ~/kernel-build
------------------------------------------------------------------------------------------- My weird problem began with this compilation procedure. When I tried to update with 'apt-get update', I got the following messages: [sbox-MAEMO_KERNEL: ~] > apt-get update
Err http://repository.maemo.org scirocco/free Packages 404 Not Found [IP: 143.215.203.7 80] Err http://catalogue.tableteer.nokia.com mistral/user Packages 404 Not Found [IP: 84.53.139.99 80] Ign http://catalogue.tableteer.nokia.com mistral/user Release Ign http://repository.maemo.org scirocco/free Release Hit http://catalogue.tableteer.nokia.com mistral/user Packages Err http://repository.maemo.org scirocco/non-free Packages 404 Not Found [IP: 143.215.203.7 80] Ign http://catalogue.tableteer.nokia.com mistral/user Release Ign http://repository.maemo.org scirocco/non-free Release Hit http://repository.maemo.org scirocco/free Sources Ign http://repository.maemo.org scirocco/free Release Hit http://repository.maemo.org scirocco/non-free Sources Ign http://repository.maemo.org scirocco/non-free Release Hit http://repository.maemo.org scirocco/free Packages Hit http://repository.maemo.org scirocco/free Release Hit http://repository.maemo.org scirocco/non-free Packages Hit http://repository.maemo.org scirocco/non-free Release Hit http://repository.maemo.org scirocco/free Sources Ign http://repository.maemo.org scirocco/free Release Hit http://repository.maemo.org scirocco/non-free Sources Ign http://repository.maemo.org scirocco/non-free Release Failed to fetch http://catalogue.tableteer.nokia.com/certified/dists/mistral/user/binary-arm/Packages.gz 404 Not Found [IP: 84.53.139.99 Failed to fetch http://repository.maemo.org/extras/dists/scirocco/free/binary-arm/Packages.gz 404 Not Found [IP: 143.215.203.7 80] Failed to fetch http://repository.maemo.org/extras/dists/scirocco/non-free/binary-arm/Packages.gz 404 Not Found [IP: 143.215.203.7 80] Reading Package Lists... Done W: Couldn't stat source package list http://catalogue.tableteer.nokia.com mistral/user Packages (/var/lib/apt/lists/catalogue.tableteer.nokia.com_certified_dists_mistral_user_binary-arm_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://repository.maemo.orgscirocco/free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_scirocco_free_binary-arm_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://repository.maemo.orgscirocco/non-free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_scirocco_non-free_binary-arm_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Some index files failed to download, they have been ignored, or old ones used instead.
Also, I tried to run 'fakeroot apt-get install kernel-source-2.6.16' command, I got the following message: [sbox-MAEMO_KERNEL: ~] > fakeroot apt-get install kernel-source-2.6.16
Reading Package Lists... Done Building Dependency Tree... Done You might want to run `apt-get -f install' to correct these: The following packages have unmet dependencies: adduser: Depends: perl-base (>= 5.6.0) but it is not installable Depends: passwd (>= 961025) but it is not installable autoconf: Depends: perl (> 5.005) but it is not installable Depends: m4 but it is not installable Depends: debianutils (>= 1.8) but it is not installable autoconf2.13: Depends: m4 but it is not installable Depends: debianutils (>= 1.8) but it is not installable Depends: perl but it is not installable debconf: PreDepends: perl-base (>= 5.6.1-4) but it is not installable debhelper: Depends: perl (>= 5.6.0-16) but it is not installable Depends: coreutils but it is not installable or fileutils (>= 4.0-2.1) but it is not installable Depends: file (>= 3.23-1) but it is not installable Depends: html2text but it is not installable Depends: binutils but it is not installable docbook-dsssl: Depends: openjade but it is not installable or openjade1.3 but it is not installable or jade but it is not installable Depends: perl but it is not installable docpurge: Depends: dpkg (>= 1.9.7) but it is not installable dpkg-dev: Depends: dpkg (>= 1.13.1) but it is not installable Depends: perl5 but it is not installable Depends: cpio (>= 2.4.2-2) but it is not installable Depends: patch (>= 2.2-1) but it is not installable Depends: make but it is not installable Depends: binutils but it is not installable gnome-common: Depends: libtool (>= 1.5) but it is not installable Depends: pkg-config but it is not installable Depends: gettext (>= 0.11) but it is not installable gtk-doc-tools: Depends: jade (>= 1.2.1-35) but it is not installable Depends: docbook-to-man but it is not installable Depends: xsltproc but it is not installable hildon-fm-dev: Depends: hildon-fm1 (= 0.29-1) but it is not installable Depends: libgtk2.0-dev (>= 2:2.6.10-1.osso4) but it is not installable Depends: osso-thumbnail-dev but it is not installable Depends: hildon-libs-dev (>= 0.12.0) but it is not installable Depends: libossomime-dev but it is not installable hildon-home-dev: Depends: pkg-config but it is not installable Depends: libgtk2.0-dev but it is not installable Depends: hildon-libs-dev but it is not installable hildon-initscripts: Depends: matchbox-window-manager but it is not installable Depends: gtk2-engines-sapwood but it is not installable Depends: dbus but it is not installable hildon-lgpl-dev: Depends: hildon-libs-dev but it is not installable hildon-lgpl0: Depends: hildon-libs0 but it is not installable hildon-navigator-dev: Depends: pkg-config but it is not installable Depends: hildon-libs-dev but it is not installable intltool: Depends: gettext (>= 0.10.36-1) but it is not installable Depends: patch but it is not installable Depends: libxml-parser-perl but it is not installable Depends: file but it is not installable intltool-debian: Depends: perl but it is not installable Depends: gettext but it is not installable kernel-source-2.6.16: Depends: binutils but it is not installable Depends: bzip2 but it is not installable Depends: coreutils but it is not installable or fileutils (>= 4.0) but it is not installable libfontconfig1-dev: Depends: libfontconfig1 (= 2.3.2-1osso14) but it is not installable Depends: libfreetype6-dev (>= 2.1.9-1osso) but it is not installable Depends: libexpat1-dev but it is not installable libgtk2.0-common: Depends: libgtk2.0-0 but it is not installable libhtml-tagset-perl: Depends: perl (>= 5.6.0-16) but it is not installable libhtml-tree-perl: Depends: perl (>= 5.6.0-16) but it is not installable Depends: libhtml-parser-perl but it is not installable libimengines-sdk: Depends: libimengines-sdk0 but it is not installable libosso-certman-dev: Depends: libglib2.0-dev but it is not installable Depends: hildon-libs-dev but it is not installable Depends: libcst-dev but it is not installable Depends: libosso-certman1 but it is not installable libosso-help-dev: Depends: libosso-help0 (= 1.5.11-1) but it is not installable Depends: hildon-libs-dev but it is not installable Depends: hildon-base-lib-dev but it is not installable Depends: libart-2.0-dev but it is not installable Depends: gtkhtml-dev but it is not installable Depends: libxml2-dev but it is not installable libpng3-dev: Depends: libpng12-dev (>= 1.2.5.0-2) but it is not installable liburi-perl: Depends: perl (>= 5.6.0-16) but it is not installable Depends: libmime-base64-perl but it is not installable Depends: data-dumper but it is not installable libwww-perl: Depends: perl (>= 5.6.0-16) but it is not installable Depends: libnet-perl (>= 1:1.09) or perl (>= 5.8.1) but it is not installable Depends: libdigest-md5-perl but it is not installable Depends: libmime-base64-perl (>= 2.1) but it is not installable or perl (>= 5.8) but it is not installable Depends: libhtml-parser-perl (>= 3.33) but it is not installable maemo-extras-repository: Depends: osso-application-installer but it is not installable maemo-repository: Depends: osso-application-installer but it is not installable makedev: Depends: base-passwd (>= 3.0.4 ) but it is not installable netbase: Depends: ifupdown but it is not installable nokia-repository: Depends: osso-application-installer (>= 4.0) but it is not installable Depends: osso-gnupg but it is not installable or gnupg but it is not installable Depends: apt but it is not installable osso-af-base: Depends: dbus (>= 0.60) but it is not installable Depends: libdbus-1-2 but it is not installable Depends: libdbus-glib-1-2 but it is not installable Depends: libosso1 (>= 1.0.0) but it is not installable Depends: gconf2 (>= 2.6.4.13 ) but it is not installable Depends: dosfstools but it is not installable Depends: osso-af-utils but it is not installable Depends: libatk1.0-0 but it is not installable Depends: libpango1.0-0 (>= 1.8.0) but it is not installable Depends: libxcursor1 but it is not installable Depends: libpng12-0 but it is not installable Depends: libjpeg62 but it is not installable Depends: libtiff4 (>= 3.6.1-4) but it is not installable Depends: libsdl-image1.2 but it is not installable osso-af-base-dev: Depends: libdbus-1-dev but it is not installable Depends: libdbus-glib-1-dev but it is not installable Depends: libosso-dev but it is not installable Depends: libgconf2-dev but it is not installable Depends: libatk1.0-dev but it is not installable Depends: libpango1.0-dev but it is not installable Depends: libxcursor-dev but it is not installable Depends: libpng12-dev but it is not installable Depends: libjpeg62-dev but it is not installable Depends: libtiff4-dev but it is not installable Depends: libbz2-dev but it is not installable Depends: libsdl-image1.2-dev but it is not installable osso-af-hildon-input-method-sdk: Depends: hildon-input-method-sdk (>= 1.2.5-4) but it is not installable Depends: hildon-input-method-framework-sdk (>= 1.2.1-1) but it is not installable Depends: hildon-input-method-plugins-western-sdk (>= 1.2.6-1) but it is not installable Depends: hildon-input-method-widgets-sdk0 (>= 1.1.5-1) but it is not installable Depends: libimlayouts0 (>= 1.5.4-1) but it is not installable osso-af-sb-startup: Depends: gtk2-engines-sapwood but it is not installable osso-af-startup: Depends: osso-af-utils (>= 1.1) but it is not installable Depends: dbus (>= 0.61-osso5) but it is not installable Depends: sudo but it is not installable osso-ai: Depends: osso-application-installer (>= 4.0) but it is not installable Depends: osso-gnupg but it is not installable Depends: maemo-select-menu-location but it is not installable osso-app-killer: Depends: dbus but it is not installable Depends: osso-bttools but it is not installable osso-core-config: Depends: sysvinit but it is not installable Depends: passwd but it is not installable Depends: coreutils but it is not installable osso-gwconnect-dev: Depends: libglib2.0-dev but it is not installable Depends: pkg-config but it is not installable perl-modules: Depends: perl (>= 5.8.3-1) but it is not installable po-debconf: Depends: perl but it is not installable Depends: gettext but it is not installable posix-locales: Depends: libc6 (> 2.3.2) but it is not installable python2.4-bluez-dev: Depends: python2.4-bluez (= 0.6.1-1osso5) but it is not installable python2.4-dbus-dev: Depends: python2.4-dbus (= 0.61-1osso5) but it is not installable python2.4-dev: Depends: python2.4 (= 2.4.2-1osso13) but it is not installable python2.4-gtk2-dev: Depends: python2.4-gtk2 (= 2.6.3-1osso6) but it is not installable python2.4-hildon-dev: Depends: python2.4-hildon (= 0.8.6-1osso1) but it is not installable python2.4-numeric-dev: Depends: python2.4-numeric (= 24.2-1osso3) but it is not installable python2.4-osso-dev: Depends: python2.4-osso (= 0.1-1osso4) but it is not installable python2.4-pygame-dev: Depends: python2.4-pygame (= 1.6-2osso5) but it is not installable python2.4-pyrex: Depends: python2.4 but it is not installable python2.4-xml-dev: Depends: python2.4-xml (= 0.8.4-1osso8) but it is not installable sdk-default-theme-config: Depends: gtk2-engines-sapwood but it is not installable sgml-base: Depends: perl but it is not installable sgml-data: Depends: perl but it is not installable x-build: Depends: pkg-config but it is not installable Depends: libtool but it is not installable Depends: binutils (>= 2.14.90.0.7) but it is not installable xlibs: Depends: libice6 but it is not installable Depends: libsm6 but it is not installable Depends: libx11-6 but it is not installable Depends: libxext6 but it is not installable Depends: libxi6 but it is not installable Depends: libxpm4 but it is not installable Depends: libxrandr2 but it is not installable Depends: libxt6 but it is not installable Depends: libxtst6 but it is not installable Depends: libxsp0 but it is not installable Depends: libxau0 but it is not installable xlibs-dev: Depends: libice-dev but it is not installable Depends: libsm-dev but it is not installable Depends: libx11-dev but it is not installable Depends: libxext-dev but it is not installable Depends: libxi-dev but it is not installable Depends: libxpm-dev but it is not installable Depends: libxrandr-dev but it is not installable Depends: libxt-dev but it is not installable Depends: libxtst-dev but it is not installable Depends: libxv-dev but it is not installable Depends: libxsp-dev but it is not installable Depends: libxau-dev but it is not installable xml-core: Depends: perl but it is not installable W: Couldn't stat source package list http://catalogue.tableteer.nokia.com mistral/user Packages (/var/lib/apt/lists/catalogue.tableteer.nokia.com_certified_dists_mistral_user_binary-arm_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://repository.maemo.orgscirocco/free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_scirocco_free_binary-arm_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://repository.maemo.orgscirocco/non-free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_scirocco_non-free_binary-arm_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
If I run 'apt-get -f install', this removes lots of libraries (relating to dependency problems, I guess). I have tried to search for the solution to this problem throughout this mailing archive, but I can't. Could anyone help me solve this problem? or any advice? Thanks! Jaeseok Yun
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers