[Ace-users] Re: [ace-bugs] /apps/JAWS2/HTTPU/http_status.cpp", line 66: Error: LM_DEBUG is not defined

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Thu Jun 28 06:24:10 CDT 2007


Hi Venkat,

> it worked, i have resolved similar problems in following files
>  
> "/examples/Reactor/TP_Reactor/ReadHandler.cpp"
>  
> "/examples/Reactor/TP_Reactor/AcceptHandler.cpp"

Could you please send us patches based on the ACE 5.5.9 baseline (which
was just released).

> Thanks again , but now am facing a different kind of problem while running make in tests , which i will raise using PRF.

Thanks very much,

Doug

> thanks a lot ACE group
>  
> regards
>  Venkat
>  
> On 6/26/07, Douglas C. Schmidt <schmidt at dre.vanderbilt.edu> wrote:
> 
>     Hi Venkat,
>    
>       Thanks for reporting this and for using the PRF.  Here's what I've done:
>    
>     Tue Jun 26 13:48:26 UTC 2007  Douglas C. Schmidt  <schmidt at dre.vanderbilt.edu>
>    
>            * apps/JAWS2/HTTPU/http_status.cpp: Added
>    
>              #include "ace/Log_Msg.h"
>    
>              so the ACE_DEBUG macro would be visible.  Thanks to Venkat
>              Forums <venkat dot forums at gmail dot com> for reporting this.
>    
>     Can you please try adding this #include at the top of http_status.cpp
>     and let me know if that solves the problem?
>    
>     Thanks,
>    
>     Doug
>    
>     >Subject: /apps/JAWS2/HTTPU/http_status.cpp", line 66: Error: LM_DEBUG is not
>     >defined
>     >
>     >    ACE VERSION: 5.5.8
>     >
>     >    HOST MACHINE and OPERATING SYSTEM:
>     >    SunOS Sunx86 5.9 Generic_118559-11 i86pc i386 i86pc
>     >
>     >    TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
>     >    COMPILER NAME AND VERSION (AND PATCHLEVEL):
>     >
>     >     CC: Sun C++ 5.8 2005/10/13
>     >
>     >    THE $ACE_ROOT/ace/config.h FILE :
>     >
>     >    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE :
>     >
>     >    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
>     >    (used by MPC when you generate your own makefiles):
>     >
>     >    AREA/CLASS/EXAMPLE AFFECTED: JAWS2/HTTPU/http_status.cpp
>     >
>     >    DOES THE PROBLEM AFFECT:
>     >
>     >        COMPILATION? yes
>     >
>     >        yes , i have ran make clean
>     >
>     >  only ACE
>     >
>     >    SYNOPSIS:
>     >
>     >while build the ACE-5.5.8 its failing to compile JAWS2/HTTPU/http_status.cpp
>     >file throwing
>     >"line 66: Error: LM_DEBUG is not defined"
>     >
>     >    DESCRIPTION:
>     >[Detailed description of problem.  Don't just say "<blah>
>     >doesn't work, here's a fix," explain what your program does
>     >to get to the <blah> state. ]
>     >
>     >CC -DHAVE_CONFIG_H -I. -I../../../../apps/JAWS2/HTTPU -I../../../ace
>     >-I../../../.. -I../../.. -I../../../../apps/JAWS2/HTTPU/.. -DHTTPU_BUILD_DLL
>     >-I/Techstack/CA-OpenSSL_0.9.8_SunOS_i386_5.10/include -mt -O -c
>     >../../../../apps/JAWS2/HTTPU/http_response.cpp  -KPIC -DPIC -o
>     >.libs/libHTTPU_la-http_response.o
>     >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/Techstack/CA-OpenSSL_0.9.8_SunOS_i386_5.10/include -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/Techstack/CA-OpenSSL_0.9.8_SunOS_i386_5.10/include -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'
>     >Current working directory /Techstack/ACE-5.5.8
>     >/ACE_wrappers/build/apps/JAWS2/HTTPU
>     >*** Error code 1
>     >make: Fatal error: Command failed for target `all-recursive'
>     >Current working directory /Techstack/ACE- 5.5.8/ACE_wrappers/build/apps/JAWS2
>     >*** Error code 1
>     >make: Fatal error: Command failed for target `all-recursive'
>     >Current working directory /Techstack/ACE-5.5.8/ACE_wrappers/build/apps
>     >*** Error code 1
>     >make: Fatal error: Command failed for target `all-recursive'
>     >bash-2.05# clear
>     >
>     >------=_Part_5496_28696675.1182865188486
>     >Content-Type: text/html; charset=ISO-8859-1
>     >Content-Transfer-Encoding: 7bit
>     >Content-Disposition: inline
>     >
>     ><p>To: <a href="mailto:ace-bugs at cs.wustl.edu">ace-bugs at cs.wustl.edu </a><br>Subject: /apps/JAWS2/HTTPU/http_status.cpp
>     &quot;, line 66: Error: LM_DEBUG is not defined</p>
>     ><p>&nbsp;&nbsp;&nbsp; ACE VERSION: 5.5.8</p>
>     ><p>&nbsp;&nbsp;&nbsp; HOST MACHINE and OPERATING SYSTEM:&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; SunOS Sunx86 5.9
>     Generic_118559-11 i86pc i386 i86pc<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; TARGET MACHINE
>     and OPERATING SYSTEM, if different from HOST:<br>&nbsp;&nbsp;&nbsp; COMPILER NAME AND VERSION (AND PATCHLEVEL):
>     ><br>&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; CC: Sun C++ 5.8 2005/10/13</p>
>     ><p>&nbsp;&nbsp;&nbsp; THE $ACE_ROOT/ace/config.h FILE :&nbsp; </p>
>     ><p>&nbsp;&nbsp;&nbsp; THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE : </p>
>     ><p>&nbsp;&nbsp;&nbsp; CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features<br>&nbsp;&nbsp;&nbsp; (used
>     by MPC when you generate your own makefiles):</p>
>     ><p>&nbsp;&nbsp;&nbsp; AREA/CLASS/EXAMPLE AFFECTED: JAWS2/HTTPU/http_status.cpp</p>
>     ><p>&nbsp;&nbsp;&nbsp; DOES THE PROBLEM AFFECT:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&
>     nbsp;&nbsp;&nbsp;&nbsp; COMPILATION? yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&
>     nbsp;&nbsp;&nbsp; yes , i have ran make clean</p>
>     ><p>&nbsp; only ACE</p>
>     ><p>&nbsp;&nbsp;&nbsp; SYNOPSIS:</p>
>     ><p>while build the ACE-5.5.8 its failing to compile JAWS2/HTTPU/http_status.cpp file throwing <br>&quot;line 66:
>     Error: LM_DEBUG is not defined&quot;</p>
>     ><p>&nbsp;&nbsp;&nbsp; DESCRIPTION:<br>[Detailed description of problem.&nbsp; Don&#39;t just say &quot;&lt;blah&gt;
>     <br>doesn&#39;t work, here&#39;s a fix,&quot; explain what your program does<br>to get to the &lt;blah&gt; state. ]</p>
>     ><p>CC -DHAVE_CONFIG_H -I. -I../../../../apps/JAWS2/HTTPU -I../../../ace -I../../../.. -I../../.. -I../../../../apps/
>     JAWS2/HTTPU/.. -DHTTPU_BUILD_DLL -I/Techstack/CA-OpenSSL_0.9.8_SunOS_i386_5.10/include -mt -O -c ../../../../apps/JAWS2
>     /HTTPU/http_response.cpp&nbsp; -KPIC -DPIC -o .libs/libHTTPU_la-http_response.o
>     ><br>source=&#39;http_status.cpp&#39; object=&#39;libHTTPU_la-http_status.lo&#39; libtool=yes \<br>DEPDIR=.deps depmode
>     =none /bin/bash ../../../../aux_config/depcomp \<br>/bin/bash ../../../libtool --tag=CXX --mode=compile CC
>     -DHAVE_CONFIG_H -I. -I../../../../apps/JAWS2/HTTPU -I../../../ace&nbsp; -I../../../..&nbsp; -I../../..&nbsp; -I../../..
>     /../apps/JAWS2/HTTPU/..&nbsp; -DHTTPU_BUILD_DLL&nbsp;&nbsp; -I/Techstack/CA-OpenSSL_0.9.8_SunOS_i386_5.10/include -mt&
>     nbsp; -O -c -o libHTTPU_la-http_status.lo `test -f &#39;http_status.cpp&#39; || echo &#39;../../../../apps/JAWS2/HTTPU/
>     &#39;`http_status.cpp
>     ><br>&nbsp;CC -DHAVE_CONFIG_H -I. -I../../../../apps/JAWS2/HTTPU -I../../../ace -I../../../.. -I../../.. -I../../../../
>     apps/JAWS2/HTTPU/.. -DHTTPU_BUILD_DLL -I/Techstack/CA-OpenSSL_0.9.8_SunOS_i386_5.10/include -mt -O -c ../../../../apps/
>     JAWS2/HTTPU/http_status.cpp&nbsp; -KPIC -DPIC -o .libs/libHTTPU_la-http_status.o
>     ><br>&quot;../../../../apps/JAWS2/HTTPU/http_status.cpp&quot;, line 66: Error: LM_DEBUG is not defined.<br>1 Error(s)
>     detected.<br>*** Error code 1<br>make: Fatal error: Command failed for target `libHTTPU_la-http_status.lo&#39;
>     ><br>Current working directory /Techstack/ACE-5.5.8/ACE_wrappers/build/apps/JAWS2/HTTPU<br>*** Error code 1<br>make:
>     Fatal error: Command failed for target `all-recursive&#39;<br>Current working directory /Techstack/ACE- 5.5.8
>     >/ACE_wrappers/build/apps/JAWS2<br>*** Error code 1<br>make: Fatal error: Command failed for target `all-recursive&#39;
>     <br>Current working directory /Techstack/ACE-5.5.8/ACE_wrappers/build/apps<br>*** Error code 1<br>make: Fatal error:
>     Command failed for target `all-recursive&#39;
>     ><br>bash-2.05# clear</p>
>     >
>     >------=_Part_5496_28696675.1182865188486--
>     >
> 
>     --
>     Dr. Douglas C. Schmidt                       Professor and Associate Chair
>     Electrical Engineering and Computer Science  TEL: (615) 343-8197
>     Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
>     Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu
> 



More information about the Ace-users mailing list