Coda File System

a few more build buglets in 6.1.2 on freebsd 6.1-release

From: Sean Caron <caron.sean_at_gmail.com>
Date: Thu, 2 Nov 2006 17:39:37 -0500
hi all --

tracked down a couple more build issues with coda-6.1.2 on freebsd
6.1-release. i found that i had to modify the file

coda-6.1.2/coda-src/kerndep/pioctl.h

and replace line 84,

#if defined(__NetBSD__)

with

#if defined(__NetBSD__) || defined(__FreeBSD__)

or else it doesn't know about a few constants ... _IOC_xxxxxxxx if i
recall off the top of my head

also, in the file,

coda-6.1.2/coda-src/venus/fso1.cc

there is a call,

setpgrp()

i don't have the line number offhand but there is only one instance of
this call in the file

freebsd thinks this should take two arguments. netbsd does too
apparently from the man page but maybe there is an #if defined()
overriding the built-in one somewhere for netbsd but not freebsd? for
my purposes, i made the assumption and tried to run with --

setpgrp() := setpgrp(0,0)

is this correct? it got me a successful compile and sounded like sort
of what maybe the expected behaviour was from the manpage for setpgrp
on netbsd and freebsd

other than that, i got it built with no other errors. now to see if
this all actually works :)

regards, sean
scaron_at_umich.edu
Received on 2006-11-02 17:48:23