0 votes

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 -s ERROR_ON_UNDEFINED_SYMBOLS=0
warning: _htons may need to be added to EXPORTED
FUNCTIONS 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: *** [bin\godot.javascript.opt.js] Error 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!

in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.