FW: mbstate_t error

Johnny Willemsen jwillemsen at remedy.nl
Mon Oct 16 19:26:37 UTC 2006


Hi,

When building ACE with rtems 4.6.6 we get the error below. Any ideas how to
resolve this? 

Johnny

i386-rtems-gcc --pipe -D_REENTRANT -ansi -fno-builtin -fno-defer-pop
-fvolatile  -W -Wall -O -g   -I/home/build/ACE/rtemstest/ACE_wrappers
-DACE_HAS_EXCEPTIONS -DACE_NO_INLINE -I.. -DACE_AS_STATIC_LIBS
-I/home/build/rtems/i386/i386-rtems/pc586/lib/include
-I/home/build/ACE/rtemstest/ACE_wrappers  -DACE_HAS_EXCEPTIONS
-DACE_NO_INLINE -I.. -DACE_AS_STATIC_LIBS  -c  -o .obj/Log_Msg.o Log_Msg.cpp
In file included from
/home/build/ACE/rtemstest/ACE_wrappers/ace/os_include/os_wchar.h:35,
                 from
/home/build/ACE/rtemstest/ACE_wrappers/ace/OS_NS_wchar.h:28,
                 from Log_Msg.cpp:19:
/opt/rtems-4.6/i386-rtems/include/wchar.h:38: conflicting types for `typedef
   struct _mbstate_t mbstate_t'
/opt/rtems-4.6/lib/gcc-lib/i386-rtems/3.2.3/include/c++/cwchar:65: previous
   declaration as `typedef struct mbstate_t mbstate_t'
make[1]: *** [.obj/Log_Msg.o] Error 1




More information about the users mailing list