[OpenAFS] 1.5.19 build fails on SunOS 5.11 snv62 SPARC

Derrick J Brashear shadow@dementia.org
Wed, 25 Apr 2007 21:35:57 -0400 (EDT)


1252 is:
     for (ill = ILL_START_WALK_ALL(&ctx) ; ill ; ill = ill_next(&ctx, ill)) 
{

This isn't our macro, so I gotta assume it changed. Perhaps this is also 
Jeff Blaine's problem. It's the compile environment rather than the 
compiler.


  On Wed, 25 Apr 2007, Kris Kasner wrote:

> 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
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>