Coda File System

compile error on Fedora Core 9 for coda 6.9.3 and 6.9.4 RC

From: Shane T. Drinkwater <shane_drinkwater_at_pa-ucl.com>
Date: Sat, 9 Aug 2008 09:05:13 -0500
Hello,
I am trying to build a coda test system using fedora core 9. I am using the following supporting code in my coda 6.9.3/6.9.4 rc compiles
Lwp ver lwp-2.4
Rpc2 ver 2.7
Rvm ver 1.15

During the make I get the following error
        then mv -f ".deps/getpeereid.Tpo" ".deps/getpeereid.Plo"; else rm -f ".deps/getpeereid.Tpo"; exit 1; fi
 gcc -Wall -fno-exceptions -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/coda/lwp/include -I/usr/local/coda/rvm/include -I/usr/local/
coda/rpc2/include -g -O2 -MT getpeereid.lo -MD -MP -MF .deps/getpeereid.Tpo -c getpeereid.c  -fPIC -DPIC -o .libs/getpeereid.o
getpeereid.c: In function 'getpeereid':
getpeereid.c:48: error: storage size of 'cred' isn't known
getpeereid.c:49: error: invalid application of 'sizeof' to incomplete type 'struct ucred'
getpeereid.c:48: warning: unused variable 'cred'
make[3]: *** [getpeereid.lo] Error 1
make[3]: Leaving directory `/usr/src/coda-6.9.3/lib-src/base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/coda-6.9.3/lib-src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/coda-6.9.3'
I check in coda-6.9.2 to see how cred is defined. The file getpeerid.c does not exsit  in the 6.9.2 version.
What can I do to get the 6.9.3 or 6.9.4rc compile to work.
                          Thank you
                         Shane

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 270.6.0/1601 - Release Date: 8/8/2008 9:02 AM




NOTICE: This email may contain legally privileged information. The inform
ation
is for the use of only the intended recipient(s) even if addressed
inc
orrectly. If you are not the intended recipient, please notify the sender
th
at you have received it in error and then delete it along with any
attachmen
ts. Thank you.


Received on 2008-08-09 10:06:30