Build aarch64-darwin failed (fpsockets.pp Identifier not found "ESysEAGAIN")
Pull the latest code cross, compile error
Compiling .\fcl-net\src\fpsockets.pp
fpsockets.pp(275,41) Error: Identifier not found "ESysEAGAIN"
fpsockets.pp(595,14) Error: Identifier not found "ESysEALREADY"
fpsockets.pp(595,26) Error: Illegal expression
fpsockets.pp(596,17) Error: Identifier not found "ESysEINPROGRESS"
fpsockets.pp(596,32) Error: Illegal expression
fpsockets.pp(597,18) Error: Identifier not found "ESysECONNREFUSED"
fpsockets.pp(597,34) Error: Illegal expression
fpsockets.pp(615,5) Error: Identifier not found "EALREADY"
fpsockets.pp(615,13) Error: Constant Expression expected
fpsockets.pp(616,5) Error: Identifier not found "EINPROGRESS"
fpsockets.pp(616,16) Error: Constant Expression expected
fpsockets.pp(616,16) Error: Duplicate case label
fpsockets.pp(619,5) Error: Identifier not found "ECONNREFUSED"
fpsockets.pp(619,17) Error: Constant Expression expected
fpsockets.pp(619,17) Error: Duplicate case label
fpsockets.pp(1020,10) Error: Identifier not found "cint"
fpsockets.pp(1020,14) Error: Error in type definition
fpsockets.pp(1022,12) Error: Identifier not found "FpFcntl"
fpsockets.pp(1022,32) Error: Identifier not found "F_GetFl"
fpsockets.pp(1024,23) Error: Identifier not found "O_NONBLOCK"
fpsockets.pp(1026,28) Error: Identifier not found "O_NONBLOCK"
fpsockets.pp(1027,3) Error: Identifier not found "FpFcntl"
fpsockets.pp(1027,23) Error: Identifier not found "F_SetFL"
fpsockets.pp(1056,10) Error: Identifier not found "TFDSet"
fpsockets.pp(1056,16) Error: Error in type definition
fpsockets.pp(1058,12) Error: Identifier not found "TTimeVal"
fpsockets.pp(1058,20) Error: Error in type definition
fpsockets.pp(1064,43) Error: Identifier not found "fpFD_ZERO"
fpsockets.pp(1068,45) Error: Identifier not found "fpFD_SET"
fpsockets.pp(1070,11) Error: Illegal qualifier
fpsockets.pp(1071,11) Error: Illegal qualifier
fpsockets.pp(1072,50) Error: Identifier not found "fpselect"
fpsockets.pp(1079,48) Error: Identifier not found "fpFD_ISSET"
fpsockets.pp(1110,10) Error: Identifier not found "cint"
fpsockets.pp(1110,14) Error: Error in type definition
fpsockets.pp(1117,6) Error: Identifier not found "FpIOCtl"
fpsockets.pp(1117,26) Error: Identifier not found "FIONREAD"
fpsockets.pp(1152,18) Error: Identifier not found "ESysECONNREFUSED"
fpsockets.pp(1152,34) Error: Illegal expression
fpsockets.pp(1171,3) Error: Identifier not found "ECONNREFUSED"
fpsockets.pp(1171,15) Error: Constant Expression expected
fpsockets.pp(1245) Fatal: There were 41 errors compiling module, stopping
Fatal: Compilation aborted
The installer encountered the following error:
Compilation of "units\aarch64-darwin\BuildUnit_fcl_net.pp" failed
$00000001000BA819
$00000001000C31FF
$00000001000C39A9
$00000001000C2891
$00000001000C3AD1
$00000001000C6A0A
$00000001000B9851
$00000001000B9F53
$0000000100070B4B
$0000000100071896
$000000010007E910
$0000000100001930
$00007FFEE6967374
$00007FFEE7B1CC91
D:\Design\FreePascal\fpcbootstrap\make.exe: *** [packages_all] Error 2
fpcupdeluxe: ERROR: FPC Cross Installer (BuildModuleCustom: FPC): Running cross compiler fpc D:\Design\FreePascal\fpcbootstrap\make.exe for aarch64-darwin failed with an error code.