Kirjoittaja Aihe: A-Link WNU langaton  (Luettu 2047 kertaa)

JuhoWee

  • Käyttäjä
  • Viestejä: 6
    • Profiili
A-Link WNU langaton
« : 21.01.11 - klo:21.29 »
Morjens!

Yritin tässä asentaa Ubuntu 10.10:n A-linkin ajuria. Kuitenkin kun yritän kääntää CD:llä ollutta Linux -ajuria: se valittaa seuraavaa:

eero@eero:~/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229$ make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/2.6.35-22-generic/build M=/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229  modules
make[1]: Siirrytään hakemistoon "/usr/src/linux-headers-2.6.35-22-generic"
  CC [M]  /home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/cmd/rtl871x_cmd.o
In file included from /home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/cmd/rtl871x_cmd.c:21:
/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/osdep_service.h: In function ‘thread_enter’:
/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/osdep_service.h:348: error: implicit declaration of function ‘daemonize’
/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/osdep_service.h:349: error: implicit declaration of function ‘allow_signal’
/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/osdep_service.h:349: error: ‘SIGTERM’ undeclared (first use in this function)
/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/osdep_service.h:349: error: (Each undeclared identifier is reported only once
/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/osdep_service.h:349: error: for each function it appears in.)
/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/osdep_service.h:356: error: implicit declaration of function ‘signal_pending’
/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/osdep_service.h:358: error: implicit declaration of function ‘flush_signals’
In file included from include/linux/usb.h:21,
                 from /home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/osdep_intf.h:13,
                 from /home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/rtl871x_io.h:7,
                 from /home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/drv_types.h:58,
                 from /home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/cmd/rtl871x_cmd.c:22:
include/linux/sched.h: At top level:
include/linux/sched.h:2008: warning: conflicting types for ‘flush_signals’
/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/osdep_service.h:358: note: previous implicit declaration of ‘flush_signals’ was here
include/linux/sched.h:2115: warning: conflicting types for ‘daemonize’
/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/osdep_service.h:348: note: previous implicit declaration of ‘daemonize’ was here
include/linux/sched.h:2316: error: static declaration of ‘signal_pending’ follows non-static declaration
/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/include/osdep_service.h:356: note: previous implicit declaration of ‘signal_pending’ was here
make[2]: *** [/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229/cmd/rtl871x_cmd.o] Virhe 1
make[1]: *** [_module_/home/eero/Työpöytä/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229] Virhe 2
make[1]: Poistutaan hakemistosta "/usr/src/linux-headers-2.6.35-22-generic"
make: *** [modules] Virhe 2

lsusb antaa seuraavaa:

Bus 003 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191S WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

eli laite löytyy mutta ajurien asennus tökkii. apuja yhtään?

olen kokeillut myös http://forum.ubuntu-fi.org/index.php?topic=27794.0 olevaa ohjetta, mutta tökkää siihen kohtaan jossa pitäisi asentaa riippuvuuksia. nimittäin

$sudo apt-get install build-essential linux-headers-$(uname -r)
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu       
Luetaan tilatiedot... Valmis       
E: Pakettia build-essential ei löydy

eli pakettia ei löydy...  :-\

Anssi

  • Käyttäjä
  • Viestejä: 1342
    • Profiili
Vs: A-Link WNU langaton
« Vastaus #1 : 23.01.11 - klo:10.42 »
lsusb antaa seuraavaa:

Bus 003 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191S WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

eli laite löytyy mutta ajurien asennus tökkii. apuja yhtään?

olen kokeillut myös http://forum.ubuntu-fi.org/index.php?topic=27794.0 olevaa ohjetta, mutta tökkää siihen kohtaan jossa pitäisi asentaa riippuvuuksia. nimittäin

$sudo apt-get install build-essential linux-headers-$(uname -r)
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu       
Luetaan tilatiedot... Valmis       
E: Pakettia build-essential ei löydy

eli pakettia ei löydy...  :-\

tällä näet löytyykö sitä
Koodia: [Valitse]
sudo apt-get update
apt-cache search build-essential

ja muista että tarvitset netti yhteyden asennuksen aikana.

Ja tuossa muutama linkki aiheeseen, jos tarvetta.
http://ubuntuforums.org/showthread.php?t=1466185
http://samiux.blogspot.com/2010/05/howto-realtek-8192su-usb-dongle.html

JuhoWee

  • Käyttäjä
  • Viestejä: 6
    • Profiili