[OpenAFS] 1.5.19 build fails on SunOS 5.11 snv62 SPARC

Kris Kasner kris.kasner@qualcomm.com
Wed, 25 Apr 2007 18:27:05 -0700 (PDT)


Hi Folks.. I'm getting an error trying to build on Solaris Nevada build 62. As 
recently as build 56, I could use my afs 1.4.4 binaries built on Solaris 10 
update 3 with no problem.. 61 and 62 are giving me an alignment panic trying to 
run 1.4.4, so I decided to try building on the 5.11 system. I'm using the 
studio 11 compilers. The build is erroring out compiling afs_server.c

"/prj/esg/apps/OpenAFS/openafs-1.5.19/src/afs/afs_server.c", line 603: warning:
argument #2 is incompatible with prototype:
         prototype: pointer to unsigned int : 
"/prj/esg/apps/OpenAFS/openafs-1.5.19/src/fsint/afsint.h", line 1136
         argument : pointer to int
"/prj/esg/apps/OpenAFS/openafs-1.5.19/src/afs/afs_server.c", line 603: warning:
argument #3 is incompatible with prototype:
         prototype: pointer to unsigned int : 
"/prj/esg/apps/OpenAFS/openafs-1.5.19/src/fsint/afsint.h", line 1136
         argument : pointer to int
"/prj/esg/apps/OpenAFS/openafs-1.5.19/src/afs/afs_server.c", line 1252: 
warning: argument mismatch
"/prj/esg/apps/OpenAFS/openafs-1.5.19/src/afs/afs_server.c", line 1252: syntax 
error before or at: )
"/prj/esg/apps/OpenAFS/openafs-1.5.19/src/afs/afs_server.c", line 1252: syntax 
error before or at: )
"/prj/esg/apps/OpenAFS/openafs-1.5.19/src/afs/afs_server.c", line 1315: cannot 
recover from previous errors
cc: acomp failed for /prj/esg/apps/OpenAFS/openafs-1.5.19/src/afs/afs_server.c
*** Error code 2
make: Fatal error: Command failed for target `afs_server.o'
Current working directory 
/usr/local/projects/esg/applications/OpenAFS/openafs-1
.5.19/src/libafs/MODLOAD64
*** Error code 1
make: Fatal error: Command failed for target `solaris_compdirs'

Any chance this is obvious to someone? Any other details I can provide?

Thanks much for your time!

--Kris