https://bugs.kde.org/show_bug.cgi?id=445211

--- Comment #4 from Paul Floyd <pjfl...@wanadoo.fr> ---
This fails for mpi (with a 'build' directory in the Valgrind srcdir)

In file included from ../../mpi/libmpiwrap.c:99:
../../mpi/../memcheck/memcheck.h:72:10: fatal error: 'valgrind.h' file not
found
#include "valgrind.h"
         ^~~~~~~~~~~~
1 error generated.
gmake[2]: *** [Makefile:747: libmpiwrap_amd64_freebsd_so-libmpiwrap.o] Error 1
gmake[2]: Leaving directory '/usr/home/paulf/scratch/valgrind/build/mpi'
gmake[1]: *** [Makefile:897: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/home/paulf/scratch/valgrind/build'
gmake: *** [Makefile:760: all] Error 2

It might work by accident if I had the Valgrind package installed.

The problem seems to be that valgrind.h is generated from a .in file, so is in
../include relative to build/mpi

Perhaps 

mpi/Makefile.am:libmpiwrap_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CPPFLAGS =
-I$(top_srcdir)/include

should be -I $(top_builddir) ?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to