RE: Compiling kernel (i386) using make-kpkg
Thank you for following up, Goswin.
>Do you have gcc-multilib installed?
Yes I do:
debian64# dpkg -l | grep multilib
ii gcc-4.3-multilib 4.3.2-1.1 The GNU C compiler (multilib files)
ii gcc-multilib 4:4.3.2-2 The GNU C compiler (multilib files)
Here is gcc version:
# gcc --version
gcc (GCC) 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)
>What error do you get?
So I tried it and it didn't give me an error but it created a 64-bit package. I gave the command:
debian64# make-kpkg --cross-compile - --arch i386 --append-to-version=-32bit kernel_image
and it created a package:
linux-image-2.6.30-8-bpo50-32bit_2.6.30-8-bpo50-32bit-10.00.Custom_amd64.deb
which upon installing gave the following error:
dpkg: error processing linux-image-2.6.30-8-bpo50-32bit_2.6.30-8-bpo50-32bit-10.00.Custom_amd64.deb (--install):
package architecture (amd64) does not match system (i386)
Errors were encountered while processing:
linux-image-2.6.30-8-bpo50-32bit_2.6.30-8-bpo50-32bit-10.00.Custom_amd64.deb
debian32:~#
However if I give the following command:
debian64# linux32
debian64# make-kpkg --cross-compile - --arch i386 --append-to-version=-32bit kernel_image
then it gives me the following error:
Any ideas?
Kushal Koolwal
I do blog at http://blogs.koolwal.net/
_________________________________________________________________
Bing brings you maps, menus, and reviews organized in one place.
http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLHMTAG&crea=TEXT_MFESRP_Local_MapsMenu_Resturants_1x1
Reply to: