Menu

#64 Mismatch Kernel Compiled w/ GCC 3.2.2

open
nobody
None
5
2003-04-27
2003-04-27
No

entoo etc # /sbin/modprobe "-k" "au8820"
/lib/modules/2.4.20-gentoo-r2/drivers/sound/au8820.o: The module
you are trying to load
(/lib/modules/2.4.20-gentoo-r2/drivers/sound/au8820.o) is compiled
with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
/lib/modules/2.4.20-gentoo-r2/drivers/sound/au8820.o: insmod
au8820 failed
gentoo etc # gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/specs
Configured with:
/var/tmp/portage/gcc-3.2.2/work/gcc-3.2.2/configure --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info
--enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu
--with-system-zlib --enable-languages=c,c++,ada,f77,objc,java
--enable-threads=posix --enable-long-long --disable-checking
--enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext
Thread model: posix
gcc version 3.2.2
gentoo etc #

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I found that using a hexeditor on au8830.o and changing the
    string gcc2 to gcc3 made it work fine... probably not
    supposed to but it works for me :)

     
  • Nobody/Anonymous

    Logged In: NO

    insmod -f might also work

     
  • Nobody/Anonymous

    Logged In: NO

    insmod -F aureal
    works, but says something like ... "BLABLABL compiled with
    gcc2, this wont work, blablbalbalba" anyway this work very
    well. maybe not with cedega / counter-strike but with other
    it will.

     

Log in to post a comment.