-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to compile on macOS #1
Comments
The purpose of this project is to build a wpa_supplicant for OS X so that we can continue to use RTL8188* wireless adapters after Apple drops support for 32 bit apps (the app that comes with this adapter is 32 bit). That saying, here's a brief description of how you can compile wpa_supplicant (for the above driver only) on macOS: In /src/drivers/drivers.mak add the following lines to enable ifdef CONFIG_DRIVER_OSX
DRV_CFLAGS += -DCONFIG_DRIVER_OSX
DRV_OBJS += ../src/drivers/driver_osx_other.o
NEED_DRV_WIRED_COMMON=0
endif Comment out the following lines in /wpa_supplicant/Makefile: echo CONFIG_DRIVER_HOSTAP=y >> .config
echo CONFIG_DRIVER_WEXT=y >> .config And the .config file to be copied at /wpa_supplicant. |
thank u, it works for me! 👍 |
I got error:
Searched this error and knew that #define iphdr ip |
@aleung Did you follow #1 (comment) properly? This error shouldn't occur. |
Hi Muntashir,
I am a newcomer in macOS and interested in this project. When i download the whole code and
make
it, too many error occur to me,for example
netpacket/packet.h not found
, and i know packet.h is in Linux.Do I need to modify 'configure' or other config files? How can i success to compile it on macOS?
Thanks a lot!
The text was updated successfully, but these errors were encountered: