Skip to content
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

socket.c:746:2: error: #error get_primary_mac_address is not supported on this platform. #28

Open
hellomanyi opened this issue Nov 18, 2022 · 1 comment

Comments

@hellomanyi
Copy link

I build libimobliedevice-glue in MSYS2(MinGW-w64), on Windows 10;

Error Happend:

$ make
make all-recursive
make[1]: Entering directory '/home/Admin/iOS_Wired_Build/libimobiledevice-glue'
Making all in src
make[2]: Entering directory '/home/Admin/iOS_Wired_Build/libimobiledevice-glue/src'
CC glue.lo
CC socket.lo
socket.c: In function ‘get_primary_mac_address’:
socket.c:746:2: error: #error get_primary_mac_address is not supported on this platform.
746 | #error get_primary_mac_address is not supported on this platform.
| ^~~~~
make[2]: *** [Makefile:484: socket.lo] Error 1
make[2]: Leaving directory '/home/Admin/iOS_Wired_Build/libimobiledevice-glue/src'
make[1]: *** [Makefile:415: all-recursive] Error 1
make[1]: Leaving directory '/home/Admin/iOS_Wired_Build/libimobiledevice-glue'
make: *** [Makefile:347: all] Error 2

anyone can help me ? Thanks

@nikias
Copy link
Member

nikias commented Jun 15, 2024

It should work with MSYS, that's what's also used with Github Actions for this project. Check if config.h has WIN32 defined?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants