Problems compiling the driver. OpenSuSe 11.2

gikubik
2010-02-28
2013-02-17
  • gikubik

    gikubik - 2010-02-28

    Hi,

    My english is not good enough but I will try. I'm trying to install the driver in my PC because my D-linkG520+ (PCI with chipset ACX111) is not working. I'm following the steps. I have installed differents modules, patterns and so on. I'm really new in linux. When I try to execute the command:

    # make -C /lib/modules/`uname -r`/build M=`pwd`

    I get this answer:

    make: Entering directory `/usr/src/linux-2.6.31.5-0.1-obj/x86_64/desktop'
    make -C ../../../linux-2.6.31.5-0.1 O=/usr/src/linux-2.6.31.5-0.1-obj/x86_64/desktop/.
      LD      /usr/src/acx-20080210/built-in.o
      CC   /usr/src/acx-20080210/wlan.o
    In file included from /usr/src/acx-20080210/acx.h:2,
                     from /usr/src/acx-20080210/wlan.c:49:
    /usr/src/acx-20080210/wlan_compat.h:224: error: conflicting types for ‘irqreturn_t’
    /usr/src/linux-2.6.31.5-0.1/include/linux/irqreturn.h:16: note: previous declaration of ‘irqreturn_t’ was here
    make: ***  Error 1
    make: ***  Error 2
    make: ***  Error 2
    make: ***  Error 2
    make: Leaving directory `/usr/src/linux-2.6.31.5-0.1-obj/x86_64/desktop'

    I haven't got knowledge enough to understand all these lines. Can anybody please help me?

    Thanks.
    Gikubik

     
  • Jools Wills

    Jools Wills - 2010-02-28

    You didn't read the bit where it says it needs kernel 2.6.32 :-)

     
  • gikubik

    gikubik - 2010-02-28

    Thanks, really I thought it will work with any 2.6.X, I didn't understand correctlly.

    Anyway, please, don't go too far, something is saying inside me that I will need more help soon ;-)

    Thank you again!
    gikubik

     
  • gikubik

    gikubik - 2010-02-28

    Hi again,

    I have read again the "how-to" and, in "System requeriments" I can read:

    "A recent Linux kernel of the 2.6 series (at least 2.6.10, although you might find that only the newest versions are currently supported). "

    Really don't work with 2.6.31?

     
  • Jools Wills

    Jools Wills - 2010-02-28

    Oh sorry I had my brain crossed slightly. There is a newer driver that only works on 2.6.32. I'm not sure on the status of the older driver, but I think it hasn't been touched for a while. Please try out the instructions on

    https://sourceforge.net/projects/acx100/forums/forum/257272/topic/3505850 with kernel 2.6.32. this driver supports WPA etc.

     
  • Oliver Winker

    Oliver Winker - 2010-02-28

    Hi,

    Yes indeed, the plan is to support kernels from 2.6.32 onwards. So I'm just looking at the 2.6.33 update, and if my hardware holds (graphics-card broke … damn it ;), I'll continue with that coming days/weekend.

    Btw, in order to pull changes (from time to time) from the git branch, you can check it out with tracking configuration, as shown below. There has also been a small update for usb.

    git checkout -t -b mac80211-mem mac80211-mem
    

    Cheers, Oliver

     

Log in to post a comment.