lkml.org 
[lkml]   [2007]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectrequest_queue_t depends on CONFIG_BLOCK
    How can this compile error be fixed properly?
    request_queue_t is inside CONFIG_BLOCK,
    ide_drive_s (and likely others) use it unconditionally.


    CC arch/powerpc/kernel/setup_64.o
    In file included from linux-2.6.21-rc4/arch/powerpc/kernel/setup_64.c:23:
    linux-2.6.21-rc4/include/linux/ide.h:556: error: expected specifier-qualifier-list before 'request_queue_t'
    linux-2.6.21-rc4/include/linux/ide.h:695: warning: 'struct request' declared inside parameter list
    linux-2.6.21-rc4/include/linux/ide.h:695: warning: its scope is only this definition or declaration, which is probably not what you want
    linux-2.6.21-rc4/include/linux/ide.h:823: warning: 'struct request' declared inside parameter list
    linux-2.6.21-rc4/include/linux/ide.h:856: error: field 'wrq' has incomplete type
    linux-2.6.21-rc4/include/linux/ide.h:1199: error: expected ')' before '*' token
    make[2]: *** [arch/powerpc/kernel/setup_64.o] Error 1
    CC arch/powerpc/kernel/setup-common.o
    In file included from linux-2.6.21-rc4/arch/powerpc/kernel/setup-common.c:24:
    linux-2.6.21-rc4/include/linux/ide.h:556: error: expected specifier-qualifier-list before 'request_queue_t'
    linux-2.6.21-rc4/include/linux/ide.h:695: warning: 'struct request' declared inside parameter list
    linux-2.6.21-rc4/include/linux/ide.h:695: warning: its scope is only this definition or declaration, which is probably not what you want
    linux-2.6.21-rc4/include/linux/ide.h:823: warning: 'struct request' declared inside parameter list
    linux-2.6.21-rc4/include/linux/ide.h:856: error: field 'wrq' has incomplete type
    linux-2.6.21-rc4/include/linux/ide.h:1199: error: expected ')' before '*' token
    make[2]: *** [arch/powerpc/kernel/setup-common.o] Error 1
    make[2]: Target `__build' not remade because of errors.
    make[1]: *** [arch/powerpc/kernel] 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: 2007-03-22 22:55    [W:0.021 / U:60.296 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site