Menu

#51 incompatible with gcc3

open
nobody
None
5
2003-01-20
2003-01-20
Anonymous
No

It's not possible to use driver in kernel that was compiled by gcc3

sbogus at yndex.ru

Discussion

  • Nobody/Anonymous

    Logged In: NO

    It can't work at all?
    Man, I need my sound!!!

     
  • Nobody/Anonymous

    Logged In: NO

    caspar:/home/caswah/aureal # modprobe au8820
    /lib/modules/2.4.20-4GB/misc/au8820.o: The module you are trying to
    load (/lib/modules/2.4.20-4GB/misc/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-4GB/misc/au8820.o: insmod
    /lib/modules/2.4.20-4GB/misc/au8820.o failed
    /lib/modules/2.4.20-4GB/misc/au8820.o: insmod au8820 failed
    (it's SuSE8.2) - What can I do?

     
  • Nobody/Anonymous

    Logged In: NO

    Thats my problem too. maybe its the compiled files
    asp10.o, asp20.o or asp30.o?
    PLEASE compile them with gcc 3.x

    many thnX

     
  • Nobody/Anonymous

    Logged In: NO

    Compile the kernel by gcc2! :(

    Seem this project is dead... :(

     
  • Nobody/Anonymous

    Logged In: NO

    Seems this project is dead...

    You can compile kernel by gcc2. :(

     
  • Nobody/Anonymous

    Logged In: NO

    Where I can get source of asp30.o?!!
    I can't compile my kernel with gcc2.
    Help me please!

     
  • Nobody/Anonymous

    Logged In: NO

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

    apt-get install hexedit
    hexedit /lib/modules/2.4.22/drivers/sound/au8830.o
    [tab] to get you into the asci side of things
    [/] to search
    'gcc'
    then change 2 to 3
    then ctrl-x to exit
    yes to save changes...

     
  • Nobody/Anonymous

    Logged In: NO

    It all works just fine evean though the gcc versions mismatch. One just
    gave to insmod -f the resulting module.
    (at least on the 2.4.xx series and an au8830 card)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.