Re: Finally build 2.6.26 that works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






"Nvidia .... always a problem, it seems. Neither nvidia's nor debian's legacy 
driver (for mx400 cards) will compile. Debian's (where I had the sources and 
could play a bit) complains about an implicit definition of 
__SEMAPHORE_INITIALIZER. This is inside a #define that stuffs a mutex 
structure. I tried breaking this into a function and a #define but the 
constant is the problem, not how it was being used.

Any ideas?"

Fortunately, it's not too difficult to work around.  

Code: 
apt-get update;apt-get install nvidia-kernel-source 
sed -i '/__SEMAPHORE_INITIALIZER/
s/__SEMAPHORE_INITIALIZER/__COMPAT_SEMAPHORE_INITIALIZER/'
/usr/src/modules/nvidia-kernel/nv-linux.h 
sed -i '/struct semaphore/ s/struct semaphore/struct compat_semaphore/' /usr/src/modules/nvidia-kernel/nv-linux.h 
See this page, down the bottom..
http://forums.debian.net/viewtopic.php?t=17035&postdays=0&postorder=asc&start=60&sid=8e4f00faf126a981e2c5f98bd9db18bb
Hope this helps
Norv



      Make the switch to the world's best email. Get Yahoo!7 Mail! http://au.yahoo.com/y7mail
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux