NVIDIA NVdriver in Slackware 8.
I am trying to get my NVIDIA GeForce 2 graphics card working. I'm running Slackware 8, and I have changed #DEFINE CONFIG_SMP 1 to #undef CONFIG_SMP like I did every other time, and then compiled. It isn't working, and this is what I get...
depmod: *** Unresolved symbols in /lib/modules/2.4.5/kernel/drivers/video/NVdriver /lib/modules/2.4.5/kernel/drivers/video/NVdriver: unresolved symbol snprintf /lib/modules/2.4.5/kernel/drivers/video/NVdriver: insmod /lib/modules/2.4.5/kernel/drivers/video/NVdriver failed /lib/modules/2.4.5/kernel/drivers/video/NVdriver: insmod NVdriver failed make: *** [package-install] Error 255 Anybody have any ideas on what this is caused by? Thanks, Jason Bush |
Kernel doesn't support loadable modules, you should recompile your kernel to include aforementioned option.
|
yes it does
Well I'm sure it does, since my sound is loadable, and it works without any problems.
|
that's a known problem with the slack 2.4.5 kernel. you can possibly get around it but going into that source file and changing snprintf to sprintf. Alternatively, recompiling the kernel is another option. OR using an older version of the NV drivers, as that problem *seems* to only have been a more recent affair
|
i had the same problem,
rebuild the kernel like this make clean make distclean then change all your options with make xconfig or whatever then it will work. |
Or you can just download the lastest kernel src and build a new kernel. Thats what I did after trying to compile drivers on the 2.4.5 kernel.
|
it works, what I did
Well, I have no programming experience as far as C and C++ goes, but I went into the source and looked into snprintf and sprintf, I came to a good conclude on how to replace the line, and when I was done, the line above the line I worked on was exactly the same. Kind of strange, but I just deleted the snprintf line, and left the sprintf line, and it worked fine. So far I've played games and everything with no problems. Don't know, just seems a bit strange to have it. Not sure what snprintf does though, but i know I got it working.
|
All times are GMT -5. The time now is 10:57 AM. |