RE: Compiling kernel (i386) using make-kpkg
- To: Debian AMD64 <debian-amd64@lists.debian.org>
- Subject: RE: Compiling kernel (i386) using make-kpkg
- From: Kushal Koolwal <kushalkoolwal@hotmail.com>
- Date: Thu, 19 Nov 2009 12:08:58 -0800
- Message-id: <[🔎] SNT106-W52435E6F7F0F63561D51ABBAA20@phx.gbl>
- In-reply-to: <[🔎] 877htnywio.fsf@frosties.localdomain>
- References: <[🔎] SNT106-W106D812EA8DEEEC1572C12BAB20@phx.gbl>,<[🔎] SNT106-W621CE98898F7AF50363288BAB20@phx.gbl>,<[🔎] 87tywvwcuu.fsf@frosties.localdomain>,<[🔎] SNT106-W1566C353C57BBB52457701BAA40@phx.gbl>,<[🔎] 87fx8cn5df.fsf@frosties.localdomain>,<[🔎] SNT106-W13BBF6E2704CCE1FC6DE38BAA30@phx.gbl>,<[🔎] 87fx8c76rp.fsf@frosties.localdomain>,<[🔎] SNT106-W496AFFB20585BDE49CB3F7BAA30@phx.gbl>,<[🔎] 20091118195856.GE1483@samad.com.au>,<[🔎] SNT106-W220598AAB31D6F3ADB17CFBAA30@phx.gbl>,<[🔎] 877htnywio.fsf@frosties.localdomain>
> PS: I just thought of one more thing. Try --cross-compile "".
I did tried it and I got the following errors:
make[2]: Leaving directory `/usr/src/linux-source-2.6.30'
make EXTRAVERSION=-32bit CROSS_COMPILE=i486-linux-gnu- ARCH=i386 prepare
/usr/src/linux-source-2.6.30/scripts/gcc-version.sh: line 25: i486-linux-gnu-gcc: command not found
/usr/src/linux-source-2.6.30/scripts/gcc-version.sh: line 26: i486-linux-gnu-gcc: command not found
make[2]: i486-linux-gnu-gcc: Command not found
make[2]: Entering directory `/usr/src/linux-source-2.6.30'
scripts/kconfig/conf -s arch/x86/Kconfig
make[2]: Leaving directory `/usr/src/linux-source-2.6.30'
/usr/src/linux-source-2.6.30/scripts/gcc-version.sh: line 25: i486-linux-gnu-gcc: command not found
/usr/src/linux-source-2.6.30/scripts/gcc-version.sh: line 26: i486-linux-gnu-gcc: command not found
make[2]: i486-linux-gnu-gcc: Command not found
make[2]: Entering directory `/usr/src/linux-source-2.6.30'
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CC kernel/bounds.s
/bin/sh: i486-linux-gnu-gcc: command not found
make[3]: *** [kernel/bounds.s] Error 127
make[2]: *** [prepare0] Error 2
make[2]: Leaving directory `/usr/src/linux-source-2.6.30'
make[1]: *** [debian/stamp/conf/kernel-conf] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.30'
make: *** [debian/stamp/conf/minimal_debian] Error 2
Failed to create a ./debian directory: No such file or directory at /usr/bin/make-kpkg line 1048.
May be i should symlink i486-linux-gnu-gcc to x86_64-linux-gnu-gcc to make the above work?
Kushal Koolwal
I do blog at http://blogs.koolwal.net/
_________________________________________________________________
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/
Reply to: