Cannot install kernel headers package

2007-10-09 Thread Federico Giacomini
Hello,
I need to build the kernel-image and headers .deb packages for a embedded 
system equipped with Debian etch.
As the embedded processor is not much powerful (P III) and is too busy with 
several other tasks, I have to compile the kernel source (vanilla 2.6.20 
patched with RTAI) on a PC running Kubuntu feisty.
I made the packages with the usual command:

fakeroot make-kpkg --revision=0.1 --append-to-version=-rtai kernel_image 
kernel_headers

The kernel .deb package could be successfully installed on the Debian system, 
but when I tried to install the kernel_headers package, the following error 
occurred:

dpkg: dependency problems prevent configuration of linux-headers-2.6.20-rtai:
 linux-headers-2.6.20-rtai depends on libc6 (>= 2.5-0ubuntu1); however:
  Version of libc6 on system is 2.3.6.ds1-13etch2.
dpkg: error processing linux-headers-2.6.20-rtai (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-headers-2.6.20-rtai

My question is: how can I correctly make a cross-system (Ubuntu/Debian) kernel 
compilation/installation?
Any help will be highly appreciated!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cannot install kernel headers package

2007-10-09 Thread Thiemo Seufer
Federico Giacomini wrote:
> Hello,
> I need to build the kernel-image and headers .deb packages for a embedded 
> system equipped with Debian etch.
> As the embedded processor is not much powerful (P III) and is too busy with 
> several other tasks, I have to compile the kernel source (vanilla 2.6.20 
> patched with RTAI) on a PC running Kubuntu feisty.
> I made the packages with the usual command:
> 
> fakeroot make-kpkg --revision=0.1 --append-to-version=-rtai kernel_image 
> kernel_headers
> 
> The kernel .deb package could be successfully installed on the Debian system, 
> but when I tried to install the kernel_headers package, the following error 
> occurred:
> 
> dpkg: dependency problems prevent configuration of linux-headers-2.6.20-rtai:
>  linux-headers-2.6.20-rtai depends on libc6 (>= 2.5-0ubuntu1); however:
>   Version of libc6 on system is 2.3.6.ds1-13etch2.
> dpkg: error processing linux-headers-2.6.20-rtai (--install):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  linux-headers-2.6.20-rtai
> 
> My question is: how can I correctly make a cross-system (Ubuntu/Debian) 
> kernel compilation/installation?
> Any help will be highly appreciated!

Build inside an etch chroot.


Thiemo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cannot install kernel headers package

2007-10-10 Thread Federico Giacomini
On martedì 9 ottobre 2007, Thiemo Seufer wrote:
> > 
> > My question is: how can I correctly make a cross-system (Ubuntu/Debian) 
> > kernel compilation/installation?
> > Any help will be highly appreciated!
> 
> Build inside an etch chroot.
> 
> 
> Thiemo
> 

Do you mean I have to make a local copy of the whole Debian file system on the 
Ubuntu machine and compile there?
Many thanks,

Federico