Menu

#11 Compile failure in Linux 2.4.13-pre3

closed
nobody
None
5
2001-10-19
2001-10-17
No

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

Discussion

  • Carl-Daniel Hailfinger

    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 *);

     
  • Ben Fennema

    Ben Fennema - 2001-10-19
    • status: open --> closed
     
  • Ben Fennema

    Ben Fennema - 2001-10-19

    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 =)

     

Log in to post a comment.