[Ace-users] Re: ACE: Can not be compiled on Mac OS X

EddyXu eddyxu at gmail.com
Mon Oct 1 12:56:48 CDT 2007


Hi,

Thanks for your rapidly answer. But my system is Tiger, which version
10.4.10.

By the way, ACE 5.5.1 works correctly on the machine.

On 10 2 ,   1 48 , schm... at dre.vanderbilt.edu (Douglas C. Schmidt)
wrote:
> Hi,
>
> Thanks for using the PRF.
>
> >ACE VERSION: 5.6.1
>
> >Apple Macbook Core duro 1.8G, 2G RAM, Mac OS X 10.4.10,
> >i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
> >5367)
>
> As per
>
> http://www.dre.vanderbilt.edu/scoreboard/integrated.html
>
> I don't think we support ACE on Darwin, so I recommend you either
> upgrade to Tiger or help port ACE to Darwin.
>
> Thanks,
>
>         Doug
>
>
>
> >    AREA/CLASS/EXAMPLE AFFECTED:
> >   ACE Can not be complied.
>
> >    DOES THE PROBLEM AFFECT:
> >        ACE COMPILATION
>
> >    SYNOPSIS:
> > The compilation of ace failed when:
> > g++ -DHAVE_CONFIG_H -I. -I../../ace -I. -I../.. -I.. -DACE_BUILD_DLL -
> >D_REENTRANT -D_THREAD_SAFE -W -Wall -Wpointer-arith -g -O2 -pipe -O -
> >MT libACE_la- ACE.lo -MD -MP -MF .deps/libACE_la-ACE.Tpo -c ../../ace/
> >ACE.cpp  -fno-common -DPIC -o .libs/libACE_la-ACE.o
>
> >    DESCRIPTION:
> >The error message start by:
>
> > g++ -DHAVE_CONFIG_H -I. -I../../ace -I. -I../.. -I.. -DACE_BUILD_DLL -
> >D_REENTRANT -D_THREAD_SAFE -W -Wall -Wpointer-arith -g -O2 -pipe -O -
> >MT libACE_la- ACE.lo -MD -MP -MF .deps/libACE_la-ACE.Tpo -c ../../ace/
> >ACE.cpp  -fno-common -DPIC -o .libs/libACE_la-ACE.o
> >../../ace/OS_NS_signal.h:67: error: 'siginfo_t' has not been declared
> >../../ace/OS_NS_signal.inl: In function 'int ACE_OS::kill(pid_t,
> >int)':
> >../../ace/OS_NS_signal.inl:22: error: '::kill' has not been declared
> >../../ace/OS_NS_signal.inl: In function 'int
> >ACE_OS::pthread_sigmask(int, const sigset_t*, sigset_t*)':
> >../../ace/OS_NS_signal.inl:31: error: '::pthread_sigmask' has not been
> >declared
> >../../ace/OS_NS_signal.inl: In function 'int ACE_OS::sigaction(int,
> >const ACE_SIGACTION*, ACE_SIGACTION*)':
> >../../ace/OS_NS_signal.inl:73: error: invalid use of undefined type
> >'struct sigaction'
> >../../ace/OS_NS_signal.h:87: error: forward declaration of 'struct
> >sigaction'
> >../../ace/OS_NS_signal.inl: In function 'int
> >ACE_OS::sigaddset(sigset_t*, int)':
> >../../ace/OS_NS_signal.inl:95: error: '::sigaddset' has not been
> >declared
> >../../ace/OS_NS_signal.inl: In function 'int
> >ACE_OS::sigdelset(sigset_t*, int)':
> >../../ace/OS_NS_signal.inl:116: error: '::sigdelset' has not been
> >declared
> >../../ace/OS_NS_signal.inl: In function 'int
> >ACE_OS::sigemptyset(sigset_t*)':
> >../../ace/OS_NS_signal.inl:132: error: '::sigemptyset' has not been
> >declared
> >../../ace/OS_NS_signal.inl: In function 'int
> >ACE_OS::sigfillset(sigset_t*)':
> >../../ace/OS_NS_signal.inl:148: error: '::sigfillset' has not been
> >declared
> >../../ace/OS_NS_signal.inl: In function 'int
> >ACE_OS::sigismember(sigset_t*, int)':
> >../../ace/OS_NS_signal.inl:175: error: '::sigismember' has not been
> >declared
> >../../ace/OS_NS_signal.inl: In function 'void (* ACE_OS::signal(int,
> >void (*)(int)))(int)':
> >../../ace/OS_NS_signal.inl:187: error: '::signal' has not been
> >declared
> >../../ace/OS_NS_signal.inl: In function 'int ACE_OS::sigprocmask(int,
> >const sigset_t*, sigset_t*)':
> >../../ace/OS_NS_signal.inl:208: error: '::sigprocmask' has not been
> >declared
> >../../ace/OS_NS_signal.inl: In function 'int ACE_OS::sigsuspend(const
> >sigset_t*)':
> >../../ace/OS_NS_signal.inl:223: error: '::sigsuspend' has not been
> >declared
> >../../ace/signal.h: At global scope:
> >../../ace/signal.h:32: error: 'siginfo_t' has not been declared
> >../../ace/signal.h:225: error: field 'sa_' has incomplete type
> >../../ace/os_include/os_sched.h:43: error: 'ACE_UINT32' does not name
> >a type
> >...
>
> >    REPEAT BY:
> >   cd /path/to/ace
> >   mkdir build && cd build
> >  ../configure
> >  make
>
> --
> Dr. Douglas C. Schmidt                       Professor and Associate Chair
> Electrical Engineering and Computer Science  TEL: (615) 343-8197
> Vanderbilt University                        WEB:www.dre.vanderbilt.edu/~schmidt
> Nashville, TN 37203                          NET: d.schm... at vanderbilt.edu




More information about the Ace-users mailing list