• Bug#265769: qla2x00-source: Does not build w/ IP-over-FC enabled

    From Kai S. Juse@1:229/2 to All on Sat Aug 14 23:10:07 2004
    From: [email protected]

    Package: qla2x00-source
    Version: 6.6.10-2
    Severity: normal


    When building the driver with IP=1 set to enable IP-over-FC support (-DFC_IP_SUPPORT), the
    process fails as shown below. Without IP=1, make-kpkg succeeds in building the module (with gcc
    warnings).

    $ export IP=1
    $ make-kpkg modules-image
    [...]
    # Build the module
    /usr/bin/make
    make[3]: Entering directory `/usr/local/src/modules/qla2x00'
    cc -D__KERNEL__ -DMODULE -Wall -O -g -DUDEBUG -DLINUX -Dlinux -DINTAPI -DEXPORT_SYMTAB
    -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -I/usr/src/linux/include
    -I/usr/src/linux/include/../drivers/scsi -falign-functions=2 -falign-jumps=2 -falign-loops=2
    -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce -pipe -DCONFIG_X86_LOCAL_APIC -fno-strict-aliasing -fno-common -mpreferred-stack-boundary=2
    -march=i686 -DFC_IP_SUPPORT -DSHT_HAS_HIGHMEM_IO -c qla2200.c -o qla2200.o
    In file included from qla2200.c:43:
    qla2x00.c: In function `qla2x00_process_response_queue':
    qla2x00.c:11581: warning: passing arg 2 of `qla2x00_ip_receive' from incompatible pointer type
    In file included from qla2200.c:43:
    qla2x00.c: In function `qla2x00_register_snn':
    qla2x00.c:14640: error: incompatible types in assignment
    qla2x00.c:14641: error: incompatible types in assignment
    qla2x00.c: In function `qla2x00_configure_local_loop':
    qla2x00.c:16664: error: `list_entry_loop_id' undeclared (first use in this function)
    qla2x00.c:16664: error: (Each undeclared identifier is reported only once qla2x00.c:16664: error: for each function it appears in.)
    In file included from qla2x00.c:18823,
    from qla2200.c:43:
    qla_cfg.c: In function `qla2x00_add_portname_to_mp_dev':
    qla_cfg.c:1045: warning: comparison is always true due to limited range of data type
    qla_cfg.c:1057: warning: comparison is always false due to limited range of data type
    qla_cfg.c: In function `qla2x00_find_mp_dev_by_id':
    qla_cfg.c:3575: warning: comparison is always true due to limited range of data type
    In file included from qla2x00.c:18824,
    from qla2200.c:43:
    qla_fo.c: In function `qla2x00_fo_set_lun_data':
    qla_fo.c:759: warning: comparison is always false due to limited range of data type
    qla_fo.c: In function `qla2x00_fo_get_tgt':
    qla_fo.c:1135: warning: comparison is always true due to limited range of data type
    qla_fo.c:1225: warning: comparison is always true due to limited range of data type
    make[3]: *** [qla2200.o] Error 1
    make[3]: Leaving directory `/usr/local/src/modules/qla2x00'
    make[2]: *** [binary-modules] Error 2
    make[2]: Leaving directory `/usr/local/src/modules/qla2x00'
    make[1]: *** [kdist_image] Error 2
    make[1]: Leaving directory `/usr/local/src/modules/qla2x00'
    Module /usr/src/modules/qla2x00 failed.





    -- System Information:
    Debian Release: 3.1
    APT prefers testing
    APT policy: (990, 'testing'), (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.6
    Locale: LANG=C, LC_CTYPE=de_DE

    Versions of packages qla2x00-source depends on:
    ii make 3.80-8 The GNU version of the "make" util

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)