Guest User

Untitled

a guest
May 19th, 2013
1,112
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Check old driver and unload it.
  2. Build the module and install
  3. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:14545:1: e
  4. rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_boar
  5. d’
  6. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:14715:1: e
  7. rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_sequ
  8. ence’
  9. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:14968:1: e
  10. rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_one’
  11. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:15132:1: e
  12. rror: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_remove_on
  13. e’
  14. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:17651:12:
  15. error: ‘rtl8168_init_one’ undeclared here (not in a function)
  16. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:17652:2: e
  17. rror: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-
  18. declaration]
  19. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:17652:25:
  20. error: ‘rtl8168_remove_one’ undeclared here (not in a function)
  21. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:17301:12:
  22. warning: ‘rtl8168_poll’ defined but not used [-Wunused-function]
  23. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:1368:1: wa
  24. rning: ‘rtl8168_xmii_reset_pending’ defined but not used [-Wunused-function]
  25. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:1383:1: wa
  26. rning: ‘rtl8168_xmii_link_ok’ defined but not used [-Wunused-function]
  27. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:1395:1: wa
  28. rning: ‘rtl8168_xmii_reset_enable’ defined but not used [-Wunused-function]
  29. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:1544:1: wa
  30. rning: ‘rtl8168_link_option’ defined but not used [-Wunused-function]
  31. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:1823:1: wa
  32. rning: ‘rtl8168_set_speed_xmii’ defined but not used [-Wunused-function]
  33. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:2151:13: w
  34. arning: ‘rtl8168_gset_xmii’ defined but not used [-Wunused-function]
  35. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:2886:13: w
  36. arning: ‘rtl8168_get_mac_version’ defined but not used [-Wunused-function]
  37. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:3002:1: wa
  38. rning: ‘rtl8168_print_mac_version’ defined but not used [-Wunused-function]
  39. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:3044:1: wa
  40. rning: ‘rtl8168_hw_phy_config’ defined but not used [-Wunused-function]
  41. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:13681:1: w
  42. arning: ‘rtl8168_release_board’ defined but not used [-Wunused-function]
  43. /media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_n.c:14914:17:
  44. warning: ‘rtl8168_try_msi’ defined but not used [-Wunused-function]
  45. cc1: some warnings being treated as errors
  46. make[3]: *** [/media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/src/r8168_
  47. n.o] Error 1
  48. make[2]: *** [_module_/media/Ubuntu-Spinner/home/cad/Downloads/r8168-8.035.00/sr
  49. c] Error 2
  50. make[1]: *** [modules] Error 2
  51. make: *** [modules] Error 2
RAW Paste Data