[ofa-general] [PATCH] complib/Makefile.am: prevent file duplications

Sasha Khapyorsky sashak at voltaire.com
Mon Jun 29 03:58:12 PDT 2009


After upgrading to 64-bit Gentoo with recent auto/etc-tools I've got
this error:

usr/bin/install: will not overwrite just-created `/usr/local/include/infiniband/complib/cl_threadpool.h' with `./../include/complib/cl_threadpool.h'
/usr/bin/install: will not overwrite just-created `/usr/local/include/infiniband/complib/cl_timer.h' with `./../include/complib/cl_timer.h'
/usr/bin/install: will not overwrite just-created `/usr/local/include/infiniband/complib/cl_timer_osd.h' with `./../include/complib/cl_timer_osd.h'
/usr/bin/install: will not overwrite just-created `/usr/local/include/infiniband/complib/cl_types.h' with `./../include/complib/cl_types.h'
/usr/bin/install: will not overwrite just-created `/usr/local/include/infiniband/complib/cl_types_osd.h' with `./../include/complib/cl_types_osd.h'
make[2]: *** [install-libosmcompincludeHEADERS] Error 1
make[2]: Leaving directory `/home/sashak/src/m/opensm/complib'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/sashak/src/m/opensm/complib'
make: *** [install-recursive] Error 1

, which is resulted by duplicated listing of those filei in
libosmcompinclude_HEADERS definition - cleaning this up.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 opensm/complib/Makefile.am |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/opensm/complib/Makefile.am b/opensm/complib/Makefile.am
index 6f2f203..3ee90e8 100644
--- a/opensm/complib/Makefile.am
+++ b/opensm/complib/Makefile.am
@@ -70,11 +70,6 @@ libosmcompinclude_HEADERS = $(srcdir)/../include/complib/cl_atomic.h \
 	$(srcdir)/../include/complib/cl_timer_osd.h \
 	$(srcdir)/../include/complib/cl_types.h \
 	$(srcdir)/../include/complib/cl_types_osd.h \
-	$(srcdir)/../include/complib/cl_threadpool.h \
-	$(srcdir)/../include/complib/cl_timer.h \
-	$(srcdir)/../include/complib/cl_timer_osd.h \
-	$(srcdir)/../include/complib/cl_types.h \
-	$(srcdir)/../include/complib/cl_types_osd.h \
 	$(srcdir)/../include/complib/cl_vector.h
 
 # headers are distributed as part of the include dir
-- 
1.6.3.3




More information about the general mailing list