Skip to contentSkip to conversation

Please, send ./configure output to <[email protected]>

DISCUSSION RKHenry 2 participants 2 messages Mar 11, 2005

lore
Share & tools
lore

RKHenry

author
#0 lore raw

./configure --with-cards=sscape --with-sequencer=yes

checking for gcc... gcc

checking for C compiler default output... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking for ranlib... ranlib

checking for a BSD-compatible install... /usr/bin/install -c

checking how to run the C preprocessor... gcc -E

checking for egrep... grep -E

checking for ANSI C header files... yes

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking whether time.h and sys/time.h may both be included... yes

checking whether gcc needs -traditional... no

checking for current directory... /usr/src/alsa/alsa-driver-1.0.8

checking cross compile...

checking for directory with kernel source... /usr/src/linux

checking for directory with kernel build...

checking for kernel version... 2.2.16-22

checking for GCC version... Kernel compiler: gcc egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) Used compiler: 2.96

Fatal error: Compiler type does not match

Decoded kernel compiler: type=egcs version=2.91.66

Decoded used compiler: type=gcc version=2.96

Please, send ./configure output to <[email protected]>

#1 lore raw
Quoted 8 lines · RKHenry

checking for GCC version... Kernel compiler: gcc egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) Used compiler: 2.96

Fatal error: Compiler type does not match

Decoded kernel compiler: type=egcs version=2.91.66

Decoded used compiler: type=gcc version=2.96

There's your problem. You are trying to compile the ALSA modules with gcc 2.96, while your kernel was compiled with egcs 2.91.66.

Wow, this looks like an old system. Red Hat 6.x?

Anyway, you have to use the same compiler to compile ALSA and the kernel. Either install egcs-2.91.66 and build ALSA with it, or recompile the kernel with gcc 2.96.

Lee

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click