LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-30-2003, 02:28 PM   #1
miha
LQ Newbie
 
Registered: Oct 2003
Distribution: Gentoo 2006.0
Posts: 6

Rep: Reputation: 0
Question problem with compiler version??


I was compiling alsa-driver on my new Gentoo, when i got that...

------------------------------------------------------------------
...
...
checking for directory with kernel source... /usr/src/linux
checking for kernel version... 2.4.20-gaming-r6
checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 3.3.2 20031201 (Gentoo Linux 3.3.2-r4, propolice)
Fatal error: Compiler type does not match
Decoded kernel compiler: type= version=
Decoded used compiler: type=gcc version=3.3.2
Please, send ./configure output to <alsa-devel@alsa-project.org>

!!! ERROR: media-sound/alsa-driver-1.0.0_rc2 failed.
!!! Function src_compile, Line 65, Exitcode 1
!!! ./configure failed

-------------------------------------------------------------------

Any ideas what's wrong?
 
Old 01-01-2004, 05:57 PM   #2
kbcnetau
Member
 
Registered: Dec 2003
Location: South Australia (ex-Devon, UK)
Distribution: SuSE, Slackware, Fedora, Debian, Knoppix
Posts: 141

Rep: Reputation: 15
Looks like you've got problems from having different programmes compiled with different compilers (and possibly versions of glibc).

The way that I'd do it is to make sure that my compiler and glibc are up to date, re-build and install the kernel (and modules) and then try to compile the extras.
 
Old 01-02-2004, 12:54 PM   #3
miha
LQ Newbie
 
Registered: Oct 2003
Distribution: Gentoo 2006.0
Posts: 6

Original Poster
Rep: Reputation: 0
I did that, but i still get the same problem. Any other ideas? What else should I try?
 
Old 01-02-2004, 03:30 PM   #4
kbcnetau
Member
 
Registered: Dec 2003
Location: South Australia (ex-Devon, UK)
Distribution: SuSE, Slackware, Fedora, Debian, Knoppix
Posts: 141

Rep: Reputation: 15
I'm not that familiar with compiling Alsa and this looks like it may be an Alsa specific problem.

I put your error message into Google and found this thread on the Alsa list which may be of help:
<http://www.mail-archive.com/alsa-use.../msg09589.html>

I have had reasonable success in finding solutions just by cutting and pasting the error message into my GoogleBar.
 
Old 01-03-2004, 12:08 PM   #5
miha
LQ Newbie
 
Registered: Oct 2003
Distribution: Gentoo 2006.0
Posts: 6

Original Poster
Rep: Reputation: 0
I solved my problem. In /usr/src/linux/include/linux/compile.h file under #define LINUX_COMPILER "gcc" i set this gcc, before that it was empty.

TNX kbcnetau, I owe you one.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mplayer tells me my C Compiler is not the right version. J_angel2000 Linux - Software 4 04-14-2004 12:46 PM
GCC3.3-version C Compiler not working etto2004 Linux - Newbie 2 03-04-2004 07:55 AM
compiler version albean Linux - Newbie 1 11-22-2002 03:33 PM
Compiler version max2878 Linux - Software 0 03-01-2002 09:58 AM
compiler version max2878 Linux - General 0 02-27-2002 04:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration