problem with make

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

problem with make

Deyesta
Hello,
I trying to compile a new project using opendds generation system.
I get the following error when I  use make :
make[1]: Entering directory 'blurred/OpenDDS-3.13/java/tests/onMyOwn'
GNUmakefile.OnMyOwn:308: *** multiple target patterns.  Stop.
make[1]: Leaving directory 'blurred/OpenDDS-3.13/java/tests/onMyOwn'
GNUmakefile:35: recipe for target 'OnMyOwn' failed
make: *** [OnMyOwn] Error 2
here is a copy of line 308 :
OnMyOwnTypeSupportImpl.h OnMyOwnTypeSupport.idl
OnMyOwn:onMyOwnTypeSupportImpl.java OnMyOwnTypeSupportImpl.cpp: OnMyOwn.idl
$(subst $(SPACE),\$(SPACE),$(call ADD_ARCH,$(OPENDDS_IDL_DEP))) $(call
ADD_ARCH,../../../dds/idl/IDLTemplate.txt)
        $(if $(findstring ",$(OPENDDS_IDL)),$(OPENDDS_IDL),$(call ADD_QUOTE,$(call
ADD_ARCH,$(OPENDDS_IDL)))) -Sa -St -Wb,java -Wb,export_macro=OnMyOwn_Export
OnMyOwn.idl
I'll appreciate any help and will provide more intel on this if needed.



--
Sent from: http://gnu-make.2324884.n4.nabble.com/Gnu-Make-Help-f4559.html

_______________________________________________
Help-make mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-make
Reply | Threaded
Open this post in threaded view
|

Re: problem with make

Paul Smith-20
On Tue, 2018-10-23 at 10:07 -0500, Deyesta wrote:
> OnMyOwnTypeSupportImpl.h OnMyOwnTypeSupport.idl OnMyOwn:onMyOwnTypeSupportImpl.java OnMyOwnTypeSupportImpl.cpp:
> OnMyOwn.idl ...

It's difficult to understand this because your mail client wrapped all
the lines.

However, I believe the issue is you've added a target named
"OnMyOwn:onMyOwnTypeSupportImpl.java" to your rule.  There are a number
of characters that are special to make and cannot be used directly in
target or prerequisite lists, and ":" is one of them.

You can use colons but you have to escape them with backslashes:

...  OnMyOwn\:onMyOwnTypeSupportImpl.java OnMyOwnTypeSupportImpl.cpp: OnMyOwn.idl ...


_______________________________________________
Help-make mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-make