Inquiry:Incorrectly built binary.Needs to be fixed.
Dear All
Can you please do me favor and let me know what is the cause of the following error message that I am getting when trying to run my application on my Linux server : "Incorrectly built binary which accesses errno, h_errno or _res directly. Needs to be fixed." Thank you in advance Regards H.Motamedi |
If this is an application written or ported by you, it means that the code has explicitly declared at least one of these (errno, h_errno, or _res), probably using an extern statement. Direct access to these library variables has been deprecated because they do not work properly in a multithreaded context.
This can be dealt with. The 'errno' should be accessed via "#include <errno.h>". The functions to do with h_errno and _res are obsolete; 'getaddrinfo' and 'getnameinfo' should be used instead. |
All times are GMT -5. The time now is 01:20 PM. |