[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Cannot compile PCMCIA modules



I'm trying to install a new kernel w/ PCMCIA on a Dell laptop.

I've installed the 2.4.9 kernel source from testing, along with the
pcmcia-source (3.1.28-2) from unstable.

I compile the kernel w/o problems. When I try to run make-kpkg
modules_image, the install fails when compiling the file
/usr/src/modules/pcmcia-cs/wireless/wvlan_hcf.c:

=============================================

make[1]: Entering directory `/usr/src/modules/pcmcia-cs/wireless'
cc   -MD -O3 -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include  -D__KERNEL__ -DMODULE -c netwave_cs.c
cc   -MD -O3 -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include  -D__KERNEL__ -DMODULE -c wavelan_cs.c
cc   -MD -O3 -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include  -D__KERNEL__ -DMODULE -c ray_cs.c
cc   -MD -c -O3 -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include  -D__KERNEL__ -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h wvlan_hcf.c
wvlan_hcf.c:761: macro `min' used with only 2 args
wvlan_hcf.c:781: macro `min' used with only 2 args
wvlan_hcf.c:1702: macro `max' used with only 2 args
wvlan_hcf.c: In function `hcf_get_info':
wvlan_hcf.c:761: `len' undeclared (first use in this function)
wvlan_hcf.c:761: (Each undeclared identifier is reported only once
wvlan_hcf.c:761: for each function it appears in.)
wvlan_hcf.c:761: parse error before `__x'
wvlan_hcf.c:761: `__x' undeclared (first use in this function)
wvlan_hcf.c:761: `__y' undeclared (first use in this function)
wvlan_hcf.c:781: `i' undeclared (first use in this function)
wvlan_hcf.c:781: parse error before `__x'
wvlan_hcf.c: In function `calibrate':
wvlan_hcf.c:1702: parse error before `__x'
wvlan_hcf.c:1702: `__x' undeclared (first use in this function)
wvlan_hcf.c:1702: `__y' undeclared (first use in this function)
make[1]: *** [wvlan_hcf.o] Error 1
make[1]: Leaving directory `/usr/src/modules/pcmcia-cs/wireless'
make: *** [all] Error 2
gnutitude:/usr/src/modules/pcmcia-cs# 

=============================================

This also occurs if I just do a "make clean && make config && make
all" in the pcmcia-cs dir.

The same problem occurs w/ an earlier version of pcmcia-source, namely
3.1.22-02potato.  

I've tried Google and the list archive, but haven't found anything. Am
I missing any dev-files?

tia,

/g.

-- 
Gustaf Erikson -+- +46 70 444 0726 -+- [http://stureby.net/]
 



Reply to: