Hi,all
I rebuild the ACE package according the instruction above,but get
the same result.
my platform_macros.GNU file has the following lines:
templates = implicit
include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU
When i rebuild the ACE library,get the following compile errors:
$ make inline=0 -j 2 -k -f GNUmakefile.ACE
....
....
CC -mt -g -DSUN_CC_HAS_PVFC_BUG
-I/export/home/hua/DevTools/ACE_wrappers -DACE_HAS_EXCEPTIONS
-DACE_NO_INLINE -I.. -DACE_HAS_ACE_TOKEN -DACE_HAS_ACE_SVCCONF
-DACE_BUILD_DLL -c -KPIC -o .shobj/OS_NS_sys_stat.o
OS_NS_sys_stat.cpp
"/export/home/hua/DevTools/ACE_wrappers/ace/OS_NS_sys_stat.inl", line
37: Error: fstat(int, stat*) is not a member of ACE_OS.
"/export/home/hua/DevTools/ACE_wrappers/ace/OS_NS_sys_stat.inl", line
120: Error: fstat is not a member of ACE_OS.
"/export/home/hua/DevTools/ACE_wrappers/ace/OS_NS_sys_stat.inl", line
142: Error: "ACE_OS::lstat(const char*, stat*)" was previously
declared "ACE_OS::lstat(const wchar_t*, stat*)".
"/export/home/hua/DevTools/ACE_wrappers/ace/OS_NS_sys_stat.inl", line
163: Error: Formal argument file of type const wchar_t* in call to
ACE_OS::lstat(const wchar_t*, stat*) is being passed char*.
4 Error(s) detected.
CC -mt -g -DSUN_CC_HAS_PVFC_BUG
-I/export/home/hua/DevTools/ACE_wrappers -DACE_HAS_EXCEPTIONS
-DACE_NO_INLINE -I.. -DACE_HAS_ACE_TOKEN -DACE_HAS_ACE_SVCCONF
-DACE_BUILD_DLL -c -KPIC -o .shobj/OS_NS_sys_wait.o
OS_NS_sys_wait.cpp
"/export/home/hua/DevTools/ACE_wrappers/ace/OS_NS_sys_utsname.inl",
line 14: Error: uname(utsname*) is not a member of ACE_OS.
1 Error(s) detected.
make: *** [.shobj/OS_NS_sys_utsname.o] Error 1
CC -mt -g -DSUN_CC_HAS_PVFC_BUG
-I/export/home/hua/DevTools/ACE_wrappers -DACE_HAS_EXCEPTIONS
-DACE_NO_INLINE -I.. -DACE_HAS_ACE_TOKEN -DACE_HAS_ACE_SVCCONF
-DACE_BUILD_DLL -c -KPIC -o .shobj/Reactor.o Reactor.cpp
"/export/home/hua/DevTools/ACE_wrappers/ace/Select_Reactor_T.cpp",
line 1546: Error: fstat is not a member of ACE_OS.
Where: While instantiating
"ACE_Select_Reactor_T<ACE_Select_Reactor_Token_T<ACE_Token>>::check_handles()".
Where: Instantiated from
ACE_Select_Reactor_T<ACE_Select_Reactor_Token_T<ACE_Token>>::ACE_Select_Reactor_T(ACE_Sig_Handler*,
ACE_Timer_Queue_T<ACE_Event_Handler*,
ACE_Event_Handler_Handle_Timeout_Upcall<ACE_Recursive_Thread_Mutex>,
ACE_Recursive_Thread_Mutex>*, int, ACE_Reactor_Notify*, int, int).
"Reactor.cpp", line 59: Where: Instantiated from non-template
code.
1 Error(s) detected.
make: *** [.shobj/Reactor.o] Error 1
When i compile the source with inline enable,i get the same result.
I want to know the reason why fstat(int, stat*) and uname(utsname*)
is not a member of ACE_OS, and other compile errors.
Thanks
Jin