[U-co] Resumen de Ubuntu-co, Vol 10, Envío 11
Jorge Gonzalez
jag2kn en gmail.com
Dom Jul 8 19:12:11 UTC 2007
On 7/8/07, Juan Carlos Reyes <jcreyesortiz en gmail.com> wrote:
>
> Jorge,
> Muchas gracias por la ayuda y la paciencia.
> Sus indicaciones fueron muy utiles. Sin embargo, ahora tengo problemas
> cuando llego a el penultimo paso.
> despues de poner exitosamente cd madwifi<tab>
> pongo
> $ Make
> y me sale el siguiente error que le transcribo....
>
> He borrado el archivo descargado y el descomprimido y he vuelto a empezar
> pero el error me sigue saliendo.
>
> Gracias.
>
> juan en juan-macubuntu:~/madwifi-hal-0.9.30.13-r2351-20070519$ make
> Checking requirements... ok.
> Checking kernel configuration... ok.
> make -C /lib/modules/2.6.20-15-generic/build SUBDIRS=/home/juan/madwifi-
> hal-0.9.30.13-r2351-20070519 modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
> CC [M] /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath/if_ath.o
> CC [M] /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath/if_ath_pci.o
>
> LD [M] /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath/ath_pci.o
> CC [M] /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/ah_os.o
> HOSTCC /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode
>
pregunta en el README no decia que toca darle
./configure
antes del make!?
weno si no es asi de todas formas esto parece que le hacen falta unas
librerias .h, y las que veo que faltan son las estandar o muy comunes, dele
antes de compilar (make)
apt-get install build-essential
esto es para instalar los paquetes basicos de compilación y construcción de
programas desde los fuentes
mire y nos cuenta
/home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:26:19:
> error: stdio.h: No such file or directory
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:27:19:
> error: errno.h: No such file or directory
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:28:20:
> error: getopt.h: No such file or directory
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519 /ath_hal/uudecode.c:29:20:
> error: string.h: No such file or directory
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:30:20:
> error: stdlib.h: No such file or directory
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:32:23:
> error: sys/fcntl.h: No such file or directory
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:33:22:
> error: sys/stat.h: No such file or directory
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c: In
> function 'uudecode_usage':
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:37:
> warning: implicit declaration of function 'printf'
> /home/juan/madwifi- hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:37:
> warning: incompatible implicit declaration of built-in function 'printf'
> /home/juan/madwifi- hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c: At
> top level:
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:40:
> error: expected ')' before '*' token
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:70:
> error: expected ')' before '*' token
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c: In
> function 'main':
> /home/juan/madwifi- hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:121:
> error: 'FILE' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519 /ath_hal/uudecode.c:121:
> error: (Each undeclared identifier is reported only once
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:121:
> error: for each function it appears in.)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:121:
> error: 'src_stream' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:122:
> error: 'dst_stream' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:122:
> error: 'NULL' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:130:
> warning: implicit declaration of function 'getopt'
> /home/juan/madwifi- hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:134:
> error: 'optarg' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519 /ath_hal/uudecode.c:138:
> warning: implicit declaration of function 'exit'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:138:
> warning: incompatible implicit declaration of built-in function 'exit'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:141:
> error: 'optind' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:142:
> error: 'stdin' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:144:
> warning: implicit declaration of function 'fopen'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:146:
> warning: implicit declaration of function 'fprintf'
> /home/juan/madwifi- hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:146:
> warning: incompatible implicit declaration of built-in function 'fprintf'
> /home/juan/madwifi- hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:146:
> error: 'stderr' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519 /ath_hal/uudecode.c:147:
> warning: implicit declaration of function 'strerror'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:147:
> error: 'errno' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:147:
> warning: format '%s' expects type 'char *', but argument 4 has type 'int'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:148:
> warning: incompatible implicit declaration of built-in function 'exit'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:152:
> warning: incompatible implicit declaration of built-in function 'exit'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:156:
> warning: implicit declaration of function 'get_line_from_file'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:156:
> warning: assignment makes pointer from integer without a cast
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:157:
> warning: implicit declaration of function 'strncmp'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:164:
> warning: incompatible implicit declaration of built-in function 'fprintf'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:165:
> warning: incompatible implicit declaration of built-in function 'exit'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:168:
> warning: implicit declaration of function 'strtoul'
> /home/juan/madwifi- hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:170:
> warning: implicit declaration of function 'strchr'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519 /ath_hal/uudecode.c:170:
> warning: incompatible implicit declaration of built-in function 'strchr'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519 /ath_hal/uudecode.c:172:
> warning: incompatible implicit declaration of built-in function 'fprintf'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519 /ath_hal/uudecode.c:173:
> warning: incompatible implicit declaration of built-in function 'exit'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519 /ath_hal/uudecode.c:178:
> warning: implicit declaration of function 'strcmp'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:179:
> error: 'stdout' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:182:
> error: 'O_WRONLY' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:182:
> error: 'O_CREAT' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:182:
> error: 'O_TRUNC' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:186:
> error: 'O_EXCL' undeclared (first use in this function)
> /home/juan/madwifi- hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:188:
> warning: implicit declaration of function 'open'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519 /ath_hal/uudecode.c:189:
> error: 'S_IRWXU' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:189:
> error: 'S_IRWXG' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:189:
> error: 'S_IRWXO' undeclared (first use in this function)
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:191:
> warning: implicit declaration of function 'fdopen'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:193:
> warning: incompatible implicit declaration of built-in function 'fprintf'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:194:
> warning: format '%s' expects type 'char *', but argument 4 has type 'int'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:195:
> warning: incompatible implicit declaration of built-in function 'exit'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:199:
> warning: implicit declaration of function 'read_stduu'
> /home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal/uudecode.c:201:
> warning: implicit declaration of function 'fclose'
> make[3]: *** [/home/juan/madwifi- hal-0.9.30.13-r2351-20070519/ath_hal/uudecode]
> Error 1
> make[2]: *** [/home/juan/madwifi-hal-0.9.30.13-r2351-20070519/ath_hal]
> Error 2
> make[1]: *** [_module_/home/juan/madwifi-hal-0.9.30.13-r2351-20070519]
> Error 2
> make[1]: Leaving directory `/usr/src/linux- headers-2.6.20-15-generic'
> make: *** [modules] Error 2
> juan en juan-macubuntu:~/madwifi-hal-0.9.30.13-r2351-20070519$ sudo make
> install
> sh scripts/find-madwifi-modules.sh 2.6.20-15-generic
> for i in ./ath ./ath_hal ./ath_rate ./net80211; do \
> make -C $i install || exit 1; \
> done
> make[1]: Entering directory `/home/juan/madwifi-
> hal-0.9.30.13-r2351-20070519/ath'
> test -d //lib/modules/2.6.20-15-generic/net || mkdir -p
> //lib/modules/2.6.20-15-generic/net
> cp ath_pci.ko //lib/modules/2.6.20-15-generic/net
> cp: cannot stat `ath_pci.ko': No such file or directory
> make[1]: *** [install] Error 1
> make[1]: Leaving directory `/home/juan/madwifi-
> hal-0.9.30.13-r2351-20070519/ath'
> make: *** [install-modules] Error 1
>
>
>
>
>
> > ---------- Forwarded message ----------
> > From: "Jorge Gonzalez" <jag2kn en gmail.com>
> > To: "Ubuntu Colombia" < ubuntu-co en lists.ubuntu.com>
> > Date: Sat, 7 Jul 2007 11:31:33 -0500
> > Subject: Re: [U-co] instalando driver inalambrico en ubuntu 7.04
> >
> >
> > On 7/7/07, Juan Carlos Reyes Ortiz <jcreyesortiz en gmail.com> wrote:
> > >
> > > Buenas,
> > >
> > > Instalé Ubuntu 7.04 en un MacBook con procesador 2.16. Dado que salió
> > > al mercado despues de la ultima versión 7.04 no viene el driver de la
> > > tarjeta de red inalámbrica.
> > > Seguí estas instrucciones https://help.ubuntu.com/community/MacBook y
> > > logre instalarlo con éxito.
> > > Sin embargo, no logro instalar el driver cuando voy siguiendo los
> > > pasos en la ventana del terminal.
> > >
> > > Las dos primedas filas logro introducirlas exitosamente, pero la
> > > tarcera (tar) no la acepta.
> > > Debo remplazar el <tab> por otra cosa?
> > >
> >
> > yap
> >
> > Se que debe ser una bobada que estoy haciendo mal.
> > >
> > >
> > > sudo aptitude install build-essential
> > > wget http://snapshots.madwifi.org/madwifi-hal-0.9.30.13-current.tar.gz
> > >
> > > tar -zxvf madwifi<tab>
> > >
> >
> > lo que pasa es que cuando presione la tecla tab en este punto debe
> > completar el nombre del archivo, si quiere dele
> > $ ls
> > y esto le muestra los archivos de esta carpeta, y con la instrucción que
> > se ve arriba se supone que se debe
> > llamar madwifi-hal-0.9.30.13-current.tar.gz tonces el comando debería
> > quedar
> >
> > $ tar -xvzf madwifi-hal-0.9.30.13-current.tar.gz
> >
> > cd madwifi<tab>
> > >
> >
> > lo mismo en este punto, cuando se descomprime debe quedar una carpeta
> > que el nombre empieza por madwifi
> >
> > make
> > > sudo make install (answer 'r' when asked)
> > >
> > >
> > > Espero que alguien puede orientarme,
> > >
> >
> > comentenos como le va
> >
> > Muchas gracias
> > >
> > > --
> > > Ubuntu-co mailing list
> > > Ubuntu-co en lists.ubuntu.com
> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-co
> > >
> > >
> >
> >
> > --
> > JAG
> > jag2kn (at) gmail.com
> > Cel: 301 217 78 60
> > Linux Counter 345082
> > Bogotá - Colombia - Sur América
> > --
> > Ubuntu-co mailing list
> > Ubuntu-co en lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-co
> >
> >
>
>
> --
> jcreyesortiz en gmail.com
> M:57-315.835.58.89
> F:57-1-542.63.44
> Bogotá - COLOMBIA
> --
> Ubuntu-co mailing list
> Ubuntu-co en lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-co
>
>
--
JAG
jag2kn (at) gmail.com
Cel: 301 217 78 60
Linux Counter 345082
Bogotá - Colombia - Sur América
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <https://lists.ubuntu.com/archives/ubuntu-co/attachments/20070708/1f555a8f/attachment.html>
Más información sobre la lista de distribución Ubuntu-co