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 |