找回密码
 用户注册

QQ登录

只需一步,快速开始

查看: 5586|回复: 1

HP-unix下编译ACE出问题,求教!

[复制链接]
发表于 2008-10-6 11:57:54 | 显示全部楼层 |阅读模式
Error 711: "/opt/comp_dev/ACE_wrappers/ace/OS_NS_signal.inl", line 37 # There is no matching declaration for 'int
    sigaction(int,const sigaction *,sigaction *)' in namespace "namespace ACE_OS".
    ACE_OS::sigaction (int signum,
            ^^^^^^^^^            
Error 698: Exact position unknown; near ["/opt/comp_dev/ACE_wrappers/ace/OS_NS_signal.inl", line 64]. # The declarations
    struct sigaction and struct sigaction are both visible and neither is preferred under the name lookup rules.
Error 742: "/opt/comp_dev/ACE_wrappers/ace/OS_NS_signal.inl", line 64 # Source type const sigaction * and target type
    sigaction * in a const_cast can only differ in their qualifiers
      ACE_OSCALL_RETURN (::sigaction (signum,

以上是错误提示,我的配置环境:
aCC :03.55
cc:11.01.21
HP: 11.11.u.9000/800
ACE:5.4
以下是./profile的内容



# Set up the search paths:
        PATH=$PATH:.
        PATH=$PATH:/opt/aCC/bin
# Set up the shell environment:
        set -u
        trap "echo 'logout'" 0

# Set up the shell variables:
        EDITOR=vi
        export EDITOR

#ACE_ROOT
ACE_ROOT=/opt/comp_dev/ACE_wrappers; export ACE_ROOT
LD_LIBRARY_PATH=$ACE_ROOT/ace:$ACE_ROOT/lib;
export LD_LIBRARY_PATH
SHLIB_PATH=$ACE_ROOT/ace;export SHLIB_PATH
发表于 2008-10-6 23:42:30 | 显示全部楼层
感觉还是对照一下ACE版本和OS环境、编译环境的匹配情况。Linux/ Unix和Windows情况不同,Linux/Unix版本众多,环境千差万别,很多问题都是环境引起的。
您需要登录后才可以回帖 登录 | 用户注册

本版积分规则

Archiver|手机版|小黑屋|ACE Developer ( 京ICP备06055248号 )

GMT+8, 2024-12-4 16:00 , Processed in 0.015978 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表