configure error with alsa-driver-0.9.7a
Hello kind alsa developers:
I was attempting to upgrade the alsa-drivers in an old system, Redhat 7.0 (upgraded to a custom compiled 2.2.20 kernel) that is presently using alsa-driver-0.9.0rc6.
The system works fine, just wanted the latest drivers, but when I tried to upgrade to the 0.9.7a drivers the configure script stopped midway. I'm puzzled as I've compiled this kernel using the same gcc version (2.96) that I am attempting to use on for the new drivers.
Here is the configure report as requested and thank you in advance for any help.
Sincerely,
Paul
[root@FarNorth alsa-driver-0.9.7a]#
./configure --with-debug=full --with-isapnp=yes --with-sequencer=yes --with- oss=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 executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
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 ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
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/local/src/alsa-driver-0.9.7a checking cross compile...
checking for directory with kernel source... /lib/modules/2.2.20alsa/build checking for kernel version... 2.2.20alsa
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]> [root@FarNorth alsa-driver-0.9.7a]#
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
At Wed, 8 Oct 2003 01:33:17 -0800,
Quoted 10 lines · Paul Berry
Hello kind alsa developers:
I was attempting to upgrade the alsa-drivers in an old system, Redhat 7.0 (upgraded to a custom compiled 2.2.20 kernel) that is presently using alsa-driver-0.9.0rc6.
The system works fine, just wanted the latest drivers, but when I tried to upgrade to the 0.9.7a drivers the configure script stopped midway. I'm puzzled as I've compiled this kernel using the same gcc version (2.96) that I am attempting to use on for the new drivers.
then, $LINUXSRC/include/linux/compile.h wasn't regenerated by some reason. you can remove that file (better rename to others to be sure), and retry configure again.
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 16 lines · Paul Berry
Hello kind alsa developers:
I was attempting to upgrade the alsa-drivers in an old system, Redhat 7.0 (upgraded to a custom compiled 2.2.20 kernel) that is presently using alsa-driver-0.9.0rc6.
The system works fine, just wanted the latest drivers, but when I tried to upgrade to the 0.9.7a drivers the configure script stopped midway. I'm puzzled as I've compiled this kernel using the same gcc version (2.96) that I am attempting to use on for the new drivers.Here is the configure report as requested and thank you in advance for any help.
Sincerely,
Paul
Quoted 9 lines
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]> [root@FarNorth alsa-driver-0.9.7a]#
That message is correct.
You should NEVER compile kernel modules with a different compile than you did the kernel.
Cheers
James
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php