xfs
[Top] [All Lists]

Re: configure.in problem for DMAPI test

To: linux-xfs@xxxxxxxxxxx
Subject: Re: configure.in problem for DMAPI test
From: Dean Roehrich <roehrich@xxxxxxx>
Date: Tue, 07 Aug 2001 09:35:36 -0500
Sender: owner-linux-xfs@xxxxxxxxxxx
It looks like your xfsprogs package is too old.  A new function,
fssetdm_by_handle, was added to libhandle recently.  It's used by the recent
changes to xfsrestore, but nothing else is using it.

Dean


>From:  Krzysztof Lichota <lichota@xxxxxxxxxxxxx>
>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>