Skip to contentSkip to conversation

Compilation Error

2.4.23-pre9 Christoph Lehnberger 2 participants 3 messages Nov 1, 2003 – Nov 2, 2003

lore
Share & tools
lore
#0 lore raw

Good morning,

i try to compile a new kernel for my notebook with a new (the old one works, but i can´t find it) config file, but i get an error at the compilation:

cc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix
include -DKBUILD_BASENAME=inode -c -o inode.o inode.c inode.c:968: error: redefinition of iget4' /usr/src/linux-2.4.22/include/linux/fs.h:1415: error: iget4' previously defined here
make[3]: *** [inode.o] Fehler 1
make[3]: Leaving directory `/usr/src/linux-2.4.22/fs' make[2]: *** [first_rule] Fehler 2
make[2]: Leaving directory `/usr/src/linux-2.4.22/fs' make[1]: *** [_dir_fs] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.4.22'
make: *** [stamp-build] Fehler 2

The kernel-version is 2.4.23-pre9, the name of the directory is 2.4.22

Greetings from Germany

Christoph

#1 lore raw

Hello,

Quoted 7 lines · Christoph Lehnberger

cc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes

(quoted diff) +0 -2
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
-pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix 

include -DKBUILD_BASENAME=inode -c -o inode.o inode.c inode.c:968: error: redefinition of iget4' /usr/src/linux-2.4.22/include/linux/fs.h:1415: error: iget4' previously defined here

Did the 2.4.23-pre9 patch apply cleanly there ? I didn't get such errors. BTW, what compiler are you using, and could you post your config file once you have checked that the patch is ok ?

Willy

#2 lore raw

Am Samstag, 1. November 2003 16:58 schrieben Sie:

Quoted 15 lines

Hello,

Quoted 7 lines · Christoph Lehnberger

cc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes

(quoted diff) +0 -2
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix

include -DKBUILD_BASENAME=inode -c -o inode.o inode.c inode.c:968: error: redefinition of iget4' /usr/src/linux-2.4.22/include/linux/fs.h:1415: error: iget4' previously defined here

Did the 2.4.23-pre9 patch apply cleanly there ? I didn't get such errors. BTW, what compiler are you using, and could you post your config file once you have checked that the patch is ok ?

Quoted 1 line

Willy

Hello,

after repatching the kernel-tree now it works.....

Thanks a lot

Christoph Lehnberger