Compile failure in Linux 2.4.13-pre3
Brought to you by:
bfennema
make[3]: Entering directory `/new/carldani/linux/fs/udf'
gcc3 -D__KERNEL__ -I/new/carldani/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686 -c -o
lowlevel.o lowlevel.c
lowlevel.c:72: conflicting types for `udf_get_last_block'
udfdecl.h:153: previous declaration of `udf_get_last_block'
make[3]: *** [lowlevel.o] Error 1
make[3]: Leaving directory `/new/carldani/linux/fs/udf'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/new/carldani/linux/fs/udf'
make[1]: *** [_subdir_udf] Error 2
make[1]: Leaving directory `/new/carldani/linux/fs'
make: *** [_dir_fs] Error 2
Logged In: YES
user_id=164706
Can be fixed by changing line 153 in udfdecl.h to
extern unsigned long udf_get_last_block(struct super_block *);
Logged In: YES
user_id=518
Don't look at me. I didn't send the patch to Linus. But I
sent the fix and its in 2.4.13-pre4 =)