NVIDIA driver (4496) patched for kernel 2.6.x compatibility won't compile!
After patching the driver 4496 (patch from www.minion.de)
and trying to compile i got this: bash-2.05b# make install make[1]: Entering directory `/home/rod/linux-2.6.4' HOSTCC scripts/fixdep In file included from /usr/include/bits/posix1_lim.h:126, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/include/limits.h:132, from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/include/syslimits.h:7, from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/include/limits.h:11, from scripts/fixdep.c:105: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory In file included from /usr/include/netinet/in.h:212, from scripts/fixdep.c:107: /usr/include/bits/socket.h:4:25: asm/sockios.h: No such file or directory In file included from scripts/fixdep.c:107: /usr/include/netinet/in.h:218: syntax error before "__SOCKADDR_COMMON" /usr/include/netinet/in.h:223: sizeof applied to an incomplete type /usr/include/netinet/in.h:224: `__SOCKADDR_COMMON_SIZE' undeclared here (not in a function) /usr/include/netinet/in.h:227: syntax error before '}' token /usr/include/netinet/in.h:232: syntax error before "__SOCKADDR_COMMON" /usr/include/netinet/in.h:237: syntax error before '}' token scripts/fixdep.c: In function `use_config': scripts/fixdep.c:193: `PATH_MAX' undeclared (first use in this function) scripts/fixdep.c:193: (Each undeclared identifier is reported only once scripts/fixdep.c:193: for each function it appears in.) scripts/fixdep.c:193: warning: unused variable `s' scripts/fixdep.c: In function `parse_dep_file': scripts/fixdep.c:289: `PATH_MAX' undeclared (first use in this function) scripts/fixdep.c:289: warning: unused variable `s' /usr/include/ctype.h: At top level: /usr/include/netinet/in.h:226: storage size of `sin_zero' isn't known make[2]: *** [scripts/fixdep] Error 1 make[1]: *** [scripts] Error 2 make[1]: Leaving directory `/home/rod/linux-2.6.4' make: *** [module] Error 2 bash-2.05b# #For what i could gather from the internet it is looking for the header files found #/linux-2.6.4/include/asm-i386 #Tried doing symbolic links but the only one that seemed to work was : ln -s #/home/rod/linux-2.6.4/include/asm-i386/socket.h /usr/include/bits/socket.h #which was found but not sockios.h #the rest... i got no idea the culprits: kernel 2.6.4 (homemade) nvidia driver 4496 2.6.x support patch from www.minion.de hardware Geforce 3 ti200 :scratch: |
are you installing the nvidia drivers in that output (i couldnt tell)? you should try the 5536 drivers, they work with the 2.6 kernels without any addon hacks/patches.
|
yes i am just after patching the driver.I am currently using those same drivers (5536) @ the moment not very stable i must say, e.i machine crashing while playing ut2004 and very jerky and for what i have read in forums and around the internet is that 4496 is more stable and gives a better squeeze out of your video card that is why i want to switch back
|
i think i can agree about the reasons, although about the error, i think it could be a bug in the patch/driver/kernel, or maybe the patch wasnt made for that specific kernel version.
|
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
In file included from /usr/include/netinet/in.h:212, from scripts/fixdep.c:107: /usr/include/bits/socket.h:4:25: asm/sockios.h: No such file or directory I think these missing files are the issue... |
Indeed but the thing is if i knew where this directories are : /usr/include/bits/local_lim.h:36:26: "linux/limits.h": No such file or directory
i could make simbolic links same with sockios.h : did a symbolic link from /../..include/bits/sockios.h to /home/rod/linux-2.6.4/inlcude/asm-i386/sockios.h but nothing , also the part i don't understrand is:asm/sockios.h: No such file or directory, looked for this directory could not find it! |
All times are GMT -5. The time now is 04:54 AM. |