Multiple Compilation Failures on OpenBSD

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

 



Hello,

I am attempting to compile a recent version of wpa_supplicant on OpenBSD 7.3 to be used as an 802.1X client. After removing "#include <net/ethernet.h>" from the wpa_supplicant/ctrl_iface.c file (to match the current OpenBSD patches), gmake fails to compile the OpenBSD driver with the following error:

../src/drivers/driver_openbsd.c:98:1: error: function definition is not allowed here
{
^
../src/drivers/driver_openbsd.c:122:1: error: function definition is not allowed here
{
^
../src/drivers/driver_openbsd.c:137:10: error: use of undeclared identifier 'wpa_driver_openbsd_init'; did you mean 'wpa_driver_openbsd_ops'?
        .init = wpa_driver_openbsd_init,
                ^~~~~~~~~~~~~~~~~~~~~~~
                wpa_driver_openbsd_ops
../src/drivers/driver_openbsd.c:130:29: note: 'wpa_driver_openbsd_ops' declared here
const struct wpa_driver_ops wpa_driver_openbsd_ops = {
                            ^
../src/drivers/driver_openbsd.c:138:12: error: use of undeclared identifier 'wpa_driver_openbsd_deinit'
        .deinit = wpa_driver_openbsd_deinit,
                  ^
../src/drivers/driver_openbsd.c:139:3: error: expected '}'
};
  ^
../src/drivers/driver_openbsd.c:73:1: note: to match this '{'
{
^
5 errors generated.
gmake: *** [../src/build.rules:86: hostap/build/wpa_supplicant/src/drivers/driver_openbsd.o] Error 1



I don't necessarily need to use the OpenBSD driver, since I only use wpa_supplicant for 802.1X authentication on a wired interface (i.e. the wired driver) but removing references to the OpenBSD driver just creates more errors.

Any assistance would be greatly appreciated, I am not able to access the Internet without wpa_supplicant.

_______________________________________________
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