Subject: Re: Anybody running arla?
To: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
From: Rui Paulo <rpaulo@NetBSD.org>
List: port-alpha
Date: 09/01/2005 15:45:16
--6c2NcOVqGQ03X4Wi
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,
|=20
| thanks for your quick reply.
|=20
| I changed that in nnpfs_vfsops-common.c and nnpfs_syscalls-common.c and=
=20
| now reach until here (arla-0.38 from pkgsrc):
|=20
| 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=
=20
| 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
|=20
| Stop.
| make: stopped in /usr/pkgsrc/net/arla/work/arla-0.38/nnpfs/bsd
| *** Error code 1
|=20
|=20
| 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

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFDFxP7ZPqyxs9FH4QRAmTcAJ42Cxjz+2qbLi4fTPJfmB560kV9qgCfXB8S
HWP3996Ex/2kAHUzB251p90=
=gh/Y
-----END PGP SIGNATURE-----

--6c2NcOVqGQ03X4Wi--