• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: RTL8188SU Driver  (Read 2313 times)
molybtek
Newbie
*

Karma: 0
Posts: 2


View Profile
« on: August 31, 2010, 06:37:04 AM »

Just wondering if anyone is able to help me to get a Realtek wireless N USB dongle to work on the Sheevaplug?

I've got Debian installed on my plug, and installed the headers, but when I compile, I'm getting error that KBUILD_MODNAME is not declared... I've copied the output of the attempt below. Any help would be really appreciated. Thanks.


make ARCH=arm CROSS_COMPILE= -C /lib/modules/2.6.32-5-kirkwood/build M=/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202  modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-kirkwood'
  CC [M]  /root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/cmd/rtl871x_cmd.o
In file included from /root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_service.h:300,
                 from /root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/cmd/rtl871x_cmd.c:21:
/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/rtl871x_byteorder.h:17:4: error: #error "Must be LITTLE/BIG Endian Host"
In file included from /root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/cmd/rtl871x_cmd.c:21:
/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_service.h: In function ‘thread_enter’:
/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_service.h:361: error: implicit declaration of function ‘daemonize’
/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_service.h:362: error: implicit declaration of function ‘allow_signal’
/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_service.h:362: error: ‘SIGTERM’ undeclared (first use in this function)
/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_service.h:362: error: (Each undeclared identifier is reported only once
/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_service.h:362: error: for each function it appears in.)
/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_service.h: In function ‘flush_signals_thread’:
/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_service.h:369: error: implicit declaration of function ‘signal_pending’
/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_service.h:371: error: implicit declaration of function ‘flush_signals’
In file included from /usr/src/linux-headers-2.6.32-5-common/include/linux/usb.h:21,
                 from /root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_intf.h:13,
                 from /root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/rtl871x_io.h:7,
                 from /root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/drv_types.h:58,
                 from /root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/cmd/rtl871x_cmd.c:22:
/usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h: At top level:
/usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h:2034: warning: conflicting types for ‘flush_signals’
/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_service.h:371: warning: previous implicit declaration of ‘flush_signals’ was here
/usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h:2148: warning: conflicting types for ‘daemonize’
/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_service.h:361: warning: previous implicit declaration of ‘daemonize’ was here
/usr/src/linux-headers-2.6.32-5-common/include/linux/sched.h:2346: error: static declaration of ‘signal_pending’ follows non-static declaration
/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_service.h:369: error: previous implicit declaration of ‘signal_pending’ was here
In file included from /root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/osdep_intf.h:13,
                 from /root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/rtl871x_io.h:7,
                 from /root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/include/drv_types.h:58,
                 from /root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/cmd/rtl871x_cmd.c:22:
/usr/src/linux-headers-2.6.32-5-common/include/linux/usb.h: In function ‘usb_register’:
/usr/src/linux-headers-2.6.32-5-common/include/linux/usb.h:949: error: ‘KBUILD_MODNAME’ undeclared (first use in this function)
make[4]: *** [/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/cmd/rtl871x_cmd.o] Error 1
make[3]: *** [_module_/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100202] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-kirkwood'
make: *** [modules] Error 2
Logged

molybtek
Newbie
*

Karma: 0
Posts: 2


View Profile
« Reply #1 on: August 31, 2010, 04:23:28 PM »

Or just wondering if it's possible to force it to use the rtl8187 driver and not use the draft N spec?
Logged

Pages: [1]
Print
Jump to: