[Ubuntu 2.6.32] Compile Error

rtl-wifi
wonmean
2010-09-15
2013-05-02
  • wonmean
    wonmean
    2010-09-15

    Hey all,
    I've been trying to compile different revisions of rtl-wifi, without any luck.

    Compiling the snapshots gave me errors commonly found on this forum.

    Compiling the latest and r62 gave me this error that I haven't been able to find on this forum:

    make -C /lib/modules/2.6.32-24-generic/build M=/home/mircore/Downloads/rtl-wifi modules
    make: Entering directory `/usr/src/linux-headers-2.6.32-24-generic'
      CC   /home/mircore/Downloads/rtl-wifi/ieee80211/ieee80211_softmac.o
    In file included from /home/mircore/Downloads/rtl-wifi/ieee80211/ieee80211.h:179,
                     from /home/mircore/Downloads/rtl-wifi/ieee80211/ieee80211_softmac.c:29:
    include/linux/netdevice.h:84: error: expected identifier before numeric constant
    make: ***  Error 1
    make: ***  Error 2
    make: ***  Error 2
    make: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic'
    make: ***  Error 2

    What should I do?