Re: 2.4.0-test2 doesn't compile

From: Erik Andersen (andersen@codepoet.org)
Date: Sat Jun 24 2000 - 03:13:24 EST


On Sat Jun 24, 2000 at 09:42:21AM +0200, f5ibh wrote:
>
> Hi,
>
> Linus wrote :
> >...
> > So if it doesn't compile for you, you must be doing something wrong.
>
> So I wonder what I'm doing wrong !
>
> here are the messages I got :
>
> make[2]: Entering directory `/usr/src/kernel-sources-2.4.0-test2/kernel'
> gcc -D__KERNEL__ -I/usr/src/kernel-sources-2.4.0-test2/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce
> -fno-omit-frame-pointer -c -o sched.o sched.c
> sched.c:63: parse error before `spinlock_t'
> sched.c:64: parse error before `rwlock_t'
> sched.c:78: warning: alignment of `aligned_data' is greater than maximum object
> file alignment
> make[2]: *** [sched.o] Error 1
> make[2]: Leaving directory `/usr/src/kernel-sources-2.4.0-test2/kernel'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/kernel-sources-2.4.0-test2/kernel'
> make: *** [_dir_kernel] Error 2
>

You must repent by saying 10 "Our Penguins" and 5 "Hail Tux"es.
It compiles just fine for me. This is what I see at that point:
...
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c sys.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c ksyms.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c pm.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-omit-frame-pointer -c -o sched.o sched.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -c -o dma.o dma.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o fork.o fork.c
....

[andersen@dillweed andersen]$ gcc --version
2.95.2

 -Erik

--
Erik B. Andersen   Web:    http://www.xmission.com/~andersen/ 
                   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--

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



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:04 EST