arla compiling

FBO fbo2 at gmx.net
Tue Jun 25 16:23:32 CEST 2002


On Mon, Jun 24, 2002 at 11:48:25PM +0200, Love wrote:
[snip]
> You can find it at http://web.mit.edu/openafs/krbafs/
"configure"ing works but when "make"ing this, I get the some errors:

frank at defiant:/SCR/temp/krbafs-1.1 > make
gcc -c  -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/lib"' -I. -g -O2  afskrb.c
In file included from afskrb.c:34:
krbafs_locl.h:131: parse error before `Des_cblock'
krbafs_locl.h:158: parse error before `CREDENTIALS'
krbafs_locl.h:172: parse error before `CREDENTIALS'
afskrb.c:44: parse error before `CREDENTIALS'
afskrb.c: In function `Get_cred':
...



When compiling the xfs-part, following error occured.



gcc -c  -DHAVE_CONFIG_H  -I/SCR/kernel/links/linux//include -DMODULE -D__KERNEL__    -DDEBUG -I. -I. -I. -I./../include -I../../include -I./../../include -I/usr/include/kerberosIV -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer xfs_load.c
In file included from xfs/xfs_locl.h:149,
                 from xfs_load.c:37:
../include/xfs/xfs_message.h:87: redefinition of `struct xfs_handle'
make: *** [xfs_load.o] Error 1



I looked for 'xfs_handle' in my kernel-sources and found that struct in the xfs-patch
(a journaling fs from irix):



fbo at def:/usr/src/linux > fgrep -r xfs_handle *
linux/dmapi_kern.h:struct xfs_handle_t;
linux/dmapi_kern.h:                     xfs_handle_t    *handlep);
linux/xfs_fs.h:typedef struct xfs_handle {
linux/xfs_fs.h:} xfs_handle_t;
linux/xfs_fs.h:#define XFS_HANDLE_CMP(h1, h2)   bcmp(h1, h2, sizeof (xfs_handle_t))



What does xfs (the arla-xfs) do?
Is it really needed?
Is it incompatible with Irix' XFS?

After replacing all 'xfs_handle's i found in the arla source, xfs can be compiled and a
find a module 'xfs.o'. insmod'ing shows "Ressource busy" and causes any following
command to segfault (only reboot solved that).
Maybe tha following is (the|a) cause:



fbo at def:/ > cat /proc/filesystems
nodev	rootfs
nodev	bdev
nodev	proc
nodev	sockfs
nodev	tmpfs
nodev	shm
nodev	pipefs
	ext2
	iso9660
nodev	smbfs
nodev	devpts
	xfs                      <--- that one 
nodev	ftpfs
nodev	autofs
nodev	afs



A name conflict?

FBO





More information about the Arla-drinkers mailing list