[ace-bugs] BUG: "bin/mwc.pl -type gnuace TAO/TAO_ACE.mwc" does not generate GNUMakefile

  • Follow


--001517473594acdeff049f86f84d
Content-Type: text/plain; charset=ISO-8859-1

To: tao-bugs@list.isis.vanderbilt.edu
Subject: [area]: [synopsis]

    TAO VERSION: 2.0.1
    ACE VERSION: 6.0.1

    HOST MACHINE and OPERATING SYSTEM:

   Ubuntu 804-64bits




    TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
    COMPILER NAME AND VERSION (AND PATCHLEVEL):

    THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
    specific file, simply state which one]:
    @echo '#include "ace/config-linux.h"' > $(ACE_ROOT)/ace/config.h



    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
    use a link to a platform-specific file, simply state which one
    (unless this isn't used in this case, e.g., with Microsoft Visual
    C++)]:
    @echo  'CCFLAGS += $(ace_CCFLAGS) ' >
$(ACE_ROOT)/include/makeinclude/platform_macros.GNU
    @echo  'CFLAGS += $(ace_CFLAGS) ' >>
$(ACE_ROOT)/include/makeinclude/platform_macros.GNU
    @echo  'optimize = 0' >>
$(ACE_ROOT)/include/makeinclude/platform_macros.GNU
    @echo  'include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU' >>
$(ACE_ROOT)/include/makeinclude/platform_macros.GNU


    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
    (used by MPC when you generate your own makefiles):
    @echo  '' > $(ACE_ROOT)/bin/MakeProjectCreator/config/default.features

    AREA/CLASS/EXAMPLE AFFECTED:
[What example failed?  What module failed to compile?]

Completed creation of build/linux-host/.
make[6]: *** No targets specified and no makefile found.  Stop.



    DOES THE PROBLEM AFFECT:
        COMPILATION?
        yes


[Please indicate whether ACE/TAO, your application, or both are affected.]

    SYNOPSIS:
[Brief description of the problem]

Then I use mwc.pl to configure the project like the following:
    @cd $(ace_SRC) ; \
    export ACE_ROOT=`pwd` ; export  TAO_ROOT=`pwd`/TAO ;  export
LD_LIBRARY_PATH=`pwd`/ace ;\
    bin/mwc.pl -type gnuace TAO/TAO_ACE.mwc; \
    bin/create_ace_build linux-host ; \
    cd build/linux-host ; \
    export ACE_ROOT=`pwd` ; export  TAO_ROOT=`pwd`/TAO ;  export
LD_LIBRARY_PATH=`pwd`/ace ;  export CC=$(CC) ;  export CXX=$(CXX); \
    make -C ace && make -C apps/gperf/src &&  make -C TAO/TAO_IDL

But I got the failed message:

Completed creation of build/linux-host/.
make[6]: *** No targets specified and no makefile found.  Stop.


It seems that " bin/mwc.pl -type gnuace TAO/TAO_ACE.mwc" does not generate
GNUMakefile.


Does anyone have any idea?

Thanks,
Pierce.

--001517473594acdeff049f86f84d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

To: <a href=3D"mailto:tao-bugs@list.isis.vanderbilt.edu">tao-bugs@list.isis=
..vanderbilt.edu</a><br>Subject: [area]: [synopsis]<br><br>=A0=A0=A0 TAO VER=
SION: 2.0.1<br>=A0=A0=A0 ACE VERSION: 6.0.1<br><br>=A0=A0=A0 HOST MACHINE a=
nd OPERATING SYSTEM:<br>
<pre>=A0 =A0Ubuntu 804-64bits</pre>=A0=A0=A0=A0=A0=A0 <br><br><br>=A0=A0=A0=
 TARGET MACHINE and OPERATING SYSTEM, if different from HOST:<br>=A0=A0=A0 =
COMPILER NAME AND VERSION (AND PATCHLEVEL):<br><br>=A0=A0=A0 THE $ACE_ROOT/=
ace/config.h FILE [if you use a link to a platform-<br>
=A0=A0=A0 specific file, simply state which one]:<br>=A0=A0=A0 @echo &#39;#=
include &quot;ace/config-linux.h&quot;&#39; &gt; $(ACE_ROOT)/ace/config.h<b=
r><br><br><br>=A0=A0=A0 THE $ACE_ROOT/include/makeinclude/platform_macros.G=
NU FILE [if you<br>
=A0=A0=A0 use a link to a platform-specific file, simply state which one<br=
>=A0=A0=A0 (unless this isn&#39;t used in this case, e.g., with Microsoft V=
isual<br>=A0=A0=A0 C++)]:<br>=A0=A0=A0 @echo=A0 &#39;CCFLAGS +=3D $(ace_CCF=
LAGS) &#39; &gt; $(ACE_ROOT)/include/makeinclude/platform_macros.GNU<br>

=A0=A0=A0 @echo=A0 &#39;CFLAGS +=3D $(ace_CFLAGS) &#39; &gt;&gt; $(ACE_ROOT=
)/include/makeinclude/platform_macros.GNU<br>
=A0=A0=A0 @echo=A0 &#39;optimize =3D 0&#39; &gt;&gt; $(ACE_ROOT)/include/ma=
keinclude/platform_macros.GNU<br>
=A0=A0=A0 @echo=A0 &#39;include $(ACE_ROOT)/include/makeinclude/platform_li=
nux.GNU&#39;=20
&gt;&gt; $(ACE_ROOT)/include/makeinclude/platform_macros.GNU<br><br><br>=A0=
=A0=A0 CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features=
<br>=A0=A0=A0 (used by MPC when you generate your own makefiles):<br>

=A0=A0=A0 @echo=A0 &#39;&#39; &gt; $(ACE_ROOT)/bin/MakeProjectCreator/confi=
g/default.features<br>

<br>=A0=A0=A0 AREA/CLASS/EXAMPLE AFFECTED:<br>[What example failed?=A0 What=
 module failed to compile?]<br><br><pre><font size=3D"2">Completed creation=
 of build/linux-host/.<br>make[6]: *** No targets specified and no makefile=
 found.  Stop.</font><br>
</pre><br><br>=A0=A0=A0 DOES THE PROBLEM AFFECT:<br>=A0=A0=A0=A0=A0=A0=A0 C=
OMPILATION? <br>=A0=A0=A0=A0=A0=A0=A0 yes<br><br><br>[Please indicate wheth=
er ACE/TAO, your application, or both are affected.]<br><br>=A0=A0=A0 SYNOP=
SIS:<br>[Brief description of the problem]<br>
<br>Then I use <a href=3D"http://mwc.pl">mwc.pl</a> to configure the projec=
t like the following:<br>=A0=A0=A0 @cd $(ace_SRC) ; \<br>=A0=A0=A0 export A=
CE_ROOT=3D`pwd` ; export=A0 TAO_ROOT=3D`pwd`/TAO ;=A0 export LD_LIBRARY_PAT=
H=3D`pwd`/ace ;\<br>
=A0=A0=A0 bin/<a href=3D"http://mwc.pl">mwc.pl</a> -type gnuace TAO/TAO_ACE=
..mwc; \<br>=A0=A0=A0 bin/create_ace_build linux-host ; \<br>=A0=A0=A0 cd bu=
ild/linux-host ; \<br>=A0=A0=A0 export ACE_ROOT=3D`pwd` ; export=A0 TAO_ROO=
T=3D`pwd`/TAO ;=A0 export LD_LIBRARY_PATH=3D`pwd`/ace ;=A0 export CC=3D$(CC=
) ;=A0 export CXX=3D$(CXX); \<br>
=A0=A0=A0 make -C ace &amp;&amp; make -C apps/gperf/src &amp;&amp;=A0 make =
-C TAO/TAO_IDL <br><br>But I got the failed message:<br>
<pre><font size=3D"2">Completed creation of build/linux-host/.<br>make[6]: =
*** No targets specified and no makefile found.  Stop.</font><br></pre>
<br>It seems that &quot; bin/<a href=3D"http://mwc.pl">mwc.pl</a> -type gnu=
ace TAO/TAO_ACE.mwc&quot; does not generate GNUMakefile.<br><br><br>Does an=
yone have any idea?<br><br>Thanks,<br>Pierce.<br><br>

--001517473594acdeff049f86f84d--
0
Reply liu 3/28/2011 8:45:53 AM


0 Replies
167 Views

(page loaded in 0.032 seconds)

Similiar Articles:




7/25/2012 11:52:44 PM


Reply: