Click to See Complete Forum and Search --> : cc question


Oratam
06-21-2002, 12:12 AM
I am trying to compile the nvidia kernel drivers and it is giving me an error about it not being the same compiler used to compile the kernel. THis is a base install of redhat 7.3 ftp install.

mdwatts
06-21-2002, 07:08 AM
Have you been able to compile other packages successfully?

Do you have gcc installed? 'cc' is usually a symlink from gcc.

ls -al /usr/bin/cc
/usr/bin/cc -> gcc

ls -al /usr/bin/gcc
/usr/bin/gcc

One alternative would be to install the Redhat nVidia rpms instead of compiling the source.

Oratam
06-21-2002, 08:02 AM
I have attempted to install the source rpms as well as compiling the sourcecode. I screwed up the installaion and have to start over.

Icarus
06-21-2002, 09:15 AM
You can alway grab the nVidia RPM's if you get frustrated over it :)

mdwatts
06-21-2002, 10:03 AM
Originally posted by Oratam:
<STRONG>I have attempted to install the source rpms as well as compiling the sourcecode. I screwed up the installaion and have to start over.</STRONG>

What did you do after you installed the source rpms? Did you rebuild them into binary rpms?

I just use

rpm --rebuild filename.src.rpm

and if successful, then binary (i386.rpm) rpm package will be in /usr/src/Redhat/RPMS/i386