Realtek RTL8111/8168B PCI Express Gigabit Rev03 New driver installation
I've just performed a fresh install of Ubuntu 13.04 without updates. The network connection isn't working so I'm trying to fix it by following the guide listed in this link
https://unixblogger.wordpress.com/2011/10/18/the-pain-of-an-realtek-rtl8111rtl8168-ethernet-card/
It was going so far so good until I got up to
sudo make clean modules
At which point I received 2 errors and the .ko file wasn't created. I'm fairly new to Linux so I'm not sure how to properly troubleshoot this. This is what came out of the terminal
lewis@Jehuty-OSURR:~/Documents/r8168-8.035.00$ sudo make clean modules make -C src/ clean make[1]: Entering directory/home/lewis/Documents/r8168-8.035.00/src’ make -C /lib/modules/3.8.0-19-generic/build SUBDIRS=/home/lewis/Documents/r8168-8.035.00/src clean make[2]: Entering directory /usr/src/linux-headers-3.8.0-19-generic’ CLEAN /home/lewis/Documents/r8168-8.035.00/src/.tmp_versions make[2]: Leaving directory/usr/src/linux-headers-3.8.0-19-generic’ make[1]: Leaving directory /home/lewis/Documents/r8168-8.035.00/src’ make -C src/ modules make[1]: Entering directory/home/lewis/Documents/r8168-8.035.00/src’ make -C /lib/modules/3.8.0-19-generic/build SUBDIRS=/home/lewis/Documents/r8168-8.035.00/src modules make[2]: Entering directory /usr/src/linux-headers-3.8.0-19-generic’ CC [M] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.o /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:14545:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_board’ /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:14715:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_sequence’ /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:14968:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_one’ /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:15132:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_remove_one’ /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:17651:12: error: ‘rtl8168_init_one’ undeclared here (not in a function) /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:17652:2: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:17652:25: error: ‘rtl8168_remove_one’ undeclared here (not in a function) /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:17301:12: warning: ‘rtl8168_poll’ defined but not used [-Wunused-function] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:1368:1: warning: ‘rtl8168_xmii_reset_pending’ defined but not used [-Wunused-function] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:1383:1: warning: ‘rtl8168_xmii_link_ok’ defined but not used [-Wunused-function] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:1395:1: warning: ‘rtl8168_xmii_reset_enable’ defined but not used [-Wunused-function] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:1544:1: warning: ‘rtl8168_link_option’ defined but not used [-Wunused-function] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:1823:1: warning: ‘rtl8168_set_speed_xmii’ defined but not used [-Wunused-function] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:2151:13: warning: ‘rtl8168_gset_xmii’ defined but not used [-Wunused-function] /home/lewis/Documents/r8168-8.035
I've just performed a fresh install of Ubuntu 13.04 without updates. The network connection isn't working so I'm trying to fix it by following the guide listed in this link
https://unixblogger.wordpress.com/2011/10/18/the-pain-of-an-realtek-rtl8111rtl8168-ethernet-card/
It was going so far so good until I got up to
sudo make clean modules
At which point I received 2 errors and the .ko file wasn't created. I'm fairly new to Linux so I'm not sure how to properly troubleshoot this. This is what came out of the terminal
lewis@Jehuty-OSURR:~/Documents/r8168-8.035.00$ sudo make clean modules make -C src/ clean make[1]: Entering directory/home/lewis/Documents/r8168-8.035.00/src’ make -C /lib/modules/3.8.0-19-generic/build SUBDIRS=/home/lewis/Documents/r8168-8.035.00/src clean make[2]: Entering directory /usr/src/linux-headers-3.8.0-19-generic’ CLEAN /home/lewis/Documents/r8168-8.035.00/src/.tmp_versions make[2]: Leaving directory/usr/src/linux-headers-3.8.0-19-generic’ make[1]: Leaving directory /home/lewis/Documents/r8168-8.035.00/src’ make -C src/ modules make[1]: Entering directory/home/lewis/Documents/r8168-8.035.00/src’ make -C /lib/modules/3.8.0-19-generic/build SUBDIRS=/home/lewis/Documents/r8168-8.035.00/src modules make[2]: Entering directory /usr/src/linux-headers-3.8.0-19-generic’ CC [M] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.o /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:14545:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_board’ /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:14715:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_sequence’ /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:14968:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_one’ /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:15132:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_remove_one’ /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:17651:12: error: ‘rtl8168_init_one’ undeclared here (not in a function) /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:17652:2: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:17652:25: error: ‘rtl8168_remove_one’ undeclared here (not in a function) /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:17301:12: warning: ‘rtl8168_poll’ defined but not used [-Wunused-function] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:1368:1: warning: ‘rtl8168_xmii_reset_pending’ defined but not used [-Wunused-function] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:1383:1: warning: ‘rtl8168_xmii_link_ok’ defined but not used [-Wunused-function] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:1395:1: warning: ‘rtl8168_xmii_reset_enable’ defined but not used [-Wunused-function] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:1544:1: warning: ‘rtl8168_link_option’ defined but not used [-Wunused-function] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:1823:1: warning: ‘rtl8168_set_speed_xmii’ defined but not used [-Wunused-function] /home/lewis/Documents/r8168-8.035.00/src/r8168_n.c:2151:13: warning: ‘rtl8168_gset_xmii’ defined but not used [-Wunused-function] /home/lewis/Documents/r8168-8.035
No comments:
Post a Comment