Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-19-05, 06:26 PM   #1
_tf_
scriptfoo warrior
 
_tf_'s Avatar
 
Join Date: Apr 2003
Location: here
Posts: 117
Default gcc 4.1 problem building module

hi

i'm using gcc 4.1 (gcc-4.1.0-0.9) from fedora rawhide
and can't build the driver module.

nvidia-installer-log tells:
Code:
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
   -1 Unknown symbol in module
...
nvidia: Unknown symbol remap_page_range
   nvidia: Unknown symbol pci_find_class
   nvidia: Unknown symbol remap_page_range
   nvidia: Unknown symbol pci_find_class
   nvidia: Unknown symbol remap_page_range
   nvidia: Unknown symbol pci_find_class
this is with kernel 2.6.15-rc6 and 8174 x86 driver.

maybe there is a fix for this?


thanks
lars
__________________
"My mortgage rate was cut in half after I replied to spam
using Fedora!" raves Bo Battipaglia.
_tf_ is offline   Reply With Quote
Old 12-20-05, 01:01 AM   #2
ghostwalker
Registered User
 
Join Date: Sep 2003
Location: Tacoma, WA
Posts: 76
Default Re: gcc 4.1 problem building module

This is specific to 2.6.15-R6. Either you have to find the patch and revert or wait for a patch for the nvidia driver.
__________________
P4 2.8Ghz @ 2.8Ghz SL6WT
Zalman CNPS7000-Cu
865PE Neo-2 LS BIOs 2.4
512mb Mushkin Level II 256x2
160GB Maxtor HD
Geforce 4 440
Antec 3700 1 exhaust and 1 intake fans
Linux 2.6.x ArchLinux
ghostwalker is offline   Reply With Quote
Old 12-20-05, 03:48 AM   #3
_tf_
scriptfoo warrior
 
_tf_'s Avatar
 
Join Date: Apr 2003
Location: here
Posts: 117
Default Re: gcc 4.1 problem building module

thanks &
__________________
"My mortgage rate was cut in half after I replied to spam
using Fedora!" raves Bo Battipaglia.
_tf_ is offline   Reply With Quote
Old 12-20-05, 08:51 AM   #4
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: gcc 4.1 problem building module

This problem is caused by additional warnings generated by gcc 4.1 for certain Linux kernel header files, it should go away if/when these kernel header files are fixed. Meanwhile, you can try the attached patch to work around this problem (the steps needed to patch the Linux/x86 driver are analogous to those below):

# sh /path/to/NVIDIA-Linux-x86_64-1.0-8174-pkg2.run --extract-only
# cd NVIDIA-Linux-x86_64-1.0-8174-pkg2
# patch -p0 < /path/to/NVIDIA_kernel-1.0-8174-1438624.diff.txt
# ./nvidia-installer -n
Attached Files
File Type: txt NVIDIA_kernel-1.0-8174-1438624.diff.txt (591 Bytes, 717 views)
zander is offline   Reply With Quote
Old 12-20-05, 03:30 PM   #5
_tf_
scriptfoo warrior
 
_tf_'s Avatar
 
Join Date: Apr 2003
Location: here
Posts: 117
Default Re: gcc 4.1 problem building module

&

:-)
lars
__________________
"My mortgage rate was cut in half after I replied to spam
using Fedora!" raves Bo Battipaglia.
_tf_ is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
Error messages... HELP!!!! Imperito NVIDIA Linux 3 09-24-02 10:46 PM
GForce drivers installed...but dont work tomfullery NVIDIA Linux 6 09-22-02 08:23 AM
Need help to get the X to work on my Acer TravelMate 630 knchee NVIDIA Linux 16 09-19-02 10:16 PM
gcc version3 kenrel module problems valserWater NVIDIA Linux 11 09-07-02 09:40 AM

All times are GMT -5. The time now is 08:38 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.