Windows MinGW build error BasiliskII

About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
emendelson
Forum All-Star
Posts: 1268
Joined: Tue Oct 14, 2008 12:12 am

Windows MinGW build error BasiliskII

Post by emendelson »

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:

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
SheepShaver produces a similar error. I hope this is easy to fix!
kanjitalk755
Mac Mechanic
Posts: 190
Joined: Thu Nov 09, 2017 12:06 pm

Re: Windows MinGW build error BasiliskII

Post by kanjitalk755 »

Currently, my fork is checked on MSYS2.
It cannot be built with MSYS.
Post Reply