View previous topic :: View next topic |
Author |
Message |
Eregus n00b
Joined: 13 Oct 2013 Posts: 5
|
Posted: Sun Oct 27, 2013 2:11 am Post subject: nvidia.ko fails to build - "make: *** [module] Error 1& |
|
|
Hi
I started using Gentoo recently ant there's one thing I can't get working - nvidia proprietary drivers. When I emerge it, it fails and gives me some "info" about errors (info, that I don't understand at all).
There's full emerge output: http://bpaste.net/show/144197/
Note: I use pf-sources, but it's not its fault, because I also tried emerging nvidia-drivers on gentoo kernel and got the same.
Any idea? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Eregus n00b
Joined: 13 Oct 2013 Posts: 5
|
Posted: Thu Oct 31, 2013 10:31 pm Post subject: |
|
|
Now it works perfectly. Thanks and sorry for quite stupid quesiton. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
roarinelk Guru
Joined: 04 Mar 2004 Posts: 520
|
Posted: Fri Nov 01, 2013 3:53 pm Post subject: |
|
|
Jaglover wrote: | Current nVidia drivers do not build against kernel 3-11.
In kernel/nv-linux.h change
Code: | 959 #define NV_NUM_PHYSPAGES num_physpages
|
to
Code: | 959 #define NV_NUM_PHYSPAGES get_num_physpages |
either using a patch or by hand. |
That's horribly horribly wrong!
1st, get_num_physpages is a function, not a variable. What you're doing here
is assigning the address of this function, not the value it should hold.
2nd, num_physpages was renamed to totalram_pages, use this one instead. |
|
Back to top |
|
|
|