* Re: Kernel compilation errors.
@ 2003-05-27 4:46 satyakumar.y
0 siblings, 0 replies; 4+ messages in thread
From: satyakumar.y @ 2003-05-27 4:46 UTC (permalink / raw)
To: maha rajan
in function timer.c comment line 35 volatile struct timeval xtime
__attribute__ ((aligned (16)));
it will compile
maha rajan
<maha_rtlin@yahoo.co.in> To: linux-kernel@vger.kernel.org
Sent by: cc:
linux-kernel-owner@vger. Subject: Kernel compilation errors.
kernel.org
05/26/2003 05:39 PM
Dear all,
I am running a kernel 2.4.20-8 and i have the
sources of linux-2.4.4 and when i try to compile it I
get the messages below.Can you please help me with
this
gcc -D__KERNEL__ -I/usr/src2.4/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=athlon -c -o
timer.o timer.c
timer.c:35: conflicting types for `xtime'
/usr/src2.4/linux/include/linux/sched.h:540: previous
declaration of `xtime'
make[2]: *** [timer.o] Error 1
make[2]: Leaving directory `/usr/src2.4/linux/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src2.4/linux/kernel'
make: *** [_dir_kernel] Error 2
My system is an athlon/256MB/inboard Nvidia
video/Sound.
Thanks in advance
with regards,
Maharajan. V
________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Kernel compilation errors.
@ 2003-05-26 12:09 maha rajan
0 siblings, 0 replies; 4+ messages in thread
From: maha rajan @ 2003-05-26 12:09 UTC (permalink / raw)
To: linux-kernel
Dear all,
I am running a kernel 2.4.20-8 and i have the
sources of linux-2.4.4 and when i try to compile it I
get the messages below.Can you please help me with
this.. i get similar errors with 2.4.7-10 also.
gcc -D__KERNEL__ -I/usr/src2.4/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=athlon -c -o
timer.o timer.c
timer.c:35: conflicting types for `xtime'
/usr/src2.4/linux/include/linux/sched.h:540: previous
declaration of `xtime'
make[2]: *** [timer.o] Error 1
make[2]: Leaving directory `/usr/src2.4/linux/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src2.4/linux/kernel'
make: *** [_dir_kernel] Error 2
My system is an athlon/256MB/inboard Nvidia
video/Sound.
Thanks in advance
with regards,
Maharajan. V
________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Kernel compilation errors.
@ 2003-05-26 12:09 maha rajan
0 siblings, 0 replies; 4+ messages in thread
From: maha rajan @ 2003-05-26 12:09 UTC (permalink / raw)
To: linux-kernel
Dear all,
I am running a kernel 2.4.20-8 and i have the
sources of linux-2.4.4 and when i try to compile it I
get the messages below.Can you please help me with
this
gcc -D__KERNEL__ -I/usr/src2.4/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=athlon -c -o
timer.o timer.c
timer.c:35: conflicting types for `xtime'
/usr/src2.4/linux/include/linux/sched.h:540: previous
declaration of `xtime'
make[2]: *** [timer.o] Error 1
make[2]: Leaving directory `/usr/src2.4/linux/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src2.4/linux/kernel'
make: *** [_dir_kernel] Error 2
My system is an athlon/256MB/inboard Nvidia
video/Sound.
Thanks in advance
with regards,
Maharajan. V
________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* kernel compilation errors
@ 2001-04-01 5:58 Arc C.
0 siblings, 0 replies; 4+ messages in thread
From: Arc C. @ 2001-04-01 5:58 UTC (permalink / raw)
To: linux-kernel
Hello. I'm trying to compile new kernel 2.4.3 and I get some errors:
yakov:/usr/src/linux$ make modules
....
....
make[2]: Entering directory `/home/linux-2.4.3/drivers/block'
gcc -D__KERNEL__ -I/home/linux-2.4.3/include -Wall -Wstrict-prototypes -O2
-fomi
t-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8
-mcpu=ev4 -Wa,
-mev6 -DMODULE -DMODVERSIONS -include
/home/linux-2.4.3/include/linux/modversion
s.h -DEXPORT_SYMTAB -c loop.c
In file included from /home/linux-2.4.3/include/linux/highmem.h:6,
from /home/linux-2.4.3/include/linux/pagemap.h:17,
from /home/linux-2.4.3/include/linux/locks.h:9,
from /home/linux-2.4.3/include/linux/blk.h:6,
from loop.c:65:
/home/linux-2.4.3/include/asm/pgalloc.h:334: conflicting types for
`pte_alloc'
/home/linux-2.4.3/include/linux/mm.h:399: previous declaration of
`pte_alloc'
/home/linux-2.4.3/include/asm/pgalloc.h:352: conflicting types for
`pmd_alloc'
/home/linux-2.4.3/include/linux/mm.h:412: previous declaration of
`pmd_alloc'
make[2]: *** [loop.o] Error 1
make[2]: Leaving directory `/home/linux-2.4.3/drivers/block'
make[1]: *** [_modsubdir_block] Error 2
make[1]: Leaving directory `/home/linux-2.4.3/drivers'
make: *** [_mod_drivers] Error 2
Here's the output of scripts/ver_linux:
Linux yakov.dls.net 2.4.0 #1 Sat Jan 6 20:17:19 CST 2001 alpha unknown
Gnu C 2.96
Gnu make 3.79.1
binutils 2.10.0.18
util-linux 2.10m
modutils 2.4.2
e2fsprogs 1.19
Linux C Library > libc.2.2
Dynamic linker (ldd) 2.2
Procps 2.0.7
Net-tools 1.56
Console-tools 0.3.3
Sh-utils 2.0
Modules Loaded autofs
yakov:/usr/src/linux$ cat /proc/cpuinfo
cpu : Alpha
cpu model : EV4
cpu variation : 0
cpu revision : 0
cpu serial number : Linux_is_Great!
system type : Avanti
system variation : 0
system revision : 0
system serial number : MILO-2.0.35-c5.
cycle frequency [Hz] : 233313724
timer frequency [Hz] : 1024.00
page size [bytes] : 8192
phys. address bits : 34
max. addr. space # : 63
BogoMIPS : 459.64
kernel unaligned acc : 8 (pc=fffffc000040e100,va=fffffc00001c79f2)
user unaligned acc : 8184 (pc=1200016dc,va=11ffff6c2)
platform string : N/A
cpus detected : 0
Thank you,
Arc C.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-05-27 4:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-27 4:46 Kernel compilation errors satyakumar.y
-- strict thread matches above, loose matches on Subject: below --
2003-05-26 12:09 maha rajan
2003-05-26 12:09 maha rajan
2001-04-01 5:58 kernel " Arc C.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).