public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Error when build linux kernel
@ 2004-06-14 18:47 Petr Vandrovec
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Vandrovec @ 2004-06-14 18:47 UTC (permalink / raw)
  To: ngo giang; +Cc: linux-kernel

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
                                                                                        


^ permalink raw reply	[flat|nested] 2+ messages in thread
* Error when build linux kernel
@ 2004-06-14 11:22 ngo giang
  0 siblings, 0 replies; 2+ messages in thread
From: ngo giang @ 2004-06-14 11:22 UTC (permalink / raw)
  To: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 973 bytes --]


Hello !

I am Ngo Hoang Giang 

I installed Vmware 4.0 for Window , created a virtual
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

# cd  /home

# tar zxvf 1inux-2.4.19.tar.gz

# ln -sf  linux-2.4.19  linux

# cd linux

# make menuconfig

# make dep

# make bzImage

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’
make[2] : *** [timer.o] Error 1
make[2] : Leaving directory ‘/home/linux/kernel’
make[1] : *** [first_rule] Error 2
make[1] : Leaving directory ‘/home/linux/kernel’
make :  *** [_dir_kernel ] Error 2

The result is similar when I tried with kernel 2.4.2
Thanks for your help ,
Ngo Hoang Giang



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-14 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-14 18:47 Error when build linux kernel Petr Vandrovec
  -- strict thread matches above, loose matches on Subject: below --
2004-06-14 11:22 ngo giang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox