Hi all,
I'm curious if anyone has run into problems building OpenAFS 1.4.15 on
Solaris 10 x86?
I'm building on Solaris 10 1/13 with Solaris Studio 12.3, and using the
following configure options:
./configure --enable-debug --enable-transarc-paths
--enable-namei-fileserver --enable-supergroups --with-afs-sysname=sunx86_510
and the build fails in src/afs/SOLARIS/osi_vnodeops.c[1]. I've also tried
building on an older release of Solaris 10 with a much older version of Sun
Studio and get similar results.
k-
------- [1] -------
/opt/SUNWspro/bin/cc -I. -I.. -I../nfs
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/config
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/rx/SOLARIS
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/rxkad
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/rxkad/domestic
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/util
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/util
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/rxkad
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/config
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/fsint
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/vlserver
-I/local/afs/builds/sunx86_510/openafs-1.4.15/include
-I/local/afs/builds/sunx86_510/openafs-1.4.15/include/afs -I. -I..
-I/local/afs/builds/sunx86_510/openafs-1.4.15/src/config -DAFSDEBUG
-DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -D_KERNEL
-DSYSV -dn -o osi_vnodeops.o -c
/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1085: warning: old-style declaration or incorrect type for: afs_map
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1142: warning: implicit function declaration: map_addr
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1183: warning: old-style declaration or incorrect type for:
afs_pathconf
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1219: warning: old-style declaration or incorrect type for: afs_ioctl
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1247: warning: old-style declaration or incorrect type for: afs_seek
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1367: warning: old-style declaration or incorrect type for: afs_cmp
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1544: warning: initialization type mismatch
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1546: warning: initialization type mismatch
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1547: warning: initialization type mismatch
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1558: warning: initialization type mismatch
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1563: warning: initialization type mismatch
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1625: warning: old-style declaration or incorrect type for: gafs_open
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1639: warning: old-style declaration or incorrect type for: gafs_close
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1655: warning: old-style declaration or incorrect type for:
gafs_getattr
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1670: warning: old-style declaration or incorrect type for:
gafs_setattr
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1685: warning: old-style declaration or incorrect type for: gafs_access
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1700: warning: old-style declaration or incorrect type for: gafs_lookup
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1717: warning: old-style declaration or incorrect type for: gafs_create
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1734: warning: old-style declaration or incorrect type for: gafs_remove
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1747: warning: old-style declaration or incorrect type for: gafs_link
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1761: warning: old-style declaration or incorrect type for: gafs_rename
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1784: warning: argument #1 is incompatible with prototype:
prototype: pointer to struct vnode {struct mutex {..} v_lock,
unsigned int v_flag, unsigned int v_count, pointer to void v_data, pointer
to struct vfs {..} v_vfsp, pointer to struct stdata {..} v_stream, enum
vtype {VBAD(11), VPORT(10), VSOCK(9), VPROC(8), VDOOR(7), VFIFO(6),
VLNK(5), VCHR(4), VBLK(3), VDIR(2), VREG(1), VNON(0)} v_type, unsigned long
v_rdev, pointer to struct vfs {..} v_vfsmountedhere, pointer to struct
vnodeops {..} v_op, pointer to struct page {..} v_pages, unsigned long
v_npages, unsigned long v_msnpages, pointer to struct page {..}
v_scanfront, pointer to struct page {..} v_scanback, pointer to struct
filock {..} v_filocks, pointer to struct shrlocklist {..} v_shrlocks,
struct _krwlock {..} v_nbllock, struct _kcondvar {..} v_cv, pointer to void
v_locality, pointer to struct fem_head {..} v_femhead, pointer to char
v_path, unsigned int v_rdcnt, unsigned int v_wrcnt, unsigned long long
v_mmap_read, unsigned long long v_mmap_write, pointer to void v_mpssdata,
long long v_scantime, unsigned short v_mset, unsigned int v_msflags,
pointer to struct vnode {..} v_msnext, pointer to struct vnode {..}
v_msprev, struct _krwlock {..} v_mslock} : "../sys/vnode.h", line 939
argument : pointer to struct vcache {struct vnode {..} v, struct
afs_q {..} vlruq, pointer to struct vcache {..} nextfree, pointer to struct
vcache {..} hnext, struct afs_q {..} vhashq, struct VenusFid {..} fid,
struct mstat {..} m, struct afs_lock {..} lock, struct afs_lock {..} vlock,
struct _krwlock {..} rwlock, pointer to struct cred {..} credp, struct
mutex {..} pvnLock, int parentVnode, int parentUnique, pointer to struct
VenusFid {..} mvid, pointer to char linkData, struct afs_hyper_t {..}
flushDV, struct afs_hyper_t {..} mapDV, long long truncPos, pointer to
struct server {..} callback, unsigned int cbExpires, struct afs_q {..}
callsort, pointer to struct axscache {..} Access, int anyAccess, int
last_looker, int activeV, pointer to struct SimpleLocks {..} slocks, short
opens, short execsOrWriters, short flockCount, char mvstat, unsigned int
states, unsigned int vstates, pointer to struct dcache {..} dchint, int
vc_error, int xlatordv, pointer to struct cred {..} uncred, int asynchrony,
short multiPage}
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1784: prototype mismatch: 5 args passed, 6 expected
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1786: warning: argument #1 is incompatible with prototype:
prototype: pointer to struct vnode {struct mutex {..} v_lock,
unsigned int v_flag, unsigned int v_count, pointer to void v_data, pointer
to struct vfs {..} v_vfsp, pointer to struct stdata {..} v_stream, enum
vtype {VBAD(11), VPORT(10), VSOCK(9), VPROC(8), VDOOR(7), VFIFO(6),
VLNK(5), VCHR(4), VBLK(3), VDIR(2), VREG(1), VNON(0)} v_type, unsigned long
v_rdev, pointer to struct vfs {..} v_vfsmountedhere, pointer to struct
vnodeops {..} v_op, pointer to struct page {..} v_pages, unsigned long
v_npages, unsigned long v_msnpages, pointer to struct page {..}
v_scanfront, pointer to struct page {..} v_scanback, pointer to struct
filock {..} v_filocks, pointer to struct shrlocklist {..} v_shrlocks,
struct _krwlock {..} v_nbllock, struct _kcondvar {..} v_cv, pointer to void
v_locality, pointer to struct fem_head {..} v_femhead, pointer to char
v_path, unsigned int v_rdcnt, unsigned int v_wrcnt, unsigned long long
v_mmap_read, unsigned long long v_mmap_write, pointer to void v_mpssdata,
long long v_scantime, unsigned short v_mset, unsigned int v_msflags,
pointer to struct vnode {..} v_msnext, pointer to struct vnode {..}
v_msprev, struct _krwlock {..} v_mslock} : "../sys/vnode.h", line 914
argument : pointer to struct vcache {struct vnode {..} v, struct
afs_q {..} vlruq, pointer to struct vcache {..} nextfree, pointer to struct
vcache {..} hnext, struct afs_q {..} vhashq, struct VenusFid {..} fid,
struct mstat {..} m, struct afs_lock {..} lock, struct afs_lock {..} vlock,
struct _krwlock {..} rwlock, pointer to struct cred {..} credp, struct
mutex {..} pvnLock, int parentVnode, int parentUnique, pointer to struct
VenusFid {..} mvid, pointer to char linkData, struct afs_hyper_t {..}
flushDV, struct afs_hyper_t {..} mapDV, long long truncPos, pointer to
struct server {..} callback, unsigned int cbExpires, struct afs_q {..}
callsort, pointer to struct axscache {..} Access, int anyAccess, int
last_looker, int activeV, pointer to struct SimpleLocks {..} slocks, short
opens, short execsOrWriters, short flockCount, char mvstat, unsigned int
states, unsigned int vstates, pointer to struct dcache {..} dchint, int
vc_error, int xlatordv, pointer to struct cred {..} uncred, int asynchrony,
short multiPage}
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1794: warning: old-style declaration or incorrect type for: gafs_mkdir
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1810: warning: old-style declaration or incorrect type for: gafs_rmdir
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1825: warning: old-style declaration or incorrect type for:
gafs_readdir
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1839: warning: old-style declaration or incorrect type for:
gafs_symlink
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1855: warning: old-style declaration or incorrect type for:
gafs_readlink
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1869: warning: old-style declaration or incorrect type for: gafs_fsync
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1939: warning: old-style declaration or incorrect type for: gafs_fid
"/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c",
line 1946: warning: implicit function declaration: afs_fid
cc: acomp failed for
/local/afs/builds/sunx86_510/openafs-1.4.15/src/afs/SOLARIS/osi_vnodeops.c
*** Error code 2
make: Fatal error: Command failed for target `osi_vnodeops.o'
Current working directory
/local/afs/builds/sunx86_510/openafs-1.4.15/src/libafs/MODLOAD32
*** Error code 1
make: Fatal error: Command failed for target `solaris_compdirs'
Current working directory
/local/afs/builds/sunx86_510/openafs-1.4.15/src/libafs
*** Error code 1
make: Fatal error: Command failed for target `libafs'
Current working directory /local/afs/builds/sunx86_510/openafs-1.4.15
*** Error code 1
make: Fatal error: Command failed for target `build'
Current working directory /local/afs/builds/sunx86_510/openafs-1.4.15
*** Error code 1
make: Fatal error: Command failed for target `all'
FATAL: Looks like the compilation failed somewhere...
--
: Kendrick Hernandez
: UNIX Systems Administrator
: UNIX Systems and Infrastructure
: Division of Information Technology
: University of Maryland, Baltimore County