Hi Nurdin, On Tue, 2007-07-17 at 20:56 +0000, npremji@sourceware.org wrote: > Log message: > frysk-imports/tests/CL > * Makefile.am (systests_XFAIL_PROGRAMS): Removed frysk4796/dwfltest. > (system_PASS_PROGRAMS): Added frysk4796/dwfltest. You also need to add the in-tree libelf include path explicitly, otherwise you pick up the wrong gelf.h file (or in my case, on a machine without libelf-devel installed you won't find gelf.h at all): 2007-07-18 Mark Wielaard * Makefile.am (frysk4796_dwfltest_CFLAGS): Add -I$(top_srcdir)/elfutils/libelf. Cheers, Mark diff -u -r1.114 Makefile.am --- Makefile.am 17 Jul 2007 20:56:05 -0000 1.114 +++ Makefile.am 18 Jul 2007 08:00:30 -0000 @@ -513,7 +513,7 @@ chmod a+x $@ frysk4796_dwfltest_CFLAGS = -I$(top_srcdir)/elfutils/libdwfl \ --I$(top_srcdir)/elfutils/libdw +-I$(top_srcdir)/elfutils/libdw -I$(top_srcdir)/elfutils/libelf frysk4796_dwfltest_LDADD = -ldl $(top_builddir)/elfutils/libdw/libdw.a \ $(top_builddir)/elfutils/libebl/libebl.a \ $(top_builddir)/elfutils/libelf/libelf.a