xfs
[Top] [All Lists]

configure.in problem for DMAPI test

To: linux-xfs@xxxxxxxxxxx
Subject: configure.in problem for DMAPI test
From: Krzysztof Lichota <lichota@xxxxxxxxxxxxx>
Date: Tue, 07 Aug 2001 13:44:28 +0200
Organization: Warsaw University, Faculty of Mathematics, Informatics and Mechanics
Sender: owner-linux-xfs@xxxxxxxxxxx
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


<Prev in Thread] Current Thread [Next in Thread>