List Info

Thread: Kernel compilation (Bora 3.1)




Kernel compilation (Bora 3.1)
user name
2007-04-17 10:52:52
Hi all,
  I'm trying to compile kernel to n800. I followed the
instructions in
http://www.maemo.org/platform/docs/howtos/
howto_kernel_guide_bora.html,
but I can't.
  After create MaemoKernel target, update the apt
repository, I tried
to install kernel-source-rx-34 as described in the manual,
but I got
error such as:

[sbox-MaemoKernel: ~/maemo_kernel] > apt-get source
kernel-source-rx-34
Reading package lists... Done
Building dependency tree... Done
Need to get 53.7MB of source archives.
Get:1 http://repository.maemo.o
rg bora/free kernel-source-rx-34
2.6.18-osso40 (dsc) [452B]
Get:2 http://repository.maemo.o
rg bora/free kernel-source-rx-34
2.6.18-osso40 (tar) [53.6MB]
Get:3 http://repository.maemo.o
rg bora/free kernel-source-rx-34
2.6.18-osso40 (diff) [106kB]
Fetched 3B in 8s (0B/s)
/scratchbox/tools/bin/sh: line 1: dpkg-source: command not
found
Unpack command 'dpkg-source -x
kernel-source-rx-34_2.6.18-osso40.dsc' failed.
Check if the 'dpkg-dev' package is installed.
E: Child process failed

So, I tried to install dpkg-dev, but I got the following:

[sbox-MaemoKernel: ~/maemo_kernel] > apt-get install
dpkg-dev
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:
  bluez-utils: Depends: module-init-tools
  dpkg: Depends: coreutils or
                 textutils (>= 2.0-3) but it is not
installable
  dpkg-dev: Depends: perl5 but it is not installable
            Depends: perl-modules 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
  hildon-home-dev: Depends: pkg-config but it is not
installable
  hildon-navigator-dev: Depends: pkg-config but it is not
installable
  libart-2.0-dev: Depends: pkg-config but it is not
installable
  libatk1.0-dev: Depends: pkg-config but it is not
installable
  libdbus-1-dev: Depends: pkg-config but it is not
installable
  libgalago-dev: Depends: pkg-config (>= 0.14.0) but it
is not installable
  libglib2.0-dev: Depends: pkg-config (>= 0.14.0) but it
is not installable
  libgstreamer-plugins-base0.10-dev: Depends: pkg-config but
it is not
installable
  libgstreamer0.10-dev: Depends: pkg-config but it is not
installable
  libgtk2.0-dev: Depends: pkg-config but it is not
installable
  libgwobex-dev: Depends: pkg-config but it is not
installable
  libmatchbox-dev: Depends: pkg-config but it is not
installable
  libpango1.0-dev: Depends: pkg-config but it is not
installable
  osso-core-config: Depends: coreutils
  osso-gwconnect-dev: Depends: pkg-config but it is not
installable
  ppp: Depends: netbase but it is not going to be installed
       Depends: procps
  sharutils: Depends: debianutils (>= 1.6)
  sysvinit: Depends: coreutils
E: Unmet dependencies. Try 'apt-get -f install' with no
packages (or
specify a solution).

Then, I tried apt-get -f install, but it tries to remove
core
packages, such as bash, sharutils, and others. I suppose
this is not
the right way to follow.

What should I do now?

Thank you! Any suggestion will be greatfully appreciated.

Leandro.

Versions:
   Scratchbox Apophis
   Maemo RootStrap 3.1
_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

Re: Kernel compilation (Bora 3.1)
user name
2007-04-17 11:16:48
Leandro Melo de Sales wrote:
> Hi all,
>  I'm trying to compile kernel to n800. I followed the
instructions in
> http://www.maemo.org/platform/docs/howtos/
howto_kernel_guide_bora.html,
> but I can't.
>  After create MaemoKernel target, update the apt
repository, I tried
> to install kernel-source-rx-34 as described in the
manual

NOt sure what is the problem but try to compile it in normal
bora 
SDK_ARM target if you have one. It may be easier and even
save some disk 
space.

 From the howto:
"It is not mandatory to set up a separate target for
kernel compilation 
but in this example we do it in case you have modified your
default 
armel target in some special way."

Frantisek
_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

Re: Kernel compilation (Bora 3.1)
user name
2007-04-17 11:25:38
Hi,

  The guide is incorrect. It is necessary to setup the
debian devkit,
which is not specified in the instructions given by the
guide. When it
is created the MaemoKernel target the guide author didn't
specify the
debian devkit. I'll send to maemo guys the parts that are
missing.

Thank you,
Leandro.

2007/4/17, Frantisek Dufka <dufkafseznam.cz>:
> Leandro Melo de Sales wrote:
> > Hi all,
> >  I'm trying to compile kernel to n800. I followed
the instructions in
> > http://www.maemo.org/platform/docs/howtos/
howto_kernel_guide_bora.html,
> > but I can't.
> >  After create MaemoKernel target, update the apt
repository, I tried
> > to install kernel-source-rx-34 as described in the
manual
>
> NOt sure what is the problem but try to compile it in
normal bora
> SDK_ARM target if you have one. It may be easier and
even save some disk
> space.
>
>  From the howto:
> "It is not mandatory to set up a separate target
for kernel compilation
> but in this example we do it in case you have modified
your default
> armel target in some special way."
>
> Frantisek
>
_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )