[OpenAFS] 1.5.19 build fails on SunOS 5.11 snv62 SPARC

Kris Kasner tkasner@gmail.com
Tue, 1 May 2007 10:18:10 -0700


It almost worked.. part of the diff placed code outside of the ifdef
for AFS_SUN510_ENV, once that was fixed, the build got past
afs_server.c.. but it looks like the same issue exists in rx_knet.c
/prj/esg/apps/OpenAFS/openafs-1.5.19/src/rx/SOLARIS/rx_knet.c
"/prj/esg/apps/OpenAFS/openafs-1.5.19/src/rx/SOLARIS/rx_knet.c", line
87: warning: argument mismatch
"/prj/esg/apps/OpenAFS/openafs-1.5.19/src/rx/SOLARIS/rx_knet.c", line
87: syntax error before or at: )
"/prj/esg/apps/OpenAFS/openafs-1.5.19/src/rx/SOLARIS/rx_knet.c", line
87: syntax error before or at: )
"/prj/esg/apps/OpenAFS/openafs-1.5.19/src/rx/SOLARIS/rx_knet.c", line
129: cannot recover from previous errors
cc: acomp failed for
/prj/esg/apps/OpenAFS/openafs-1.5.19/src/rx/SOLARIS/rx_knet.c
*** Error code 2

I'm going to look and see if I can make heads or tails of it with the
code you provided for the other, but I'm only a casual acquaintance
with C.. so I'm not overly optimistic on that point.. :-)

Thanks again for your help!

--Kris

On 4/30/07, Derrick J Brashear <shadow@dementia.org> wrote:
> On Mon, 30 Apr 2007, Chaskiel M Grundman wrote:
>
> >
> >>> 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.
> >
> > Here's my untested suggestion (still lacks autoconf glue, may require an
> > #include <sys/netstack.h>):
>
> if it works i can do the autoconf gunk; basically a compile test which
> tries with 2 args and otherwise makes the code fall back to the old way
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>