Comment 33 for bug 971876

Str3tLeer (str3tleer) wrote :

I have a System76 Gazelle system and I upgraded from 12.04 to 12.10 and then to 13.04. I get this error regarding rts-bpp-dkms so I tried the planet76.com fix but this is what I get:

Building initial module for 3.8.0-23-generic
Error! Bad return status for module build on kernel: 3.8.0-23-generic (x86_64)
Consult /var/lib/dkms/rts_bpp/1.1/build/make.log for more information.

Then I opened the make.log and this is inside:

DKMS make.log for rts_bpp-1.1 for kernel 3.8.0-23-generic (x86_64)
Fri May 31 11:58:22 EDT 2013
make: Entering directory `/usr/src/linux-headers-3.8.0-23-generic'
  CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.o
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:893:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtsx_probe’
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1048:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtsx_remove’
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1073:11: error: ‘rtsx_probe’ undeclared here (not in a function)
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1074:2: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-dec$
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1074:24: error: ‘rtsx_remove’ undeclared here (not in a function)
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:255:34: warning: ‘rtsx_host_template’ defined but not used [-Wunused-variable]
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:450:12: warning: ‘rtsx_control_thread’ defined but not used [-Wunused-function]
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:559:12: warning: ‘rtsx_polling_thread’ defined but not used [-Wunused-function]
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:715:13: warning: ‘quiesce_and_remove_host’ defined but not used [-Wunused-function]
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:751:13: warning: ‘release_everything’ defined but not used [-Wunused-function]
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:761:12: warning: ‘rtsx_scan_thread’ defined but not used [-Wunused-function]
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:786:13: warning: ‘rtsx_init_options’ defined but not used [-Wunused-function]
cc1: some warnings being treated as errors
make[1]: *** [/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.o] Error 1
make: *** [rts_bpp.ko] Error 2
make: Leaving directory `/usr/src/linux-headers-3.8.0-23-generic'

I hope this helps troubleshoot the problem.