LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Help with nVidia drivers install FC2

[ILUG] Help with nVidia drivers install FC2

Peter McEvoy pete at yerma.org
Mon Aug 23 16:30:52 IST 2004


On Mon, Aug 23, 2004 at 04:21:16PM +0100, John P. Looney wrote:
> On Mon, Aug 23, 2004 at 04:06:56PM +0100, Frank Murphy mentioned:
> > -> Kernel source path: '/lib/modules/2.6.8-1.521/build'
> > -> Performing cc_version_check with CC="cc".
> > -> gcc-version-check failed:
> > 
> >    ./usr/src/nv/conftest.sh: line 1: cc: command not found
> >    Could not compile gcc-version-check.c
> 
>  I think this is your problem; you don't have a C compiler installed. Run
> "apt-get install gcc", and you are sorted. Assuming you have apt
> installed.

You'll also need to check the version of gcc you use to compile the
module is the same as the running kernel. Use "cat /proc/version" to
find that info. On debian /usr/bin/gcc is a symlink to a specific
version of gcc, like so:

morbo:~# ls -la `which gcc`
lrwxr-xr-x  1 root root 7 2004-07-18 15:18 /usr/bin/gcc -> gcc-3.3

So if my kernel was compiled with something other than gcc-3.3, I would
rm /usr/bin/gcc then "ln -s /usr/bin/gcc-3.2 /usr/bin/gcc" . You might
also need to run "export CC=/usr/bin/gcc" as well.

Cheers
--
Pete



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell