This is a discussion on Re: belkin usb wireless nic within the Linux Networking forums, part of the Linux Forums category; On Sun, 13 Jul 2003 15:15:13 -0700, ivo welch wrote: > thanks, david. I downloaded the atmel driver, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Sun, 13 Jul 2003 15:15:13 -0700, ivo welch wrote:
> thanks, david. I downloaded the atmel driver, read the README file, > and tried to compile it. I think you got lucker than I. I get an > abort when I try to compile it (using the latest stable linux kernel, > 2.4.21): > > gcc -DATMEL -O2 -Wall -g -I/tmp/atmelwlandriver/src/includes -o lvnet > -lncurses cofvnet.c sets.c survey.c > In file included from /usr/include/linux/wireless.h:75, > from vnet.h:33, > from cofvnet.c:24: > /usr/include/linux/ethtool.h:18: parse error before "u32" > /usr/include/linux/ethtool.h:20: parse error before "advertising" > /usr/include/linux/ethtool.h:21: parse error before "speed" > /usr/include/linux/ethtool.h:22: parse error before "duplex" > /usr/include/linux/ethtool.h:23: parse error before "port" > ... [ many more ] .... > > It actually looks as if this is a buglet in the linux kernel itself: > /usr/include/linux/ethtool.h needs to include certain .h files on > which it relies, but fails to do so. > > pity. I guess I will wait for the next kernel and hope that the atmel > driver will make it into the core linux code, so that it undergoes > some more testing. > > /iaw Unless its a bug introduced in 2.4.21, it should just "work". I've compiled it succesfully on RedHat8 (both releases of 2.4.20). Did you compile your own kernel? If so, see note 4 of the readme: "In order to use the ncurses based command line (lvnet) and the X windows (xvnet) applications you must enable the Wireless LAN (non-hamradio) option inside the kernel (and of course if it was disabled to rebuild your kernel). For help regarding the two tools try the corresponding man pages." Have you tried to compile without the applications? Hope this helps some. I'm pretty much a newbie with Linux myself, so this might not be relevant at all. -- David Haggett Linux user since 01/01/2003 |
|
|||
|
hi david: yes, I had indeed followed the instructions in the README.
however, you were correct: ignoring the error message (they probably came from the auxiliary programs), and just typing "make install" created the appropriate modules in /lib/modules/2.4.21, and I could load the net/*.o and then usb/*.o...and it worked. thanks for the help. regards, /iaw |