LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   NVIDIA NVdriver in Slackware 8. (https://www.linuxquestions.org/questions/linux-software-2/nvidia-nvdriver-in-slackware-8-a-15565/)

jrbush82 03-04-2002 01:56 PM

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

neo77777 03-04-2002 10:39 PM

Kernel doesn't support loadable modules, you should recompile your kernel to include aforementioned option.

jrbush82 03-04-2002 10:47 PM

yes it does
 
Well I'm sure it does, since my sound is loadable, and it works without any problems.

acid_kewpie 03-05-2002 07:32 AM

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

kylo8787 03-05-2002 11:05 AM

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.

hanzerik 03-05-2002 12:44 PM

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.

jrbush82 03-05-2002 02:08 PM

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.