Problems compiling rt2860 source with module assistant
Hi!
I have a Ralink wireless device and searching for a way to install the drivers I've found a sources package (rt2860 driver) in a debian repository. Has I'm on Kubuntu, I thought it should work. I've downloaded and installed module assistant and debhelper and tried to install the rt2860 driver using, as I saw on a tutorial, the command: Quote:
Quote:
'saindo do diretório' means 'leaving directory' 'Erro' is 'error' How can I solve this problem? |
It looks like the ubuntu does not like the debian installer. Download your driver from the ralink site here and install it according to the readme directions with the driver.
http://www.ralinktech.com/ralink/Hom...ort/Linux.html |
The build instructions are a bit confuse. How do I do this step (included in the instructions):
Quote:
|
I can not get to my linux now but if you have the later kubuntu installed you will probably have your gcc packages installed by default. Try running the make and see what if any errors you get.
|
make output:
make -C tools make[1]: Entrando no diretório `/home/helder/2008_0918_RT2860_Linux_STA_v1.8.0.0 /tools' gcc -g bin2h.c -o bin2h bin2h.c:28:19: erro: stdio.h: Ficheiro ou directoria inexistente bin2h.c:29:20: erro: string.h: Ficheiro ou directoria inexistente bin2h.c:30:20: erro: stdlib.h: Ficheiro ou directoria inexistente bin2h.c: Na função ‘main’: bin2h.c:34: erro: ‘FILE’ undeclared (first use in this function) bin2h.c:34: erro: (Each undeclared identifier is reported only once bin2h.c:34: erro: for each function it appears in.) bin2h.c:34: erro: ‘infile’ undeclared (first use in this function) bin2h.c:34: erro: ‘outfile’ undeclared (first use in this function) bin2h.c:42: aviso: incompatible implicit declaration of built-in function ‘memse t’ bin2h.c:49: aviso: incompatible implicit declaration of built-in function ‘print f’ bin2h.c:54: aviso: incompatible implicit declaration of built-in function ‘print f’ bin2h.c:57: aviso: incompatible implicit declaration of built-in function ‘strca t’ bin2h.c:69: erro: expected expression before ‘)’ token bin2h.c:71: aviso: incompatible implicit declaration of built-in function ‘print f’ bin2h.c:76: erro: expected expression before ‘)’ token bin2h.c:78: aviso: incompatible implicit declaration of built-in function ‘print f’ bin2h.c:146: aviso: incompatible implicit declaration of built-in function ‘spri ntf’ bin2h.c:155: aviso: incompatible implicit declaration of built-in function ‘exit ’ make[1]: ** [all] Erro 1 make[1]: Saindo do diretório `/home/helder/2008_0918_RT2860_Linux_STA_v1.8.0.0/t ools' make: ** [build_tools] Erro 2 |
I installed kernel-devel and everything went OK.
Thanks! |
All times are GMT -5. The time now is 11:06 PM. |