[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configure.in problem for DMAPI test



Hello!
I have tried to compile tests for DMAPI (in cmd/xfstests/dmapi) and
compilation failed due tu undefined dm_XXX symbols.
I got the source for these tests from CVS.

It turned out that configure script did not detect libhandle library
properly (and in result libdm was also not detected).
The problem is that in xfsprogs-devel-1.2.8-0.i386.rpm (and also
xfsprogs-devel-1.2.0-0.i386.rpm) libhandle.a does not export symbol that
is checked by configure (fssetdm_by_handle).

The following test fails:

AC_CHECK_LIB(handle,fssetdm_by_handle))
AC_CHECK_LIB(dm,dm_init_service)

I managed to compile these tests by replacing "fssetdm_by_handle" with
other symbol "path_to_fshandle". Probably I should use libhandle library
from CVS, but these test don't depend on fssetdm_by_handle, so it could
be changed so that older libhandle library could be used.

Regards

	Krzysztof Lichota