Build an i386 kernel on sparc?
From: Douglas Garstang (doug_at_pobox.com)
Date: 11/27/03
- Next message: Jon: "Re: Wireless and Linux like a jigsaw puzzle with most pieces missing..."
- Previous message: Dave: "Re: Linux on Athlon XP???"
- Next in thread: Sybren Stüvel: "Re: Build an i386 kernel on sparc?"
- Reply: Sybren Stüvel: "Re: Build an i386 kernel on sparc?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 Nov 2003 09:15:28 GMT
All,
I have Aurora Linux build 1.0 (based on Red Hat 7.3) installed on a Sun
Enterprise 220R.
I'm wondering if its possible to compile an i386 kernel on that system?
I downloaded the i386 kernel source rpm for RedHat 9.0 and tried to install
it, but got:
[root@enterprise220-3 RPMS]# rpm -i kernel-source-2.4.20-8.i386.rpm
error: failed dependencies:
libc.so.6(GLIBC_2.3) is needed by kernel-source-2.4.20-8
and couldn't work out what it was complaining about because /lib/libc.so.6
existed.
So, then I went to ftp.kernel.org and downloaded the tarball for 2.4.20. I
ran a 'make menuconfig' and noticed that the menuconfig program had been
customised for sparc. So, I edited the top level Makefile and hard coded
ARCH to sparc64. Went back into menuconfig and now it looked like a
menuconfig for i386. Great.
Configured everything there and ran a 'make dep'. That works. However, after
'make bzImage' I got a stack of errors.
{standard input}: Assembler messages:
{standard input}:68: Error: Illegal operands
{standard input}:72: Error: Illegal operands
{standard input}:158: Error: Illegal operands
{standard input}:159: Error: Unknown opcode: `orl'
{standard input}:160: Error: Illegal operands
{standard input}:178: Error: Illegal operands
{standard input}:179: Error: Unknown opcode: `orl'
{standard input}:180: Error: Illegal operands
{standard input}:188: Error: Unknown opcode: `fninit'
...
etc
So... is what I'm trying to do possible, or am I just wasting my time?
Thanks,
Doug.
- Next message: Jon: "Re: Wireless and Linux like a jigsaw puzzle with most pieces missing..."
- Previous message: Dave: "Re: Linux on Athlon XP???"
- Next in thread: Sybren Stüvel: "Re: Build an i386 kernel on sparc?"
- Reply: Sybren Stüvel: "Re: Build an i386 kernel on sparc?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]