r8168 fails to install in kernel 3.8.0-1 and 3.8.0-2 [error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_board’]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
r8168 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Raring |
Fix Released
|
Undecided
|
Adam Conrad |
Bug Description
Ubuntu 13.04 Raring developmental branch
The driver r8168-8.035.00 has worked for 3.8.0-0 and all previous kernels (as has your previous drivers).
However, with the last two updates to the kernel (3.8.0-1 and 3.8.0-2) have not worked. I am attaching the terminal output that shows the errors.
I notice that the kernel is now trying to push a driver r8168-dkms that it has not done in the past. It too has failed to install. In the past the kernel has always installed r8169, which has never worked prompting me to have to install the r8168 driver from your support downloads.
Let me know if there is additional information that could help, i.e. log file.
Here is the output of the attempted installation:
Welcome to Ubuntu Raring Ringtail (development branch) (GNU/Linux 3.8.0-2-generic x86_64)
* Documentation: https:/
cad@cad-ubuntu:~$ cd ~/Downloads
cad@cad-
37-make.patch.bz2
901.patch.bz2
acml.pdf
amd-driver-
audi-r8-
beautiful-
firegl_public.c.bz2
hq-mountain-
Mandriva Linux Assembly Mandriva Wallpapers Wide.jpg
OpenCL_
r8168-8.035.00
signature.bz2
ubuntu-
ubuntu-
WP_Ubuntu_
cad@cad-
cad@cad-
autorun.sh Makefile README src
cad@cad-
[sudo] password for cad:
Check old driver and unload it.
Build the module and install
/media/
/media/
/media/
/media/
/media/
/media/
/media/
/media/
/media/
/media/
/media/
/media/
r8168-8.035.00
signature.bz2
ubuntu-
ubuntu-
WP_Ubuntu_
cad@cad-
cad@cad-
autorun.sh Makefile README src
cad@cad-
[sudo] password for cad:
Check old driver and unload it.
Build the module and install
/media/
rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_boar
d’
/media/
rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_sequ
ence’
/media/
rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_one’
/media/
rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_remove_on
e’
/media/
error: ‘rtl8168_init_one’ undeclared here (not in a function)
/media/
rror: implicit declaration of function ‘__devexit_p’ [-Werror=
declaration]
/media/
error: ‘rtl8168_
/media/
warning: ‘rtl8168_poll’ defined but not used [-Wunused-function]
/media/
rning: ‘rtl8168_
/media/
rning: ‘rtl8168_
/media/
rning: ‘rtl8168_
/media/
rning: ‘rtl8168_
/media/
rning: ‘rtl8168_
/media/
arning: ‘rtl8168_gset_xmii’ defined but not used [-Wunused-function]
/media/
arning: ‘rtl8168_
/media/
rning: ‘rtl8168_
/media/
rning: ‘rtl8168_
/media/
arning: ‘rtl8168_
/media/
warning: ‘rtl8168_try_msi’ defined but not used [-Wunused-function]
cc1: some warnings being treated as errors
make[3]: *** [/media/
n.o] Error 1
make[2]: *** [_module_
c] Error 2
make[1]: *** [modules] Error 2
make: *** [modules] Error 2
cad@cad-
u Raring 0:* 5m 0.37 6x0.8GHz 14.6G7% 2013-01-28 09:32:51
summary: |
- r8168 fails to install in kernel 3.8.0-1 and 3.8.0-2 + r8168 fails to install in kernel 3.8.0-1 and 3.8.0-2 [error: expected + ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_board’] |
tags: |
added: verification-done removed: verification-needed |
tags: | removed: 13.04 3.8.0-1 3.8.0-2 r8168 r8168-dkms |
Status changed to 'Confirmed' because the bug affects multiple users.