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
I check the "attr.h".
/* attr.h */
#ifndef ATTR_H
#define ATTR_H
#include <sys/types.h>
#include <jdm.h>
/* */
|