ipw2100 fails to build

Julius Donnert caesar_bs at gmx.de
Thu Jan 27 14:23:33 UTC 2005


Hello all,

i got some problems compiling the ipw2100 module. i get :


root at Schrödinger ~ # lin -rc ipw2100
ipw2100:  Enable legacy firmware loading? [y] y
ipw2100:  Enable WPA support? [y] y
Building ipw2100
Enabling legacy firmware loading ...
Enabling WPA support ...
Disabling debug messages ...
make -C /lib/modules/2.6.10-as2n/build SUBDIRS=/usr/src/ipw2100-1.0.2  
MODVERDIR=/usr/src/ipw2100-1.0.2 modules
make[1]: Entering directory `/usr/src/linux-2.6.10'
  CC [M]  /usr/src/ipw2100-1.0.2/ipw2100.o
In file included from /usr/src/ipw2100-1.0.2/ipw2100.c:137:
include/linux/config.h:4:28: linux/autoconf.h: No such file or  
directory
In file included from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/seqlock.h:30,
                 from include/linux/time.h:7,
                 from include/linux/skbuff.h:20,
                 from include/linux/if_ether.h:106,
                 from include/linux/netdevice.h:29,
                 from include/linux/if_arp.h:26,
                 from /usr/src/ipw2100-1.0.2/ipw2100.c:139:
include/asm/processor.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT'  
undeclared here (not in a function)
include/asm/processor.h:68: error: requested alignment is not a  
constant

In file included from include/linux/list.h:7,
                 from include/linux/wait.h:23,
                 from include/asm/semaphore.h:41,
                 from include/linux/sched.h:18,
                 from include/linux/mm.h:4,
                 from include/linux/skbuff.h:26,
                 from include/linux/if_ether.h:106,
                 from include/linux/netdevice.h:29,
                 from include/linux/if_arp.h:26,
                 from /usr/src/ipw2100-1.0.2/ipw2100.c:139:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT'  
undeclared (first use in this function)
include/linux/prefetch.h:64: error: (Each undeclared identifier is  
reported only once
include/linux/prefetch.h:64: error: for each function it appears in.)
In file included from include/linux/module.h:23,
                 from include/linux/device.h:20,
                 from include/linux/netdevice.h:38,
                 from include/linux/if_arp.h:26,
                 from /usr/src/ipw2100-1.0.2/ipw2100.c:139:
include/asm/module.h:56:2: #error unknown processor family
In file included from include/asm/hardirq.h:6,
                 from include/linux/hardirq.h:6,
                 from include/linux/interrupt.h:11,
                 from include/linux/netdevice.h:518,
                 from include/linux/if_arp.h:26,
                 from /usr/src/ipw2100-1.0.2/ipw2100.c:139:
include/linux/irq.h: At top level:
include/linux/irq.h:69: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared  
here (not in a function)
include/linux/irq.h:69: error: requested alignment is not a constant
In file included from include/linux/hardirq.h:6,
                 from include/linux/interrupt.h:11,
                 from include/linux/netdevice.h:518,
                 from include/linux/if_arp.h:26,
                 from /usr/src/ipw2100-1.0.2/ipw2100.c:139:
include/asm/hardirq.h:13: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared  
here (not in a function)
include/asm/hardirq.h:13: error: requested alignment is not a constant
In file included from include/linux/ip.h:84,
                 from /usr/src/ipw2100-1.0.2/ipw2100.c:142:
include/net/sock.h:565: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared  
here (not in a function)
/usr/src/ipw2100-1.0.2/ipw2100.c: In function `store_memory':
/usr/src/ipw2100-1.0.2/ipw2100.c:3707: warning: unused variable `dev'
/usr/src/ipw2100-1.0.2/ipw2100.c: In function `store_scan_age':
/usr/src/ipw2100-1.0.2/ipw2100.c:4012: warning: unused variable `dev'
/usr/src/ipw2100-1.0.2/ipw2100.c: In function `ipw2100_wpa_enable':
/usr/src/ipw2100-1.0.2/ipw2100.c:5791: warning: passing arg 1 of  
pointer to function from incompatible pointer type
/usr/src/ipw2100-1.0.2/ipw2100.c: In function  
`ipw2100_wpa_set_auth_algs':
/usr/src/ipw2100-1.0.2/ipw2100.c:5818: warning: passing arg 1 of  
pointer to function from incompatible pointer type
/usr/src/ipw2100-1.0.2/ipw2100.c: In function  
`ipw2100_wpa_set_encryption':
/usr/src/ipw2100-1.0.2/ipw2100.c:6070: warning: passing arg 1 of  
pointer to function from incompatible pointer type
/usr/src/ipw2100-1.0.2/ipw2100.c: In function `ipw2100_pci_init_one':
/usr/src/ipw2100-1.0.2/ipw2100.c:6506: warning: implicit declaration of  
function `pci_request_regions'
/usr/src/ipw2100-1.0.2/ipw2100.c:6641: warning: implicit declaration of  
function `pci_release_regions'
make[2]: *** [/usr/src/ipw2100-1.0.2/ipw2100.o] Fehler 1
make[1]: *** [_module_/usr/src/ipw2100-1.0.2] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.10'
make: *** [modules] Fehler 2
Creating /var/log/lunar/compile/ipw2100-1.0.2.bz2
! Problem detected during BUILD
root at Schrödinger ~ #

i couldnt find a solution in google, so perhaps someone can help.  
2.6.10 Kernel on a Centrino notebook.

thanks

julius




More information about the Lunar mailing list