[Ace-users] [ace-users] Building SVN ACE on Mac OS 10.5
Doug McCorkle
mccdo at iastate.edu
Mon Nov 5 23:01:16 CST 2007
On Nov 5, 2007, at 8:12 PM, J.T. Conklin wrote:
> Doug McCorkle <mccdo at iastate.edu> writes:
>
> Hi Doug,
>
> Thanks for the PRF, and the attached config.log.
>
> The problem is the lack of a ACE_HAS_NONCONST_FD_ISSET feature test.
> This shouldn't be difficult to write. The ACE_Handle_Set::is_set()
> code that it's tripping on looks like a good template from which to
> construct such a test.
>
> If you can come up with one, I'll integrate it. Otherwise please file
> a bugzilla issue and it will have to wait until I upgrade to Leopard
> myself.
I was able to get the ACE_HAS_NONCONST_FD_ISSET variable defined and
the configure.ac file and m4 file modified. I know get this compile
error:
Making all in ace
make all-recursive
Making all in .
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -
I../../ACE_wrappers/ace -I../../ACE_wrappers -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 -o
libACE_la-ACE.lo `test -f 'ACE.cpp' || echo '../../ACE_wrappers/
ace/'`ACE.cpp
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -
I../../ACE_wrappers/ace -I../../ACE_wrappers -I.. -DACE_BUILD_DLL -
D_REENTRANT -D_THREAD_SAFE -W -Wall -Wpointer-arith -g -O2 -pipe -O
-MT libACE_la-ACE_crc32.lo -MD -MP -MF .deps/libACE_la-ACE_crc32.Tpo -
c -o libACE_la-ACE_crc32.lo `test -f 'ACE_crc32.cpp' || echo '../../
ACE_wrappers/ace/'`ACE_crc32.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I../../ACE_wrappers/ace -I../../
ACE_wrappers -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_wrappers/ace/ACE.cpp -fno-common -DPIC
-o .libs/libACE_la-ACE.o
g++ -DHAVE_CONFIG_H -I. -I../../ACE_wrappers/ace -I../../
ACE_wrappers -I.. -DACE_BUILD_DLL -D_REENTRANT -D_THREAD_SAFE -W -Wall
-Wpointer-arith -g -O2 -pipe -O -MT libACE_la-ACE_crc32.lo -MD -MP -
MF .deps/libACE_la-ACE_crc32.Tpo -c ../../ACE_wrappers/ace/
ACE_crc32.cpp -fno-common -DPIC -o .libs/libACE_la-ACE_crc32.o
../../ACE_wrappers/ace/OS_NS_signal.h:127: error: 'ACE_SignalHandler'
does not name a type
../../ACE_wrappers/ace/OS_NS_signal.inl: In function 'int
ACE_OS::kill(pid_t, int)':
../../ACE_wrappers/ace/OS_NS_signal.inl:22: error: '::kill' has not
been declared
../../ACE_wrappers/ace/OS_NS_signal.inl: In function 'int
ACE_OS::pthread_sigmask(int, const sigset_t*, sigset_t*)':
../../ACE_wrappers/ace/OS_NS_signal.inl:31: error: '::pthread_sigmask'
has not been declared
../../ACE_wrappers/ace/OS_NS_signal.inl: In function 'int
ACE_OS::sigaction(int, const ACE_SIGACTION*, ACE_SIGACTION*)':
../../ACE_wrappers/ace/OS_NS_signal.inl:68: error: no matching
function for call to 'sigaction::sigaction(int&, ACE_SIGACTION*,
ACE_SIGACTION*&)'
/usr/include/sys/signal.h:309: note: candidates are:
sigaction::sigaction()
/usr/include/sys/signal.h:309: note:
sigaction::sigaction(const sigaction&)
../../ACE_wrappers/ace/OS_NS_signal.inl: In function 'int
ACE_OS::sigaddset(sigset_t*, int)':
../../ACE_wrappers/ace/OS_NS_signal.inl:87: error: 'ACE_NSIG' was not
declared in this scope
../../ACE_wrappers/ace/OS_NS_signal.inl: In function 'int
ACE_OS::sigdelset(sigset_t*, int)':
../../ACE_wrappers/ace/OS_NS_signal.inl:108: error: 'ACE_NSIG' was not
declared in this scope
../../ACE_wrappers/ace/OS_NS_signal.inl: In function 'int
ACE_OS::sigismember(sigset_t*, int)':
../../ACE_wrappers/ace/OS_NS_signal.inl:161: error: 'ACE_NSIG' was not
declared in this scope
../../ACE_wrappers/ace/OS_NS_signal.inl: At global scope:
../../ACE_wrappers/ace/OS_NS_signal.inl:179: error:
'ACE_SignalHandler' does not name a type
../../ACE_wrappers/ace/OS_NS_signal.inl: In function 'int
ACE_OS::sigsuspend(const sigset_t*)':
../../ACE_wrappers/ace/OS_NS_signal.inl:223: error: '::sigsuspend' has
not been declared
../../ACE_wrappers/ace/signal.h: At global scope:
../../ACE_wrappers/ace/signal.h:109: error: expected `)' before
'handler'
../../ACE_wrappers/ace/signal.h:115: error: expected `)' before
'handler'
../../ACE_wrappers/ace/signal.h:124: error: expected `)' before
'handler'
../../ACE_wrappers/ace/signal.h:134: error: expected `)' before
'handler'
../../ACE_wrappers/ace/signal.h:157: error: 'ACE_SignalHandler' has
not been declared
../../ACE_wrappers/ace/signal.h:167: error: 'ACE_SignalHandler' has
not been declared
../../ACE_wrappers/ace/signal.h:212: error: 'ACE_SignalHandler' has
not been declared
../../ACE_wrappers/ace/signal.h:215: error: 'ACE_SignalHandler' does
not name a type
../../ACE_wrappers/ace/os_include/os_sched.h:43: error: 'ACE_UINT32'
does not name a type
/usr/include/c++/4.0.0/i686-apple-darwin9/bits/c++locale.h:60: error:
template with C linkage
I have been unable to determine what is different between the
traditional and autoconf build as to what would cause this build error
under the autoconf build.
Doug
More information about the Ace-users
mailing list