Re: unable to compile a kernel
hmm, ive never had kernel compile errors before, but
it sounds like you had one thing, then got an error,
then upgraded..
so I first off would do a "make mrproper" to
reupdate the compilation so it knows how your system
is setup since youve recently changed it
hope that helps
--- martin f krafft <madduck@debian.org> wrote:
> 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 part 2 application/pgp-signature
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
Reply to: