lkml.org 
[lkml]   [2001]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Subject2.5.1-pre5 compile error in ataraid.c
    From
    Date

    gcc -D__KERNEL__ -I/usr/src/linux-2.5.1-pre5/include -Wall
    -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
    -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
    -march=athlon -DEXPORT_SYMTAB -c ataraid.c
    ataraid.c: In function `ataraid_make_request':
    ataraid.c:105: structure has no member named `b_rdev'
    ataraid.c:103: warning: `minor' might be used uninitialized in this
    function
    ataraid.c: In function `ataraid_split_request':
    ataraid.c:188: structure has no member named `b_rsector'
    ataraid.c:199: warning: passing arg 1 of `generic_make_request' makes
    pointer from integer without a cast
    ataraid.c:199: too many arguments to function `generic_make_request'
    ataraid.c:200: warning: passing arg 1 of `generic_make_request' makes
    pointer from integer without a cast
    ataraid.c:200: too many arguments to function `generic_make_request'
    ataraid.c: In function `ataraid_init':
    ataraid.c:255: `hardsect_size' undeclared (first use in this function)
    ataraid.c:255: (Each undeclared identifier is reported only once
    ataraid.c:255: for each function it appears in.)
    ataraid.c:287: warning: passing arg 2 of `blk_queue_make_request' from
    incompatible pointer type
    ataraid.c: In function `ataraid_exit':
    ataraid.c:296: `hardsect_size' undeclared (first use in this function)
    make[3]: *** [ataraid.o] Error 1
    make[3]: Leaving directory `/usr/src/linux-2.5.1-pre5/drivers/ide'
    make[2]: *** [first_rule] Error 2
    make[2]: Leaving directory `/usr/src/linux-2.5.1-pre5/drivers/ide'
    make[1]: *** [_subdir_ide] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.5.1-pre5/drivers'
    make: *** [_dir_drivers] Error 2



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

    \
     
     \ /
      Last update: 2005-03-22 13:13    [W:3.272 / U:0.976 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site