I had the same problem, here is the log from the dkms build process

** Attachment added: "make.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1256638/+attachment/3928342/+files/make.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1256638

Title:
  Realtek driver v8.036.00-ppa1-precise1 doesn't build

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  I'm sorry, but Launchpad wouldn't let me attach this bug to package
  "realtek-r8168-dkms", because it's PPA-only.

  I'm running Xubuntu 12.04.3 on a HP ProBook 4530s.
  The wired network doesn't work, and the driver loaded out-of-the-box is r8169 
- but lspci says it's actually a "RTL8111/8168/8411".

  There's a PPA by "Arturo Casal", providing the r8168 driver:
  https://launchpad.net/~berfenger/+archive/realtek

  Installing Arturo's "realtek-r8168-dkms" package from PPA fails to
  build:

  [quote]
  make -C src/ clean
  make[1]: Entering directory `/var/lib/dkms/realtek-r8168/8.036.00/build/src'
  make -C /lib/modules/3.2.0-40-generic/build 
SUBDIRS=/var/lib/dkms/realtek-r8168/8.036.00/build/src clean
  make[2]: Entering directory `/usr/src/linux-headers-3.2.0-40-generic'
  make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-40-generic'
  make[1]: Leaving directory `/var/lib/dkms/realtek-r8168/8.036.00/build/src'
  make -C src/ modules
  make[1]: Entering directory `/var/lib/dkms/realtek-r8168/8.036.00/build/src'
  make -C /lib/modules/3.2.0-40-generic/build 
SUBDIRS=/var/lib/dkms/realtek-r8168/8.036.00/build/src modules
  make[2]: Entering directory `/usr/src/linux-headers-3.2.0-40-generic'
    CC [M]  /var/lib/dkms/realtek-r8168/8.036.00/build/src/r8168_n.o
  /var/lib/dkms/realtek-r8168/8.036.00/build/src/r8168_n.c: In function 
‘rtl8168_get_rx_csum’:
  /var/lib/dkms/realtek-r8168/8.036.00/build/src/r8168_n.c:2103:24: error: 
‘RxChkS1um’ undeclared (first use in this function)
  /var/lib/dkms/realtek-r8168/8.036.00/build/src/r8168_n.c:2103:24: note: each 
undeclared identifier is reported only once for each function it appears in
  make[3]: *** [/var/lib/dkms/realtek-r8168/8.036.00/build/src/r8168_n.o] Error 
1
  make[2]: *** [_module_/var/lib/dkms/realtek-r8168/8.036.00/build/src] Error 2
  make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-40-generic'
  make[1]: *** [modules] Error 2
  make[1]: Leaving directory `/var/lib/dkms/realtek-r8168/8.036.00/build/src'
  make: *** [modules] Error 2
  [/quote]

  Same goes for most recent available packaged kernel v3.2.0-57-generic.

  I have replaced the source in /usr/src/realtek-r8168-8.036.00/ with the most 
recent version (8.037.00) from Realtek's driver site:
  
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false#2

  
  Compiling v8.037.00 worked fine. The generated module (r8168) installs and 
loads fine.
  The wired network problem however, persists.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1256638/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to