Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel 3.2.0-r1 cannot build r8101 module anymore
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Sun Jan 08, 2012 7:20 pm    Post subject: Kernel 3.2.0-r1 cannot build r8101 module anymore Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Jan 08, 2012 8:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum