Hello, this is the error I´m getting (after half an hour of succesful compiling):
em++: warning: EXTRAEXPORTEDRUNTIMEMETHODS is deprecated, please use EXPORTEDRUNTIMEMETHODS instead [-Wdeprecated]
error: undefined symbol: htons (referenced by $inetPton6deps: ['htons','$jstoi_q'], referenced by $writeSockaddrdeps: ['$Sockets','$inetPton4','$inetPton6'], referenced by sys_accept4deps: ['$getSocketFromFD','$writeSockaddr','$DNS','$SYSCALLS'], referenced by top-level compiled C/C++ code)
warning: Link with
-s LLD_REPORT_UNDEFINED to get more information on undefined symbols
warning: To disable errors for undefined symbols use
warning: _htons may need to be added to EXPORTEDFUNCTIONS if it arrives from a system library
error: undefined symbol: ntohs (referenced by $inetNtop6deps: ['$inetNtop4','ntohs'], referenced by $readSockaddrdeps: ['$Sockets','$inetNtop4','$inetNtop6','ntohs'], referenced by $getSocketAddressdeps: ['$readSockaddr'], referenced by __sys_binddeps: ['$getSocketFromFD','$getSocketAddress','$SYSCALLS'], referenced by top-level compiled C/C++ code)
warning: _ntohs may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
Error: Aborting compilation due to previous errors
em++: error: 'C:/Users/alebn/Downloads/emsdk/node/14.15.5_64bit/bin/node.exe C:\Users\alebn\Downloads\emsdk\upstream\emscripten\src\compiler.js C:\Temp\tmphmz7g2xm.txt' failed (1)
scons: building terminated because of errors.
Can anybody help me to understand why this happens? I´ve looking all around in the web, without any success... Thanks!