Subject: Re: Anybody running arla?
To: Torsten Harenberg <>
From: Rui Paulo <>
List: port-alpha
Date: 09/01/2005 15:45:16
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2005.09.01 16:25:09 +0000, Torsten Harenberg wrote:
| Hi Love,
| thanks for your quick reply.
| I changed that in nnpfs_vfsops-common.c and nnpfs_syscalls-common.c and=
| now reach until here (arla-0.38 from pkgsrc):
| cc -c -I/usr/pkg/include -DHAVE_CONFIG_H -I. -I.  -I../../include=20
| -I./../../include  -I./../include -DNNPFS_DEBUG -DINET6 -g -O2 -mieee=20
| -I/usr/pkg/include -Wall -Wmissing-prototypes -Wpointer-arith=20
| -Wmissing-declarations -Wnested-externs   -D_KERNEL -D_LKM -mieee=20
| -ffreestanding -mieee -mno-fp-regs -I/usr/src/sys -I/usr/pkg/include=20
| -I/usr/pkg/include -nostdinc -isystem /usr/src/sys -isystem=20
| /usr/src/sys/arch=20
| -I/usr/pkgsrc/net/arla/work/arla-0.38/include/netbsd-lkm -Wno-unused=20
| -Werror nnpfs_vfsops-bsd.c
| In file included from nnpfs_vfsops-bsd.c:48:
| nnpfs/nnpfs_vfsops-bsd.h:59: warning: `struct statvfs' declared inside=20
| parameter list
| nnpfs/nnpfs_vfsops-bsd.h:59: warning: its scope is only this definition=
| or declaration, which is probably not what you want
| nnpfs_vfsops-bsd.c:108: warning: `struct statvfs' declared inside=20
| parameter listnnpfs_vfsops-bsd.c:109: error: conflicting types for=20
| `nnpfs_statfs'
| nnpfs/nnpfs_vfsops-bsd.h:59: error: previous declaration of `nnpfs_statfs'
| nnpfs_vfsops-bsd.c: In function `nnpfs_statfs':
| nnpfs_vfsops-bsd.c:114: error: dereferencing pointer to incomplete type
| *** Error code 1
| Stop.
| make: stopped in /usr/pkgsrc/net/arla/work/arla-0.38/nnpfs/bsd
| *** Error code 1
| Hope you also have an idea for that.. This machine is our primary web=20
| server and AFS users don't have their private homepages now ;)

Maybe add an '#include <sys/statvfs.h>' to nnpfs_vfsops-bsd.h?
It's probably not the best solution but since you need a fast solution
I suppose it will compile. (or maybe not ;)

		-- Rui Paulo

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.1 (NetBSD)