[ofa-general] Re: [PATCH] opensm/Makefile.am: fixing compilation error with osm_version.h

Sasha Khapyorsky sashak at voltaire.com
Mon Aug 4 07:45:02 PDT 2008


On 17:34 Mon 04 Aug     , Yevgeny Kliteynik wrote:
> Hi Sasha,
> 
> Fixing compilation error:
>   "No rule to make target `/../include/opensm/osm_version.h',
>     needed by `all-am'.  Stop."

Interesting, you auto*tools don't generate 'builddir' variable? Which
version are you using? Could you send me your Makefile.in?

Sasha

> 
> Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
> ---
>  opensm/opensm/Makefile.am |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/opensm/opensm/Makefile.am b/opensm/opensm/Makefile.am
> index 0974cac..42dd898 100644
> --- a/opensm/opensm/Makefile.am
> +++ b/opensm/opensm/Makefile.am
> @@ -142,7 +142,7 @@ opensminclude_HEADERS = \
>  	$(srcdir)/../include/opensm/osm_switch.h \
>  	$(srcdir)/../include/opensm/osm_ucast_mgr.h \
>  	$(srcdir)/../include/opensm/osm_vl15intf.h \
> -	$(builddir)/../include/opensm/osm_version.h
> +	$(top_builddir)/include/opensm/osm_version.h
> 
>  BUILT_SOURCES = osm_version
>  osm_version:
> -- 
> 1.5.1.4
> 



More information about the general mailing list