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

unable to compile a kernel



i just tried to compile the kernel.org 2.4.20 kernel, but it bailed
out, line 440 of ide-cd.h contains invalid syntax -- for gcc-3.3.
the kernel README says that 2.95.3 has to be used, so I installed
2.95.4-17 from Debian. Now the error doesn't appear anymore, but
a new one appeeared:

  gcc-2.95 -D__KERNEL__
  -I/home/madduck/compile/kernel/src/linux-2.4.20-grsec1.9.9h+freeswan1.99+preempt20030413/include
  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
  -fno-common -fomit-frame-pointer -pipe
  -mpreferred-stack-boundary=2 -march=athlon -nostdinc -iwithprefix
  include -DKBUILD_BASENAME=sched  -fno-omit-frame-pointer -c -o
  sched.o sched.c
 
  cc1: bad value (athlon) for -march= switch

So I am unable to compile out of the box. What's going on?
I searched google and the docs, but I could not find a solution.

Thanks,

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Keyserver problems? http://keyserver.kjsl.com/~jharris/keyserver.html
Get my key here: http://madduck.net/me/gpg/publickey

Attachment: pgph0y3Am1eQK.pgp
Description: PGP signature


Reply to: