[OpenAFS] Problems Compiling vfsck on Solaris 9
J Michael Mosley
J Michael Mosley <jmmosley@uncc.edu>
Thu, 20 Mar 2003 16:56:08 -0500 (EST)
I'm trying to compile OpenAFS 1.2.8 under Solaris 9 (12/02). I ran configure
with the following options:
--with-afs-sysname=sun4x_59 --enable-obsolete --enable-transarc-paths
and then did a "make." I had encountered no problems until I reached vfsck:
/apps/coe/bin/cc -o vfsck -w -I/home/openafs/openafs-1.2.8/src/config
-I/home/openafs/openafs-1.2.8/include -dy -Bdynamic dir.c inode.c main.c pass1.c
pass1b.c pass2.c pass3.c pass4.c pass5.c setup.c utilities.c ufs_subr.c
ufs_tables.c dirutils.c vprintf.c proplist.c -lresolv -lsocket -lnsl -lintl
-ldl\
;; \
esac
dir.c:
inode.c:
main.c:
pass1.c:
pass1b.c:
pass2.c:
pass3.c:
pass4.c:
pass5.c:
setup.c:
"setup.c", line 676: undefined struct/union member: fs_rlink
"setup.c", line 676: improper member use: fs_rlink
cc: acomp failed for setup.c
utilities.c:
ufs_subr.c:
ufs_tables.c:
dirutils.c:
vprintf.c:
proplist.c:
*** Error code 2
make: Fatal error: Command failed for target `setup.o'
It appears that fs_rlink does not exist in struct fs (sys/fs/ufs_fs.h) under
Solaris 9 so, I'm not sure why it appears in the this section of code in
setup.c. Can somebody shed some light as to what I'm doing wrong?
Thanks,
Mike
-------------------------------------
Mike Mosley Email: jmmosley@uncc.edu
Systems Software Developer Phone: (704) 687-3522
College of Engineering, UNC-Charlotte Fax: (704) 687-2352