Find the answer to your Linux question:
Results 1 to 10 of 10
Hi, I'm trying to get my Proxim Orinoco PC-Card working with Linux. I'm running a Mandrake 10 system with the 2.6.x kernel and pcmcia support built in as a module. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2004
    Posts
    8

    Build Driver for Proxim Orinoco 8420-WD


    Hi,

    I'm trying to get my Proxim Orinoco PC-Card working with Linux. I'm running a Mandrake 10 system with the 2.6.x kernel and pcmcia support built in as a module. The driver I need is wlags49_h2_cs.

    The drivers in question come from www.agere.com/support/drivers. I also downloaded the pcmcia source from sourceforge. The configurations seems to go fine, but when I try to build the drivers, something goes wrong. I get a bunch of warning and errors ending in:

    make[1]: *** [wlags49_h2_cs_stap.o] Error 1
    make[1]: Leaving directory `/usr/src/pcmcia-cs-3.2.7/wireless'
    make: *** [all] Error 2

    So that the drivers are never compiled. Any ideas?

    Thanks!
    Raghos

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    That's not the actual error - that's only make reporting that there has been an error. Look a couple of lines upwards and you'll find the actual error.

  3. #3
    Just Joined!
    Join Date
    Jun 2004
    Posts
    8
    Quote Originally Posted by Dolda2000
    That's not the actual error - that's only make reporting that there has been an error. Look a couple of lines upwards and you'll find the actual error.
    Ok. This is the output of ./Build

    This system uses in-kernel pcmcia-cs.
    make -C wireless -f wlags49_cs.mk all
    make[1]: Entering directory `/usr/src/pcmcia-cs-3.2.7/wireless'
    make -C ../lib libstap-h2.a
    make[2]: Entering directory `/usr/src/pcmcia-cs-3.2.7/lib'
    make[2]: `libstap-h2.a' is up to date.
    make[2]: Leaving directory `/usr/src/pcmcia-cs-3.2.7/lib'
    cc -I../include/hcf -I../hcf -I../dhf -MD -c -O3 -Wall -Wstrict-prototypes -pipe -I../include/static -I/usr/src/linux/include -I../include -D__KERNEL__ -DMODULE -DBUS_PCMCIA -DUSE_PROFILE -DUSE_UIL -DDBG -DUSE_OLD_PARMS -DUSE_WPA -DHERMES2 -DUSE_RTS -DUSE_WDS wl_profile.c wl_wext.c wl_priv.c wl_main.c wl_enc.c wl_util.c wl_netdev.c wl_cs.c
    In file included from /usr/src/linux/include/asm/processor.h:18,
    from /usr/src/linux/include/asm/thread_info.h:13,
    from /usr/src/linux/include/linux/thread_info.h:21,
    from /usr/src/linux/include/linux/spinlock.h:12,
    from ../include/static/linux/spinlock.h:21,
    from /usr/src/linux/include/linux/capability.h:45,
    from /usr/src/linux/include/linux/sched.h:7,
    from ../include/static/linux/sched.h:5,
    from /usr/src/linux/include/linux/module.h:10,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_profile.c:98:
    /usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    In file included from /usr/src/linux/include/linux/module.h:21,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_profile.c:98:
    /usr/src/linux/include/asm/module.h:54:2: #error unknown processor family
    In file included from ../include/static/linux/netdevice.h:29,
    from wl_profile.c:100:
    /usr/src/linux/include/linux/netdevice.h:486:1: warning: "SET_MODULE_OWNER" redefined
    In file included from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_profile.c:98:
    ../include/static/linux/module.h:18:1: warning: this is the location of the previous definition
    In file included from ../include/static/asm/irq.h:5,
    from /usr/src/linux/include/linux/irq.h:20,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from /usr/src/linux/include/linux/netdevice.h:501,
    from ../include/static/linux/netdevice.h:29,
    from wl_profile.c:100:
    /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
    In file included from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from /usr/src/linux/include/linux/netdevice.h:501,
    from ../include/static/linux/netdevice.h:29,
    from wl_profile.c:100:
    /usr/src/linux/include/linux/irq.h: At top level:
    /usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
    In file included from /usr/src/linux/include/linux/irq.h:72,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from /usr/src/linux/include/linux/netdevice.h:501,
    from ../include/static/linux/netdevice.h:29,
    from wl_profile.c:100:
    /usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
    /usr/src/linux/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
    In file included from ../hcf/hcf.h:81,
    from wl_profile.c:106:
    ../include/hcf/hcfcfg.h:787: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/hcf/hcfcfg.h:787: warning: data definition has no type or storage class
    In file included from wl_profile.c:107:
    ../hcf/hcfdef.h:751:1: warning: multi-line comment
    In file included from wl_profile.c:110:
    ../include/wireless/wl_internal.h:112:26: linux/tqueue.h: No such file or directory
    In file included from wl_profile.c:110:
    ../include/wireless/wl_internal.h:518: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/wireless/wl_internal.h:518: warning: data definition has no type or storage class
    ../include/wireless/wl_internal.h:914: error: field `task' has incomplete type
    In file included from /usr/src/linux/include/asm/processor.h:18,
    from /usr/src/linux/include/asm/thread_info.h:13,
    from /usr/src/linux/include/linux/thread_info.h:21,
    from /usr/src/linux/include/linux/spinlock.h:12,
    from ../include/static/linux/spinlock.h:21,
    from /usr/src/linux/include/linux/capability.h:45,
    from /usr/src/linux/include/linux/sched.h:7,
    from ../include/static/linux/sched.h:5,
    from /usr/src/linux/include/linux/module.h:10,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_wext.c:77:
    /usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    In file included from /usr/src/linux/include/linux/module.h:21,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_wext.c:77:
    /usr/src/linux/include/asm/module.h:54:2: #error unknown processor family
    In file included from ../include/static/linux/netdevice.h:29,
    from /usr/src/linux/include/linux/if_arp.h:26,
    from wl_wext.c:79:
    /usr/src/linux/include/linux/netdevice.h:486:1: warning: "SET_MODULE_OWNER" redefined
    In file included from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_wext.c:77:
    ../include/static/linux/module.h:18:1: warning: this is the location of the previous definition
    In file included from ../include/static/asm/irq.h:5,
    from /usr/src/linux/include/linux/irq.h:20,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from /usr/src/linux/include/linux/netdevice.h:501,
    from ../include/static/linux/netdevice.h:29,
    from /usr/src/linux/include/linux/if_arp.h:26,
    from wl_wext.c:79:
    /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
    In file included from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from /usr/src/linux/include/linux/netdevice.h:501,
    from ../include/static/linux/netdevice.h:29,
    from /usr/src/linux/include/linux/if_arp.h:26,
    from wl_wext.c:79:
    /usr/src/linux/include/linux/irq.h: At top level:
    /usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
    In file included from /usr/src/linux/include/linux/irq.h:72,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from /usr/src/linux/include/linux/netdevice.h:501,
    from ../include/static/linux/netdevice.h:29,
    from /usr/src/linux/include/linux/if_arp.h:26,
    from wl_wext.c:79:
    /usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
    /usr/src/linux/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
    In file included from ../hcf/hcf.h:81,
    from wl_wext.c:85:
    ../include/hcf/hcfcfg.h:787: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/hcf/hcfcfg.h:787: warning: data definition has no type or storage class
    In file included from wl_wext.c:86:
    ../hcf/hcfdef.h:751:1: warning: multi-line comment
    In file included from wl_wext.c:89:
    ../include/wireless/wl_internal.h:112:26: linux/tqueue.h: No such file or directory
    In file included from wl_wext.c:89:
    ../include/wireless/wl_internal.h:518: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/wireless/wl_internal.h:518: warning: data definition has no type or storage class
    ../include/wireless/wl_internal.h:914: error: field `task' has incomplete type
    In file included from /usr/src/linux/include/asm/processor.h:18,
    from /usr/src/linux/include/asm/thread_info.h:13,
    from /usr/src/linux/include/linux/thread_info.h:21,
    from /usr/src/linux/include/linux/spinlock.h:12,
    from ../include/static/linux/spinlock.h:21,
    from /usr/src/linux/include/linux/capability.h:45,
    from /usr/src/linux/include/linux/sched.h:7,
    from ../include/static/linux/sched.h:5,
    from /usr/src/linux/include/linux/module.h:10,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_priv.c:81:
    /usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    In file included from /usr/src/linux/include/linux/module.h:21,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_priv.c:81:
    /usr/src/linux/include/asm/module.h:54:2: #error unknown processor family
    In file included from ../include/static/linux/netdevice.h:29,
    from /usr/src/linux/include/linux/if_arp.h:26,
    from wl_priv.c:83:
    /usr/src/linux/include/linux/netdevice.h:486:1: warning: "SET_MODULE_OWNER" redefined
    In file included from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_priv.c:81:
    ../include/static/linux/module.h:18:1: warning: this is the location of the previous definition
    In file included from ../include/static/asm/irq.h:5,
    from /usr/src/linux/include/linux/irq.h:20,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from /usr/src/linux/include/linux/netdevice.h:501,
    from ../include/static/linux/netdevice.h:29,
    from /usr/src/linux/include/linux/if_arp.h:26,
    from wl_priv.c:83:
    /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
    In file included from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from /usr/src/linux/include/linux/netdevice.h:501,
    from ../include/static/linux/netdevice.h:29,
    from /usr/src/linux/include/linux/if_arp.h:26,
    from wl_priv.c:83:
    /usr/src/linux/include/linux/irq.h: At top level:
    /usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
    In file included from /usr/src/linux/include/linux/irq.h:72,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from /usr/src/linux/include/linux/netdevice.h:501,
    from ../include/static/linux/netdevice.h:29,
    from /usr/src/linux/include/linux/if_arp.h:26,
    from wl_priv.c:83:
    /usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
    /usr/src/linux/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
    In file included from ../hcf/hcf.h:81,
    from wl_priv.c:89:
    ../include/hcf/hcfcfg.h:787: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/hcf/hcfcfg.h:787: warning: data definition has no type or storage class
    In file included from wl_priv.c:90:
    ../hcf/hcfdef.h:751:1: warning: multi-line comment
    In file included from wl_priv.c:93:
    ../include/wireless/wl_internal.h:112:26: linux/tqueue.h: No such file or directory
    In file included from wl_priv.c:93:
    ../include/wireless/wl_internal.h:518: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/wireless/wl_internal.h:518: warning: data definition has no type or storage class
    ../include/wireless/wl_internal.h:914: error: field `task' has incomplete type
    In file included from /usr/src/linux/include/asm/processor.h:18,
    from /usr/src/linux/include/asm/thread_info.h:13,
    from /usr/src/linux/include/linux/thread_info.h:21,
    from /usr/src/linux/include/linux/spinlock.h:12,
    from ../include/static/linux/spinlock.h:21,
    from /usr/src/linux/include/linux/capability.h:45,
    from /usr/src/linux/include/linux/sched.h:7,
    from ../include/static/linux/sched.h:5,
    from /usr/src/linux/include/linux/module.h:10,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_main.c:82:
    /usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    In file included from /usr/src/linux/include/linux/module.h:21,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_main.c:82:
    /usr/src/linux/include/asm/module.h:54:2: #error unknown processor family
    In file included from ../include/static/asm/irq.h:5,
    from /usr/src/linux/include/linux/irq.h:20,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from wl_main.c:93:
    /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
    In file included from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from wl_main.c:93:
    /usr/src/linux/include/linux/irq.h: At top level:
    /usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
    In file included from /usr/src/linux/include/linux/irq.h:72,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from wl_main.c:93:
    /usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
    /usr/src/linux/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
    wl_main.c:94:26: linux/tqueue.h: No such file or directory
    In file included from ../include/static/linux/netdevice.h:29,
    from wl_main.c:101:
    /usr/src/linux/include/linux/netdevice.h:486:1: warning: "SET_MODULE_OWNER" redefined
    In file included from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_main.c:82:
    ../include/static/linux/module.h:18:1: warning: this is the location of the previous definition
    In file included from ../hcf/hcf.h:81,
    from wl_main.c:109:
    ../include/hcf/hcfcfg.h:787: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/hcf/hcfcfg.h:787: warning: data definition has no type or storage class
    In file included from wl_main.c:111:
    ../hcf/hcfdef.h:751:1: warning: multi-line comment
    In file included from wl_main.c:114:
    ../include/wireless/wl_internal.h:112:26: linux/tqueue.h: No such file or directory
    In file included from wl_main.c:114:
    ../include/wireless/wl_internal.h:518: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/wireless/wl_internal.h:518: warning: data definition has no type or storage class
    ../include/wireless/wl_internal.h:914: error: field `task' has incomplete type
    wl_main.c: In function `wl_insert':
    wl_main.c:1142: warning: comparison is always true due to limited range of data type
    wl_main.c: In function `wl_isr':
    wl_main.c:3367: warning: implicit declaration of function `queue_task'
    wl_main.c:3367: error: `tq_immediate' undeclared (first use in this function)
    wl_main.c:3367: error: (Each undeclared identifier is reported only once
    wl_main.c:3367: error: for each function it appears in.)
    wl_main.c:3368: warning: implicit declaration of function `mark_bh'
    wl_main.c:3368: error: `IMMEDIATE_BH' undeclared (first use in this function)
    In file included from /usr/src/linux/include/asm/processor.h:18,
    from /usr/src/linux/include/asm/thread_info.h:13,
    from /usr/src/linux/include/linux/thread_info.h:21,
    from /usr/src/linux/include/linux/spinlock.h:12,
    from ../include/static/linux/spinlock.h:21,
    from /usr/src/linux/include/linux/capability.h:45,
    from /usr/src/linux/include/linux/sched.h:7,
    from ../include/static/linux/sched.h:5,
    from /usr/src/linux/include/linux/module.h:10,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_enc.c:81:
    /usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    In file included from /usr/src/linux/include/linux/module.h:21,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_enc.c:81:
    /usr/src/linux/include/asm/module.h:54:2: #error unknown processor family
    In file included from ../hcf/hcf.h:81,
    from wl_enc.c:84:
    ../include/hcf/hcfcfg.h: At top level:
    ../include/hcf/hcfcfg.h:787: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/hcf/hcfcfg.h:787: warning: data definition has no type or storage class
    In file included from /usr/src/linux/include/asm/processor.h:18,
    from /usr/src/linux/include/asm/thread_info.h:13,
    from /usr/src/linux/include/linux/thread_info.h:21,
    from /usr/src/linux/include/linux/spinlock.h:12,
    from ../include/static/linux/spinlock.h:21,
    from /usr/src/linux/include/linux/capability.h:45,
    from /usr/src/linux/include/linux/sched.h:7,
    from ../include/static/linux/sched.h:5,
    from /usr/src/linux/include/linux/module.h:10,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_util.c:81:
    /usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    In file included from /usr/src/linux/include/linux/module.h:21,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_util.c:81:
    /usr/src/linux/include/asm/module.h:54:2: #error unknown processor family
    In file included from ../include/static/asm/irq.h:5,
    from /usr/src/linux/include/linux/irq.h:20,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from wl_util.c:89:
    /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
    In file included from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from wl_util.c:89:
    /usr/src/linux/include/linux/irq.h: At top level:
    /usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
    In file included from /usr/src/linux/include/linux/irq.h:72,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from wl_util.c:89:
    /usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
    /usr/src/linux/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
    In file included from ../include/static/linux/netdevice.h:29,
    from wl_util.c:96:
    /usr/src/linux/include/linux/netdevice.h:486:1: warning: "SET_MODULE_OWNER" redefined
    In file included from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_util.c:81:
    ../include/static/linux/module.h:18:1: warning: this is the location of the previous definition
    In file included from ../hcf/hcf.h:81,
    from wl_util.c:103:
    ../include/hcf/hcfcfg.h:787: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/hcf/hcfcfg.h:787: warning: data definition has no type or storage class
    In file included from wl_util.c:104:
    ../hcf/hcfdef.h:751:1: warning: multi-line comment
    In file included from wl_util.c:107:
    ../include/wireless/wl_internal.h:112:26: linux/tqueue.h: No such file or directory
    In file included from wl_util.c:107:
    ../include/wireless/wl_internal.h:518: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/wireless/wl_internal.h:518: warning: data definition has no type or storage class
    ../include/wireless/wl_internal.h:914: error: field `task' has incomplete type
    wl_util.c: In function `wl_has_wep':
    wl_util.c:444: warning: dereferencing type-punned pointer will break strict-aliasing rules
    In file included from /usr/src/linux/include/asm/processor.h:18,
    from /usr/src/linux/include/asm/thread_info.h:13,
    from /usr/src/linux/include/linux/thread_info.h:21,
    from /usr/src/linux/include/linux/spinlock.h:12,
    from ../include/static/linux/spinlock.h:21,
    from /usr/src/linux/include/linux/capability.h:45,
    from /usr/src/linux/include/linux/sched.h:7,
    from ../include/static/linux/sched.h:5,
    from /usr/src/linux/include/linux/module.h:10,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_netdev.c:82:
    /usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    In file included from /usr/src/linux/include/linux/module.h:21,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_netdev.c:82:
    /usr/src/linux/include/asm/module.h:54:2: #error unknown processor family
    In file included from ../include/static/asm/irq.h:5,
    from /usr/src/linux/include/linux/irq.h:20,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from wl_netdev.c:93:
    /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
    In file included from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from wl_netdev.c:93:
    /usr/src/linux/include/linux/irq.h: At top level:
    /usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
    In file included from /usr/src/linux/include/linux/irq.h:72,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from wl_netdev.c:93:
    /usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
    /usr/src/linux/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
    In file included from ../include/static/linux/netdevice.h:29,
    from wl_netdev.c:101:
    /usr/src/linux/include/linux/netdevice.h:486:1: warning: "SET_MODULE_OWNER" redefined
    In file included from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_netdev.c:82:
    ../include/static/linux/module.h:18:1: warning: this is the location of the previous definition
    In file included from ../hcf/hcf.h:81,
    from wl_netdev.c:109:
    ../include/hcf/hcfcfg.h:787: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/hcf/hcfcfg.h:787: warning: data definition has no type or storage class
    In file included from wl_netdev.c:111:
    ../hcf/hcfdef.h:751:1: warning: multi-line comment
    In file included from wl_netdev.c:114:
    ../include/wireless/wl_internal.h:112:26: linux/tqueue.h: No such file or directory
    In file included from wl_netdev.c:114:
    ../include/wireless/wl_internal.h:518: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/wireless/wl_internal.h:518: warning: data definition has no type or storage class
    ../include/wireless/wl_internal.h:914: error: field `task' has incomplete type
    wl_netdev.c: In function `wl_open':
    wl_netdev.c:436: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:502)
    wl_netdev.c: In function `wl_close':
    wl_netdev.c:548: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:514)
    In file included from /usr/src/linux/include/asm/processor.h:18,
    from /usr/src/linux/include/asm/thread_info.h:13,
    from /usr/src/linux/include/linux/thread_info.h:21,
    from /usr/src/linux/include/linux/spinlock.h:12,
    from ../include/static/linux/spinlock.h:21,
    from /usr/src/linux/include/linux/capability.h:45,
    from /usr/src/linux/include/linux/sched.h:7,
    from ../include/static/linux/sched.h:5,
    from /usr/src/linux/include/linux/module.h:10,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_cs.c:82:
    /usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    In file included from /usr/src/linux/include/linux/module.h:21,
    from ../include/static/linux/module.h:6,
    from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_cs.c:82:
    /usr/src/linux/include/asm/module.h:54:2: #error unknown processor family
    In file included from ../include/static/asm/irq.h:5,
    from /usr/src/linux/include/linux/irq.h:20,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from wl_cs.c:91:
    /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
    In file included from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from wl_cs.c:91:
    /usr/src/linux/include/linux/irq.h: At top level:
    /usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
    In file included from /usr/src/linux/include/linux/irq.h:72,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from wl_cs.c:91:
    /usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
    /usr/src/linux/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
    In file included from ../include/static/linux/netdevice.h:29,
    from wl_cs.c:98:
    /usr/src/linux/include/linux/netdevice.h:486:1: warning: "SET_MODULE_OWNER" redefined
    In file included from ../include/pcmcia/k_compat.h:61,
    from ../include/wireless/wl_version.h:171,
    from wl_cs.c:82:
    ../include/static/linux/module.h:18:1: warning: this is the location of the previous definition
    In file included from ../hcf/hcf.h:81,
    from wl_cs.c:113:
    ../include/hcf/hcfcfg.h:787: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/hcf/hcfcfg.h:787: warning: data definition has no type or storage class
    In file included from wl_cs.c:115:
    ../hcf/hcfdef.h:751:1: warning: multi-line comment
    In file included from wl_cs.c:118:
    ../include/wireless/wl_internal.h:112:26: linux/tqueue.h: No such file or directory
    In file included from wl_cs.c:118:
    ../include/wireless/wl_internal.h:518: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
    ../include/wireless/wl_internal.h:518: warning: data definition has no type or storage class
    ../include/wireless/wl_internal.h:914: error: field `task' has incomplete type
    wl_cs.c: In function `wl_adapter_attach':
    wl_cs.c:195: error: structure has no member named `release'
    wl_cs.c:196: error: structure has no member named `release'
    wl_cs.c:268: warning: implicit declaration of function `CardServices'
    wl_cs.c: In function `wl_adapter_detach':
    wl_cs.c:344: error: structure has no member named `release'
    wl_cs.c: In function `wl_adapter_event':
    wl_cs.c:500: error: structure has no member named `release'
    wl_cs.c:501: error: structure has no member named `release'
    wl_cs.c: In function `wl_adapter_close':
    wl_cs.c:789: error: structure has no member named `release'
    wl_cs.c:792: error: structure has no member named `release'
    wl_cs.c: In function `wl_adapter_init_module':
    wl_cs.c:846: warning: implicit declaration of function `register_pcmcia_driver'
    wl_cs.c: In function `wl_adapter_cleanup_module':
    wl_cs.c:880: warning: implicit declaration of function `unregister_pcmcia_driver'
    make[1]: *** [wlags49_h2_cs_stap.o] Error 1
    make[1]: Leaving directory `/usr/src/pcmcia-cs-3.2.7/wireless'
    make: *** [all] Error 2


    Any ideas?

    Thanks!

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Well, I can't tell conclusively from just that, but looking at the build process and the kinds of errors, it would seem to me that this driver is only meant to be used with 2.4 kernels. I'll download the driver and look at it for details.

  6. #5
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Indeed, as I thought:
    Quote Originally Posted by README.wlags49
    2. SYSTEM REQUIREMENTS

    2.1 Operating System

    This software can be compiled and installed with Linux
    kernel versions 2.4.x. Unlike previous versions, which
    only built for x86 due to the pre-compiled HCF library,
    this driver should compile for other CPUs as well.
    I'm afraid that's something I can't help you with.

  7. #6
    Just Joined!
    Join Date
    Jun 2004
    Posts
    3

    Re: Build Driver for Proxim Orinoco 8420-WD

    did u installed the kernel_source. i had the same error message while trying to installed another wireless card driver.

    rpm -qa | grep kernel


    should see some hints abt the kernel source,

    http://www.rpmfind.net/

    above is a great link to look for correct kernel source rpm.

  8. #7
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578

    Re: Build Driver for Proxim Orinoco 8420-WD

    Quote Originally Posted by chihkeong
    did u installed the kernel_source.
    Yes, he does have his kernel source installed. The problem is that this driver only runs in a 2.4 kernel, while he's using a 2.6 kernel.

  9. #8
    Just Joined!
    Join Date
    Jun 2004
    Posts
    8

    Re: Build Driver for Proxim Orinoco 8420-WD

    Quote Originally Posted by Dolda2000
    Quote Originally Posted by chihkeong
    did u installed the kernel_source.
    Yes, he does have his kernel source installed. The problem is that this driver only runs in a 2.4 kernel, while he's using a 2.6 kernel.
    Ok. I had noticed that in the system requirements for the driver, but I was hoping it would install anyways. If anybody has a clue why it's not working with the 2.6 kernel, let me know!

    Thanks for your help.

  10. #9
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Well, I know very well why it isn't working with the 2.6 kernel. It's because the code has been fundamentally redesigned from the 2.4 to the 2.6 kernel, so the programming interfaces that are used by the driver simply don't exist anymore. Not much to do about it except port it manually (although you need to be pretty proficient in programming to do so) or find another driver which is written for the 2.6 kernel.

  11. #10
    Just Joined!
    Join Date
    Jun 2004
    Posts
    8
    Quote Originally Posted by Dolda2000
    Well, I know very well why it isn't working with the 2.6 kernel. It's because the code has been fundamentally redesigned from the 2.4 to the 2.6 kernel, so the programming interfaces that are used by the driver simply don't exist anymore. Not much to do about it except port it manually (although you need to be pretty proficient in programming to do so) or find another driver which is written for the 2.6 kernel.
    Ok, I guess I'll have to downgrade to 2.4, then. Thanks a lot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •