[OpenAFS-devel] OpenBSD 4.2 and OpenAFS?

Matthew Schlegel nite97m@gmail.com
Fri, 28 Dec 2007 16:54:42 -0600


------=_Part_15397_9537853.1198882482790
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I'm working on getting OpenAFS to compile on OpenBSD 4.2 and I'm currently
stumped by the following errors:

cc -I..  -I../nfs  -I../..  -I../../afs  -I../../afs/OBSD  -I../../config
-I../../rx  -I../../rx/OBSD  -I../../rxkad  -I../../domestic  -I../../util
-I../../../include  -I../../../include/afs   -DAFSDEBUG -DKERNEL -DAFS
-DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -Wall -nostdinc  -I/usr/include
-I/usr/src/sys/sys  -DLKM -DDIAGNOSTIC -DFIFO -DNFSCLIENT -DMFS -DFFS
-D_KERNEL -DI586_CPU  -DI686_CPU  -O2  -o osi_vnodeops.o -c
../../afs/OBSD/osi_vnodeops.c
../../afs/OBSD/osi_vnodeops.c: In function `afs_nbsd_lock':
../../afs/OBSD/osi_vnodeops.c:936: error: structure has no member named
`v_interlock'
../../afs/OBSD/osi_vnodeops.c: In function `afs_nbsd_unlock':
../../afs/OBSD/osi_vnodeops.c:953: error: structure has no member named
`v_interlock'
../../afs/OBSD/osi_vnodeops.c: In function `afs_nbsd_bmap':
../../afs/OBSD/osi_vnodeops.c:971: warning: cast to pointer from integer of
different size
../../afs/OBSD/osi_vnodeops.c:971: warning: assignment from incompatible
pointer type
../../afs/OBSD/osi_vnodeops.c: In function `afs_nbsd_strategy':
../../afs/OBSD/osi_vnodeops.c:997: error: structure has no member named
`b_un'
../../afs/OBSD/osi_vnodeops.c:1004: error: structure has no member named
`b_un'
*** Error code 1

What are these functions intended to do and would anyone have a version of
osi_vnodeops.c that works with OpenBSD 4.2?

Thanks,

-- 
Matthew
http://www.schlegelhome.info

------=_Part_15397_9537853.1198882482790
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I&#39;m working on getting OpenAFS to compile on OpenBSD 4.2 and I&#39;m currently stumped by the following errors:<br><br>cc -I..&nbsp; -I../nfs&nbsp; -I../..&nbsp; -I../../afs&nbsp; -I../../afs/OBSD&nbsp; -I../../config&nbsp; -I../../rx&nbsp; -I../../rx/OBSD&nbsp; -I../../rxkad&nbsp; -I../../domestic&nbsp; -I../../util&nbsp; -I../../../include&nbsp; -I../../../include/afs&nbsp;&nbsp; -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -Wall -nostdinc&nbsp; -I/usr/include -I/usr/src/sys/sys&nbsp; -DLKM -DDIAGNOSTIC -DFIFO -DNFSCLIENT -DMFS -DFFS -D_KERNEL -DI586_CPU&nbsp; -DI686_CPU&nbsp; -O2&nbsp; -o osi_vnodeops.o -c ../../afs/OBSD/osi_vnodeops.c
<br>../../afs/OBSD/osi_vnodeops.c: In function `afs_nbsd_lock&#39;:<br>../../afs/OBSD/osi_vnodeops.c:936: error: structure has no member named `v_interlock&#39;<br>../../afs/OBSD/osi_vnodeops.c: In function `afs_nbsd_unlock&#39;:
<br>../../afs/OBSD/osi_vnodeops.c:953: error: structure has no member named `v_interlock&#39;<br>../../afs/OBSD/osi_vnodeops.c: In function `afs_nbsd_bmap&#39;:<br>../../afs/OBSD/osi_vnodeops.c:971: warning: cast to pointer from integer of different size
<br>../../afs/OBSD/osi_vnodeops.c:971: warning: assignment from incompatible pointer type<br>../../afs/OBSD/osi_vnodeops.c: In function `afs_nbsd_strategy&#39;:<br>../../afs/OBSD/osi_vnodeops.c:997: error: structure has no member named `b_un&#39;
<br>../../afs/OBSD/osi_vnodeops.c:1004: error: structure has no member named `b_un&#39;<br>*** Error code 1<br><br>What are these functions intended to do and would anyone have a version of osi_vnodeops.c that works with OpenBSD 
4.2?<br><br>Thanks,<br><br>-- <br>Matthew<br><a href="http://www.schlegelhome.info">http://www.schlegelhome.info</a>

------=_Part_15397_9537853.1198882482790--