[tao-users] a error when compiling Log_Msg.cpp for ace

ryanlee ryanlee730 at 163.com
Wed Oct 19 02:00:36 CDT 2016


ACE/TAO VERSION

       6.0a 2.0a (ACE+TAO-2.0a.tar.gz)

 

HOST MACHINE AND OPERATING SYSTEM

       Windows xp

        cross compile tools: dcc (windriver workbench 3.2 shell)

 

TARGET MACHINE AND OPERATING SYSTEM

       Vxworks 6.8

 

THE $ACE_ROOT /ace/config.h FILE:

       #if defined(_MSC_VER)||(_BORLANDC_)

#include "ace/config-win32.h"

#undef ACE_HAS_EXCEPTIONS

#else

#include “ace/config-vxworks6.8.h”

#define ACE_LACKS_RAND_R

#define ACE_LACK_STD_WSTRING

#define ACE_LACKS_AUTO_PTR

#endif

 

THE $ACE_ROOT/include/makeinclude/platform.macros.GNU FILE:

       TAO_IDL:=$(ACE_ROOT)/bin/tao_idl.exe

       TAO_IDLFLGAS+=-g $(ACE_ROOT) /bin/ace_gperf.exe

       VXWORKS_VESION_FLAG=-DACE_VXWORKS=0x680

       rtp=0

       CPU=PPC32

       TOOL=diab

       inline=1

       probe=0

       profile=0

       fakesvcconf=0

       debug=0

       optimize=0

       shared_libs=1

        include $(ACE_ROOT)/include/makeinclude/platform_vxworks6.8.GNU

 

CONTENTS OF $(ACE_ROOT)/bin/MakeProjectCreator/config/default.features

       N/A

 

AREA/CLASS/EXAMPLE AFFECTED

       error occurs when compiling ace

 

Does THE PROBLEM AFFECT 

       COMPILATION?  yes

       LINKING?    

       EXECUTION?    

       OTHER(please specify)

  

SYNOPSIS

       trying to compile ace after generating all makefiles in ACE_ROOT

       it throws error of when compiling Log_Msg.cpp.

 

DESCRIPTION

       ace_gperf.exe and TAO_IDL.exe are already compiled in $ ACE_ROOT /bin for host system,

       then generate all makefiles in ACE_ROOT, and cd $ ACE_ROOT/ace to compile, however, an error occurs when compiling Log_Msg.cpp as:

       “Log_Msg.cpp”, line 869: error(etoa:4020): identifier “cerr” is undefined

                     this->msg_ostream(ACE_DEFAULT_LOG_STREAM)

      

 

      

Can somebody explain the error and help me? Thank you!

                                                                                                                Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/tao-users/attachments/20161019/44e2b62c/attachment.html>


More information about the tao-users mailing list