compile error buglet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I’m guessing not too many people have stumbled on this else
it would have been reported & fixed.

My initial build of eapol_test did not define CONFIG_IEEE8021X_EAPOL
and resulted in the these errors.

eapol_test.c:637:32: error: no member named 'eap_workaround' in
      'struct wpa_ssid'
        eapol_conf.workaround = ssid->eap_workaround;
                                ~~~~  ^
eapol_test.c:639:46: error: no member named 'eap' in 'struct wpa_ssid'
        eapol_sm_notify_config(wpa_s->eapol, &ssid->eap, &eapol_conf);


The errors went away after I wrapped each of these lines within
    #ifdef IEEE8021X_EAPOL
    #endif /* IEEE8021X_EAPOL */
to match the structure definition in config_ssid.h.

Defining CONFIG_IEEE8021X_EAPOL=y also resulted in a successful compile.

FWIW OracleLinux 7 aka RHEL7, Clang 3.7.1, wpa_supplicant-2.5.tar.gz


cheers
Danny Thomas



_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux