cannot compile the driver
Hi guys, first i'd like to say that i'm a real newbie, i know very little about linux, but i still need to do this.
Because of my job i need to install FedoraCore1 on my pc and work with it.
Well, i managed to install it, but i have several things and most important is the screen resolution.
My laptop is a Compaq nx9105 with a 15.4 screen and a NVidia GeForce4 420.
Following this post and the NVchooser i did downloaded the following:
and tried to install them.
For the first one it didn't show any problem, for the second one it said that compiler versions were not the same but i could have overcome this simply setting the variable IGNORE_CC_MISMATCH=1. I did and it did compile, but when i tried make install (as needed) it showed the following:
ld -r -o NVdriver Module-linux Module-nvkernel
text data bss dec hex filename
823491 51188 53900 928579 e2b43 NVdriver
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/video/NVdriver: The module you are trying to load (/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/video/NVdriver) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/video/NVdriver: insmod /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/video/NVdriver failed
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/video/NVdriver: insmod NVdriver failed
make: *** [package-install] Error 255
What can i do? I cannot update the compiler, because all the software has been developed so far used this compiler version and i don't want to face this kind of problem.
Essentially i'd like to set the resolution to 1280x800 but i can only set it to 1028x768.
What do you suggest? Thanks a lot,