Compile error 2.5.2-pre8 (ext3)
Hi,
I got the following trying to compile linux-2.5.2-pre8...
make[3]: Entering directory `/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/fs/ext3' gcc -D__KERNEL__ -I/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o balloc.o balloc.c
gcc -D__KERNEL__ -I/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o bitmap.o bitmap.c
gcc -D__KERNEL__ -I/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o dir.o dir.cgcc -D__KERNEL__
-I/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o file.o file.c
gcc -D__KERNEL__ -I/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o fsync.o fsync.c
gcc -D__KERNEL__ -I/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o ialloc.o ialloc.c
gcc -D__KERNEL__ -I/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o inode.o inode.c
gcc -D__KERNEL__ -I/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o ioctl.o ioctl.c
gcc -D__KERNEL__ -I/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o namei.o namei.c
gcc -D__KERNEL__ -I/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o super.o super.csuper.c: In function `make_rdonly':
super.c:59: invalid operands to binary !=
super.c:62: invalid operands to binary +
make[3]: *** [super.o] Error 1
make[2]: *** [first_rule] Error 2
make[1]: *** [_subdir_ext3] Error 2
make: *** [_dir_fs] Error 2
make[3]: Leaving directory /home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/fs/ext3' make[2]: Leaving directory /home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/fs/ext3' make[1]: Leaving directory `/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/fs' rene@ReneEngelhard:~/Entwicklung/Kernel/linux-2.5.2-pre8>
Does anyone know what do do here now?
I _have_ to compile the kernel with ext3 because / and all partitions are ext3...
Rene
Signature · 5 lines
GnuPG: Key fingerprint = 41FA F208 28D4 7CA5 19BB 7AD9 F859 90B0 248A EB73 Key ID: 248AEB73 Mail an [email protected] um den Key zugeschickt zu bekommen Mail to [email protected] to get the key automatically
Quoted 13 lines · Rene Engelhard
I got the following trying to compile linux-2.5.2-pre8...
gcc -D__KERNEL__
(quoted diff) +0
-4-I/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o super.o super.c
super.c: In function `make_rdonly':
super.c:59: invalid operands to binary != super.c:62: invalid operands to binary + make[3]: *** [super.o] Error 1 make[2]: *** [first_rule] Error 2 make[1]: *** [_subdir_ext3] Error 2
Quoted 8 lines
make: *** [
_dir_fs] Error 2
make[3]: Leaving directory/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/fs/ext3' make[2]: Leaving directory/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/fs/ext3' make[1]: Leaving directory `/home/rene/Entwicklung/Kernel/linux-2.5.2-pre8/fs' rene@ReneEngelhard:~/Entwicklung/Kernel/linux-2.5.2-pre8>
OK, it's done. I read Adam's and Andrew postings with the patches. Dorry for posting too fast.
Rene
Signature · 4 lines
GnuPG: Key fingerprint = 41FA F208 28D4 7CA5 19BB 7AD9 F859 90B0 248A EB73 Key ID: 248AEB73 Mail an gnupgkey@rene-engelhard um den Key zugeschickt zu bekommen
Quoted 3 lines · Rene Engelhard
Does anyone know what do do here now?
I _have_ to compile the kernel with ext3 because / and all partitions are ext3...
ext3 partitions canb be mounted witout ext3 support. you only loose journalling....
Signature · 3 lines
Grobbebol's Home | Don't give in to spammers. -o) http://www.xs4all.nl/~bengel | Use your real e-mail address /\ Linux 2.4.17 (noapic) SMP 466MHz/768 MB | on Usenet. _\_v