[Ace-users] [tao-Bugs]: Compilation error for tao 1.5.9 on solaris 2 with CC compiler 5.7

prakash.kadam at gmail.com prakash.kadam at gmail.com
Mon Jul 16 07:03:36 CDT 2007


Hi All,
  I am getting following error while compiling TAO with sun CC
compiler on Solaris. Following are the details of problem.

TAO VERSION: 1.5.9
ACE VERSION: 5.5.9
OPERATING SYSTEM: SunOS sahyadri 5.8 Generic_117350-26 sun4u sparc
SUNW,Ultra-Enterprise
TARGET MACHINE: Same as above.
AREA/CLASS/EXAMPLE AFFECTED:
        compilation error for file http_status.cpp
Synopsis: compilation error for tao 1.5.9 on solaris 2 with CC
compiler 5.7

Description:
   Error is as follows:

source='http_status.cpp' object='libHTTPU_la-http_status.lo'
libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../../../aux_config/depcomp \
> /bin/bash ../../../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H -I. -I../../../../apps/JAWS2/HTTPU -I../../../ace
> -I../../../..  -I../../..  -I../../../../apps/JAWS2/HTTPU/..  -DHTTPU_BUILD_DLL   -I/usr/openwin/include -g -mt  -O -c -o
> libHTTPU_la-http_status.lo `test -f 'http_status.cpp' || echo '../../../../apps/JAWS2/HTTPU/'`http_status.cpp
>  CC -DHAVE_CONFIG_H -I. -I../../../../apps/JAWS2/HTTPU -I../../../ace -I../../../.. -I../../.. -I../../../../apps/JAWS2/
> HTTPU/.. -DHTTPU_BUILD_DLL -I/usr/openwin/include -g -mt -O -c ../../../../apps/JAWS2/HTTPU/http_status.cpp  -KPIC -DPIC -o
> .libs/libHTTPU_la-http_status.o
> "../../../../apps/JAWS2/HTTPU/http_status.cpp", line 66: Error: LM_DEBUG is not defined.
> 1 Error(s) detected.
> *** Error code 1
> make: Fatal error: Command failed for target `libHTTPU_la-http_status.lo'


SAMPLE FIX/WORKAROUND:
   I have include Log_Msg.h file in http_status.h.

Please let me know if there is any other appropriate fix for this.



More information about the Ace-users mailing list