LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-12-2004, 03:46 AM   #1
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current
Posts: 755

Rep: Reputation: 65
Question gcc version & X driver


Hey all,

I am struggling for a while now with getting DRI enabled with my sis630 video. I upgraded xfree to 4.4.0 and have kernel 2.6.3. When I wanted to get the latest sis driver from Winischhofer's site, there is only a precompiled XFree86 driver for X compiled with gcc 3.x, and I have gcc 2.95. I tried compiling X and/or the driver from source before, but for some reason that didn't want to work.

I used to have gcc 3.x, but for some reason (I think it was when I upgraded the kernel to 2.6.3) I had to downgrade it to 2.95.

How do I go about now? Is it safe to upgrade gcc? Or will that cause problems with other stuff?

Cheers, Leon.
 
Old 03-12-2004, 12:23 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,579

Rep: Reputation: 187Reputation: 187
"Is it safe to upgrade gcc? Or will that cause problems with other stuff?"

gcc has to match glibc. Almost everything uses glibc. Upgrading to a higher version of glibc usually works OK but there are so many things that use glibc that you can run into a few problems with programs that resist the change.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 03-13-2004, 07:07 AM   #3
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current
Posts: 755

Original Poster
Rep: Reputation: 65
Quote:
...that you can run into a few problems...
If it's only a few, than it's worth a try ;-)
Gotta get DRI functioning well!!

Thanks, Len.
 
Old 03-13-2004, 08:57 AM   #4
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current
Posts: 755

Original Poster
Rep: Reputation: 65
Before I scr*w to many 'few' things...

Upgrading gcc and glibc doesn't seem to be an easy thing (have been RTFMing a bit), any hints here?

I now have Xfree 4.4 installed as precompiled binary for gcc 2.*. If I want to build xfree from source now (using gcc 3.*, does it remove the old version of Xfree, or how should I do this? Last time I tried compiling Xfree from source, I ran into this problem.

How to solve that??

Cheers, Leon.

Last edited by BroX; 03-13-2004 at 09:00 AM.
 
  


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
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 03:54 PM
How to find Linux kernel & gcc version taichiman Linux - Hardware 2 11-07-2004 02:11 PM
redhat fedora gcc version (compiled for 2.4.20) doesn't match kernel version 2.4.22 start1000 Linux - Software 0 03-16-2004 09:17 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 01:07 AM
Sample Driver Module incompatibility with Kernel version (or gcc version) jvs Linux - General 1 06-07-2002 02:40 AM


All times are GMT -5. The time now is 02:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration