View previous topic :: View next topic |
Author |
Message |
disi Veteran
Joined: 28 Nov 2003 Posts: 1354 Location: Out There ...
|
Posted: Sun Jan 08, 2012 7:20 pm Post subject: Kernel 3.2.0-r1 cannot build r8101 module anymore |
|
|
Download here, this is the only proper working realtek driver for the card in my netbook AFAIK.
Since I upgraded to 3.2.0 it doesn't build, I tested it also on my other laptop with 3.2.0 and got the same result. Last working version was 3.1.7.
Any ideas?
Code: |
make -C src/ clean
make[1]: Entering directory `/home/disi/downloads_local/r8101-1.021.00/src'
make -C /lib/modules/3.2.0-gentoo-r1/build SUBDIRS=/home/disi/downloads_local/r8101-1.021.00/src clean
make[2]: Entering directory `/usr/src/linux-3.2.0-gentoo-r1'
make[2]: Leaving directory `/usr/src/linux-3.2.0-gentoo-r1'
make[1]: Leaving directory `/home/disi/downloads_local/r8101-1.021.00/src'
make -C src/ modules
make[1]: Entering directory `/home/disi/downloads_local/r8101-1.021.00/src'
make -C /lib/modules/3.2.0-gentoo-r1/build SUBDIRS=/home/disi/downloads_local/r8101-1.021.00/src modules
make[2]: Entering directory `/usr/src/linux-3.2.0-gentoo-r1'
CC [M] /home/disi/downloads_local/r8101-1.021.00/src/r8101_n.o
/home/disi/downloads_local/r8101-1.021.00/src/r8101_n.c: In function ‘rtl8101_xmit_frags’:
/home/disi/downloads_local/r8101-1.021.00/src/r8101_n.c:6926:3: error: incompatible type for argument 1 of ‘lowmem_page_address’
include/linux/mm.h:736:30: note: expected ‘const struct page *’ but argument is of type ‘struct <anonymous>’
make[3]: *** [/home/disi/downloads_local/r8101-1.021.00/src/r8101_n.o] Error 1
make[2]: *** [_module_/home/disi/downloads_local/r8101-1.021.00/src] Error 2
make[2]: Leaving directory `/usr/src/linux-3.2.0-gentoo-r1'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/disi/downloads_local/r8101-1.021.00/src'
make: *** [modules] Error 2
|
_________________ Gentoo on Uptime Project - Larry is a cow |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10587 Location: Somewhere over Atlanta, Georgia
|
Posted: Sun Jan 08, 2012 8:32 pm Post subject: |
|
|
Moved from Kernel & Hardware to Duplicate Threads per the OP's request.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
|