WiFi Module won't build on Raspberry Pi

Ask questions about Arch Linux ARM. Please search before making a new topic.

WiFi Module won't build on Raspberry Pi

Postby steelcowboy » Thu Dec 25, 2014 5:45 pm

I recently put Arch on my Raspberry Pi, and it's wonderful! I also overclocked that bad boy to 1.1 GHz and it runs like a charm, very stable.

I realized my kernel was way out of date (3.12) so I installed that linux-raspberrypi-latest package. I went on using it, but my WiFi would occasionally drop (I'm using an Edimax EW-7188Un). Looking up this problem led me to try to install the driver, dkms-8192cu, which also pulled in linux-raspberrypi-latest-headers (whoops, forgot to upgrade that...)

[EDIT] I am able to get the driver included with the kernel (rtk8192cu) to load and the dongle seems to work under that; however, do I want that or just 8192cu?)

When I try to install the module I get this error:
$this->bbcode_second_pass_code('', '(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.18.0-1-ARCH (armv6l)
Consult /var/lib/dkms/8192cu/v4.0.2_9000.20130911/build/make.log for more information.
')

When I consult the file, it says warnings were treated as errors. I received the following warnings/errors:
$this->bbcode_second_pass_code('', '/var/lib/dkms/8192cu/v4.0.2_9000.20130911/build/os_dep/linux/os_intfs.c:1013:2: warning: initialization from incompatible pointer type
.ndo_select_queue = rtw_select_queue,
^
/var/lib/dkms/8192cu/v4.0.2_9000.20130911/build/os_dep/linux/os_intfs.c:1013:2: warning: (near initialization for 'rtw_netdev_ops.ndo_select_queue')
CC [M] /var/lib/dkms/8192cu/v4.0.2_9000.20130911/build/os_dep/linux/usb_intf.o
/var/lib/dkms/8192cu/v4.0.2_9000.20130911/build/os_dep/linux/usb_intf.c: In function 'rtw_drv_entry':
/var/lib/dkms/8192cu/v4.0.2_9000.20130911/build/os_dep/linux/usb_intf.c:1581:52: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
DBG_871X("build time: %s %s\n", __DATE__, __TIME__);
^
/var/lib/dkms/8192cu/v4.0.2_9000.20130911/build/os_dep/linux/usb_intf.c:1581:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
DBG_871X("build time: %s %s\n", __DATE__, __TIME__);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/var/lib/dkms/8192cu/v4.0.2_9000.20130911/build/os_dep/linux/usb_intf.o' failed
make[2]: *** [/var/lib/dkms/8192cu/v4.0.2_9000.20130911/build/os_dep/linux/usb_intf.o] Error 1
Makefile:1381: recipe for target '_module_/var/lib/dkms/8192cu/v4.0.2_9000.20130911/build' failed
make[1]: *** [_module_/var/lib/dkms/8192cu/v4.0.2_9000.20130911/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.18.0-1-ARCH/build'
Makefile:584: recipe for target 'modules' failed
make: *** [modules] Error 2
')

Any thoughs? Could overclocking have hd something to do with this (i.e. corruption)?
steelcowboy
 
Posts: 2
Joined: Sun Oct 05, 2014 4:22 pm

Return to User Questions

Who is online

Users browsing this forum: No registered users and 15 guests