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

Re: jdm.h is missing



On Apr 3,  9:03pm, Andrew Ho wrote:
> Subject: jdm.h is missing
> I compile linux-2.4-xfs/cmd/xfsdump/.
> 
> The error messages are as follows:
> 
> attr.c: In function `jdm_attr_list':
> attr.c:179: `jdm_filehandle_t' undeclared (first use in this function)
> attr.c:179: `filehandle' undeclared (first use in this function)
> attr.c:179: warning: statement with no effect
> attr.c:180: parse error before `hlen'
> attr.c:183: `hlen' undeclared (first use in this function)
> attr.c:184: `rval' undeclared (first use in this function)
> attr.c:187: warning: control reaches end of non-void function
> make[1]: *** [attr.o] Error 1
> 

You need to have installed the xfsprogs-devel package first,
or else do this by hand:

# cd linux-2.4-xfs/cmd/xfsprogs
# autoconf
# ./configure
# make
# make install install-dev

This creates the /usr/include/xfs/jdm.h file you need to
build the xfsdump package.

cheers.

-- 
Nathan