LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2002, 02:56 PM   #1
jrbush82
Member
 
Registered: Mar 2002
Location: Hampton, VA
Posts: 86

Rep: Reputation: 15
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
 
Old 03-04-2002, 11:39 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Kernel doesn't support loadable modules, you should recompile your kernel to include aforementioned option.
 
Old 03-04-2002, 11:47 PM   #3
jrbush82
Member
 
Registered: Mar 2002
Location: Hampton, VA
Posts: 86

Original Poster
Rep: Reputation: 15
yes it does

Well I'm sure it does, since my sound is loadable, and it works without any problems.
 
Old 03-05-2002, 08:32 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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
 
Old 03-05-2002, 12:05 PM   #5
kylo8787
Member
 
Registered: Jan 2002
Location: longview idaho
Distribution: slackware 8.1
Posts: 48

Rep: Reputation: 15
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.
 
Old 03-05-2002, 01:44 PM   #6
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
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.
 
Old 03-05-2002, 03:08 PM   #7
jrbush82
Member
 
Registered: Mar 2002
Location: Hampton, VA
Posts: 86

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia 6106, kernel 2.6.7, slackware 10, failure to load nvidia.ko Tarball_Phreak Linux - Hardware 3 08-04-2004 04:16 PM
My HOWTO: NVDriver on stock 9.2 RolledOat Mandriva 7 03-17-2004 02:54 AM
NVdriver module did not load Digit0 Linux - Software 5 03-08-2003 11:52 AM
loading NVdriver niton Linux - Newbie 1 07-20-2002 08:09 PM
Xconfig can't load NVdriver ... patroche Linux - Hardware 4 05-13-2002 01:49 AM


All times are GMT -5. The time now is 06:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration