LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-22-2009, 04:52 AM   #1
hadimotamedi
Member
 
Registered: Aug 2009
Posts: 228

Rep: Reputation: 30
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
 
Old 08-23-2009, 08:37 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Jessie (Fluxbox WM)
Posts: 1,388
Blog Entries: 52

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Built on Linux. Built on *nix. The OS X application model. drhart4000 Linux - General 2 06-10-2009 04:27 AM
Bug in 8.04, fixed in 8.10 - How to get fixed in 8.04 which is LTS? taylorkh Ubuntu 4 02-28-2009 05:17 PM
Redhat Linux Enterprise 3 AS - Incorrectly built binary which accesses errno or h_err patvejano Linux - Enterprise 0 11-15-2005 11:32 PM
built-to-order PC or ready-built PC from well-known companies? kpachopoulos General 6 11-03-2004 03:14 PM
Binary Built problem Maranello Linux - Newbie 2 12-03-2003 05:24 AM


All times are GMT -5. The time now is 12:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration