Linksys WUSB11 v2.6 trouble compiling

[email protected] Mon, 18 Aug 2003 18:51:30 -0400
Newsgroups gmane.linux.drivers.atmel-wlan
Message-ID <[email protected]>
Hi, I already posted this on usenet, but got no response, so I apologize
if you've seen this already. I'm hoping this is a better place to post this.

I'm trying to make the WUSB11 work on suse 8.1 I got the atmel
driver package from sourceforge, but when I try to compile I get this.
I've been using unix for a while but only as a user, so all the OS
configuration aspects are new to me. TIA.

First is the output of make all, followed by output of make usb (which
is likely redundant).

sneezy:~/atmel/setup # make all
make[1]: *** No targets specified and no makefile found.  Stop.
Kernel Version Running 2.4.19-4GB
Found Kernel Source Directory (/lib/modules/2.4.19-4GB/build)
grep: /lib/modules/2.4.19-4GB/build/.config: No such file or directory
setup.sh: line 158: [: -eq: unary operator expected
Pcmcia card services source needed but not found
Please give desired path.If you have the kernel
support for the PCMCIA card services you still
have to install the corresponding version of
the card services
[it pauses here until I press return...]

for d in pcmcia_src usb_src ; do make -C $d; done
make[1]: Entering directory `/root/atmel/setup/pcmcia_src'
gcc -DLINUX_OS -D__KERNEL__ -DMODULE -O3 -I/include
-I/lib/modules/2.4.19-4GB/build/include -c fastvnet_cs.c -o
fastvnet_cs.o
gcc -DLINUX_OS -D__KERNEL__ -DMODULE -O3 -I/include
-I/lib/modules/2.4.19-4GB/build/include -DRFMD -DRX_CRC -c
fastvnet_cs.c -o fvnetr_cs.o
gcc -DLINUX_OS -D__KERNEL__ -DMODULE -O3 -I/include
-I/lib/modules/2.4.19-4GB/build/include -DRFMD -DR504 -c fastvnet_cs.c
-o fvnet4_cs.o
gcc -DLINUX_OS -D__KERNEL__ -DMODULE -O3 -I/include
-I/lib/modules/2.4.19-4GB/build/include -DRFMD -DRX_CRC -DREV_D -c
fastvnet_cs.c -o fvnetrD_cs.o
gcc -DLINUX_OS -D__KERNEL__ -DMODULE -O3 -I/include
-I/lib/modules/2.4.19-4GB/build/include -DRFMD -DRX_CRC -DREV_E -c
fastvnet_cs.c -o fvnetrE_cs.o
ld -r -o ../fastvnet_cs.o fastvnet_cs.o -L../lib -lvnet-i386
ld -r -o ../fvnetr_cs.o fvnetr_cs.o -L../lib -lvnet-RFMD-i386
ld -r -o ../fvnet4_cs.o fvnet4_cs.o -L../lib -lvnet-504-i386
ld -r -o ../fvnetrD_cs.o fvnetrD_cs.o -L../lib -lvnet-REVD-i386
ld -r -o ../fvnetrE_cs.o fvnetrE_cs.o -L../lib -lvnet-REVE-i386
mv ../fastvnet_cs.o /lib/modules/2.4.19-4GB/pcmcia
mv ../fvnetr_cs.o /lib/modules/2.4.19-4GB/pcmcia
mv ../fvnet4_cs.o /lib/modules/2.4.19-4GB/pcmcia
mv ../fvnetrD_cs.o /lib/modules/2.4.19-4GB/pcmcia
mv ../fvnetrE_cs.o /lib/modules/2.4.19-4GB/pcmcia
rm -f fastvnet_cs.o fvnetr_cs.o fvnet4_cs.o fvnetrD_cs.o fvnetrE_cs.o
gcc -DLINUX_OS -D__KERNEL__ -DMODULE -O3 -I/include
-I/lib/modules/2.4.19-4GB/build/include -DRFMD -DPCI -c fastvnet_cs.c
-o pcifvnet.o
fastvnet_cs.c: In function `vnet_pci_probe':
fastvnet_cs.c:1348: warning: concatenation of string literals with
__FUNCTION__ is deprecated
fastvnet_cs.c:1360: warning: concatenation of string literals with
__FUNCTION__ is deprecated
fastvnet_cs.c:1391: warning: concatenation of string literals with
__FUNCTION__ is deprecated
ld -r -o ../pcifvnet.o pcifvnet.o -L../lib -lvnet-PCI-i386
mv ../pcifvnet.o /lib/modules/2.4.19-4GB/kernel/drivers/net
rm -f pcifvnet.o
make[1]: Leaving directory `/root/atmel/setup/pcmcia_src'
make[1]: Entering directory `/root/atmel/setup/usb_src'
gcc -D__KERNEL__ -O3 -pipe -fno-strict-aliasing -fomit-frame-pointer
-I/lib/modules/2.4.19-4GB/build/include -DMODULE -c -o vnetusba.o
vnetusba.c
vnetusba.c:6:20: config.h: No such file or directory
vnetusba.c:20: `vnet_usb_id' undeclared here (not in a function)
vnetusba.c:20: initializer element is not constant
vnetusba.c:20: (near initialization for `vnet_driver.id_table')
vnetusba.c: In function `usb_vnet_probe':
vnetusba.c:486: `VNET_VIDS' undeclared (first use in this function)
vnetusba.c:486: (Each undeclared identifier is reported only once
vnetusba.c:486: for each function it appears in.)
vnetusba.c:487: `VNET_PIDS' undeclared (first use in this function)
vnetusba.c: At top level:
vnetusba.c:669: `vnet_usb_id' undeclared here (not in a function)
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/atmel/setup/usb_src'
make: *** [all] Error 2
sneezy:~/atmel/setup #


sneezy:~/atmel/setup # make usb
make[1]: *** No targets specified and no makefile found.  Stop.
Kernel Version Running 2.4.19-4GB
Found Kernel Source Directory (/lib/modules/2.4.19-4GB/build)
for d in   usb_src ; do make -C $d;done
make[1]: Entering directory `/root/atmel/setup/usb_src'
gcc -D__KERNEL__ -O3 -pipe -fno-strict-aliasing -fomit-frame-pointer
-I/lib/modules/2.4.19-4GB/build/include -DMODULE -c -o vnetusba.o
vnetusba.c
vnetusba.c:6:20: config.h: No such file or directory
vnetusba.c:20: `vnet_usb_id' undeclared here (not in a function)
vnetusba.c:20: initializer element is not constant
vnetusba.c:20: (near initialization for `vnet_driver.id_table')
vnetusba.c: In function `usb_vnet_probe':
vnetusba.c:486: `VNET_VIDS' undeclared (first use in this function)
vnetusba.c:486: (Each undeclared identifier is reported only once
vnetusba.c:486: for each function it appears in.)
vnetusba.c:487: `VNET_PIDS' undeclared (first use in this function)
vnetusba.c: At top level:
vnetusba.c:669: `vnet_usb_id' undeclared here (not in a function)
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/atmel/setup/usb_src'
make: *** [usb] Error 2
sneezy:~/atmel/setup

Larry