在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 3902|回复: 7

请教DC2004.12启动时的错误信息

[复制链接]
发表于 2006-9-15 21:58:18 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
运行lmgrd -c /path/to/license.dat
总是会出现这个错误
Incorrectly built binary which accesses errno, h_errno or _res directly. Needs to be fixed
但是DC2004.12可以正常启动,Astro也可以启动,但是图形界面出现之前,也是
这么一段报错,请问高手这个到底是什么原因呢?
发表于 2009-1-29 16:19:03 | 显示全部楼层
操作系统的版本问题 没关系
发表于 2009-1-29 16:20:21 | 显示全部楼层
错误:Incorrectly built binary which accesses errno, h_errno or _res directly. Needs
to be fixed.
我找到了,以下说明应该时问题原因
Bug 89286 - Binary compatibility broken: Incorrectly built binary which accesses errno, h_errno or _res directly.
Bug#: 89286   Product: Red Hat Linux   Version: 9   Platform: i686  
OS/Version: Linux   Status: CLOSED   Severity: high   Priority: normal  
Resolution: NOTABUG   Assigned To: jakub@redhat.com   Reported By: pf@artcom-gmbh.de   QA Contact: bbrock@redhat.com  
Component: glibc   
URL:   
Summary: Binary compatibility broken: Incorrectly built binary which accesses errno, h_errno or _res directly.  
Keywords:   
Status Whiteboard:   
Description:
发表于 2009-1-29 16:21:32 | 显示全部楼层
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
When trying to run binaries compiled on a rather old Linux system,
these binaries output the following message on file descriptor
'stdout':
"Incorrectly built binary which accesses errno, h_errno or _res directly."
Since some of these binaries are used as filters, this message
obviously destroys the standard output stream.
The vendor refuses to recompile his software, since he wants to
keep binary compatibility with older systems, since some of the
customers are refusing to upgrade their operating systems.
发表于 2009-1-29 16:22:44 | 显示全部楼层
Is there a way to turn off this message or to redirect it to
'stderr' instead?   Setting the environment
variable "LD_ASSUME_KERNEL" to value "2.2.5" didn't help.
Version-Release number of selected component (if applicable):
glibc-2.3.2-11.9
How reproducible:
Always
Steps to Reproduce:
Obviously you need this binary product.
If you have one, reproducing is simple   Even running any binary
with --help shows the messages.
发表于 2009-1-29 16:23:56 | 显示全部楼层
Actual Results:   The string "Incorrectly built binary which accesses errno,
h_errno or _res directly." appaears on stdout before any of the programs in
question starts up.
Expected Results:   The message should not appear or at least should appear on
'stderr'
instead.
Additional info:
The same applications are used to run fine on Red Hat 5.2 up to and
including Red Hat 8.0, SuSE Linux 6.2 up to and including the
recently released SuSE Linux 8.2 and on Mandrake 8.2, 9.0 and 9.1.
发表于 2009-1-29 16:27:07 | 显示全部楼层
------- Additional Comment #2 From Patrick Melo on 2003-05-15 19:55 -------
I think Peter's point is still a valid description of an erroneous warning.  
1. "The standard clearly says that errno can be a macro and since at least
1996 this is the case in glibc."   The 1995 POSIX std and the C language std do
NOT say errno MUST be a macro.  
2. While it seems to make sense to report this error in conjunction with
threading, is there a reason to NOT support errno as an int on an older (non
threaded) application.   What is the reason for losing compatibility with older
non threaded code?   Why did this become such a critical change that it
requires a warning message.   It causes large sections of code that once ran to
become unusable.   The 1990 spec was loosened, not discarded.
发表于 2009-1-29 16:28:12 | 显示全部楼层
Reason:
I have just spammed our local LUG list with some 100 copies of a message because
QMail/serialmail MALFUNCTIONED by not removing already delivered email.
Recompiling the affected programs after fixing the include errno.h fixed
that problem.
Again: this API Change obviously CAN BE HARMFUL, so just letting the program run
is not that good an idea.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

×

小黑屋| 手机版| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-11-22 08:52 , Processed in 0.021261 second(s), 6 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表