[ofa-general] RE: [PATCH] dapl compile problem - dapltest/dtest

Arlin Davis arlin.r.davis at intel.com
Mon Mar 5 12:55:38 PST 2007



>-----Original Message-----
>From: Steve Wise [mailto:swise at opengridcomputing.com]
>I get errors in dtest:
>
>make[2]: Leaving directory `/usr/local/src/git/dapl'
>Making all in test/dtest
>make[2]: Entering directory `/usr/local/src/git/dapl/test/dtest'
>if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT dtest.o -MD -MP -MF ".deps/dtest.Tpo" -c -o
>dtest.o dtest.c; \
>then mv -f ".deps/dtest.Tpo" ".deps/dtest.Po"; else rm -f ".deps/dtest.Tpo"; exit 1; fi
>dtest.c:55:25: error: dat/udat.h: No such file or directory
>

Steve,

Can you try the following patch?



Signed-off by: Arlin Davis ardavis at ichips.intel.com

diff --git a/test/dapltest/Makefile.am b/test/dapltest/Makefile.am
index 0c83924..1a19c53 100755
--- a/test/dapltest/Makefile.am
+++ b/test/dapltest/Makefile.am
@@ -1,5 +1,6 @@
 INCLUDES =  -I include \
-           -I mdep/linux
+           -I mdep/linux \
+           -I $(srcdir)/../../dat/include

 bin_PROGRAMS = dapltest

diff --git a/test/dtest/Makefile.am b/test/dtest/Makefile.am
index ac9837b..fcb9b4e 100755
--- a/test/dtest/Makefile.am
+++ b/test/dtest/Makefile.am
@@ -1,4 +1,5 @@
 bin_PROGRAMS = dtest
 dtest_SOURCES = dtest.c
+INCLUDES =  -I $(srcdir)/../../dat/include
 dtest_LDADD = $(srcdir)/../../dat/udat/libdat.la



More information about the general mailing list