Windows MinGW build error BasiliskII
Posted: Mon Feb 08, 2021 8:11 pm
This for kanjitalk755. I tried to build the current code in MinGW under 64-bit Windows 10 but got this error from the "make" command:
SheepShaver produces a similar error. I hope this is easy to fix!
Code: Select all
ether_windows.cpp: In function 'int slirp_add_redir(const char*)':
ether_windows.cpp:1716:5: error: 'inet_pton' was not declared in this scope
!inet_pton(AF_INET, CTL_LOCAL, &guest_addr) :
^~~~~~~~~
ether_windows.cpp:1716:5: note: suggested alternative: 'inet_aton'
!inet_pton(AF_INET, CTL_LOCAL, &guest_addr) :
^~~~~~~~~
inet_aton
make: *** [obj/ether_windows.o] Error 1