Comment 100 for bug 1239578

Revision history for this message
Colin Heinzmann (cheinzmann3) wrote :

Trying to get up and and running with #86 DKMS module and am running into a compilation issue. Below is my make.log. I tried building in kernel 3.16-rc3 and the same error occurred. Could someone shed light on this issue?

DKMS make.log for rtl8192ee-1.0 for kernel 3.15.2-1-ARCH (x86_64)
Tue Jul 1 00:47:24 PDT 2014
make: Entering directory '/usr/lib/modules/3.15.2-1-ARCH/build'
  LD /var/lib/dkms/rtl8192ee/1.0/build/built-in.o
  CC [M] /var/lib/dkms/rtl8192ee/1.0/build/base.o
  CC [M] /var/lib/dkms/rtl8192ee/1.0/build/cam.o
  CC [M] /var/lib/dkms/rtl8192ee/1.0/build/core.o
/var/lib/dkms/rtl8192ee/1.0/build/core.c:1599:2: warning: initialization from incompatible pointer type
  .flush = rtl_op_flush,
  ^
/var/lib/dkms/rtl8192ee/1.0/build/core.c:1599:2: warning: (near initialization for 'rtl92e_ops.flush')
  CC [M] /var/lib/dkms/rtl8192ee/1.0/build/debug.o
  CC [M] /var/lib/dkms/rtl8192ee/1.0/build/efuse.o
  CC [M] /var/lib/dkms/rtl8192ee/1.0/build/pci.o
  CC [M] /var/lib/dkms/rtl8192ee/1.0/build/ps.o
  CC [M] /var/lib/dkms/rtl8192ee/1.0/build/rc.o
  CC [M] /var/lib/dkms/rtl8192ee/1.0/build/regd.o
/var/lib/dkms/rtl8192ee/1.0/build/regd.c: In function '_rtl_reg_apply_beaconing_flags':
/var/lib/dkms/rtl8192ee/1.0/build/regd.c:185:20: error: 'IEEE80211_CHAN_NO_IBSS' undeclared (first use in this function)
      ch->flags &= ~IEEE80211_CHAN_NO_IBSS;
                    ^
/var/lib/dkms/rtl8192ee/1.0/build/regd.c:185:20: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/rtl8192ee/1.0/build/regd.c:189:11: error: 'IEEE80211_CHAN_PASSIVE_SCAN' undeclared (first use in this function)
          ~IEEE80211_CHAN_PASSIVE_SCAN;
           ^
/var/lib/dkms/rtl8192ee/1.0/build/regd.c: In function '_rtl_reg_apply_active_scan_flags':
/var/lib/dkms/rtl8192ee/1.0/build/regd.c:218:19: error: 'IEEE80211_CHAN_PASSIVE_SCAN' undeclared (first use in this function)
   if (ch->flags & IEEE80211_CHAN_PASSIVE_SCAN)
                   ^
/var/lib/dkms/rtl8192ee/1.0/build/regd.c: In function '_rtl_reg_apply_radar_flags':
/var/lib/dkms/rtl8192ee/1.0/build/regd.c:283:8: error: 'IEEE80211_CHAN_NO_IBSS' undeclared (first use in this function)
        IEEE80211_CHAN_NO_IBSS |
        ^
/var/lib/dkms/rtl8192ee/1.0/build/regd.c:284:8: error: 'IEEE80211_CHAN_PASSIVE_SCAN' undeclared (first use in this function)
        IEEE80211_CHAN_PASSIVE_SCAN;
        ^
/var/lib/dkms/rtl8192ee/1.0/build/regd.c: In function '_rtl92e_regd_init_wiphy':
/var/lib/dkms/rtl8192ee/1.0/build/regd.c:373:18: error: 'WIPHY_FLAG_CUSTOM_REGULATORY' undeclared (first use in this function)
  wiphy->flags |= WIPHY_FLAG_CUSTOM_REGULATORY;
                  ^
/var/lib/dkms/rtl8192ee/1.0/build/regd.c:374:19: error: 'WIPHY_FLAG_STRICT_REGULATORY' undeclared (first use in this function)
  wiphy->flags &= ~WIPHY_FLAG_STRICT_REGULATORY;
                   ^
/var/lib/dkms/rtl8192ee/1.0/build/regd.c:375:19: error: 'WIPHY_FLAG_DISABLE_BEACON_HINTS' undeclared (first use in this function)
  wiphy->flags &= ~WIPHY_FLAG_DISABLE_BEACON_HINTS;
                   ^
scripts/Makefile.build:318: recipe for target '/var/lib/dkms/rtl8192ee/1.0/build/regd.o' failed
make[1]: *** [/var/lib/dkms/rtl8192ee/1.0/build/regd.o] Error 1
Makefile:1310: recipe for target '_module_/var/lib/dkms/rtl8192ee/1.0/build' failed
make: *** [_module_/var/lib/dkms/rtl8192ee/1.0/build] Error 2
make: Leaving directory '/usr/lib/modules/3.15.2-1-ARCH/build'