Re: Error when build linux kernel

From: Petr Vandrovec
Date: Mon Jun 14 2004 - 13:48:57 EST


On 14 Jun 04 at 4:22, ngo giang wrote:
> machine and installed RedHat 8.0 as a guest operating
> system . I want to built kernel . I used kernel 2.4.3
> and did follow :
> # cp linux-2.4.3.tar.gz /home
>
> but the compilation has error as follow :
>
> timer.c : 35 conflicting types for Ĺxtimeĺ
> /home/linux/include/linux/sched.h:540 : previous
> declaration of `xtime'

Kernel you are trying to build is incompatible with gcc you are trying
to use. Use 2.4.26 kernel, or use gcc which is approved for 2.4.3 kernel.
You cannot use gcc-3.3.3 for building 2.4.3 kernel...
Petr Vandrovec


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/