View Single Post
Old 01-17-13, 01:15 PM   #2
valdis
Registered User
 
Join Date: Apr 2003
Posts: 48
Default Re: Nvidia driver on linux 3.7

Does the following ad-crock patch fix your problem?

diff -u conftest.sh.orig conftest.sh
--- conftest.sh.orig 2013-01-17 13:13:29.821791861 -0500
+++ conftest.sh 2013-01-07 17:48:44.504259243 -0500
@@ -2012,6 +2014,7 @@
rm -f conftest.h
test_headers

+ CFLAGS="$CFLAGS -I/usr/src/linux-next/arch/x86/include/uapi"
for i in $*; do compile_test $i; done

if [ -n "$SHOW_COMPILE_TEST_RESULTS" -a -f conftest.h ]; then
valdis is offline   Reply With Quote