[Prev][Next][Index][Thread]

Problems compiling Kernel v2



Hi

I have tried to update my Redhat installation from kernel 1.2.13 to v2.
I compiled the kernel, but when I try to make zImage I get the following
compilation error:

make[1]: Entering directory `/usr/src/linux-2.0/arch/i386/boot'
as86 -0 -a -o bootsect.o bootsect.s
as86: unrecognized option `-0'

I've tried to install a newer version of as but without success.
as86 -version reports:
GNU assembler version 2.7 (i486-linux), using BFD version 2.7.0.3

When removing the -0 option from the compilation line I get TONS of error
messages:
bootsect.s: Assembler messages:
bootsect.s:2: Error: Rest of line ignored. First ignored character is `!'.
bootsect.s:3: Error: Rest of line ignored. First ignored character is `!'.
bootsect.s:4: Error: Rest of line ignored. First ignored character is `!'.
bootsect.s:5: Error: Rest of line ignored. First ignored character is `!'.
....
bootsect.s:522: Error: operands given don't match any known 386 instruction
bootsect.s:524: Error: operands given don't match any known 386 instruction
bootsect.s:525: Error: expecting operand after ','; got nothing
bootsect.s:526: Error: operands given don't match any known 386 instruction
.... and more.....

Any suggestions ?

-Benny


Follow-Ups: