[OpenAFS] 1.5.19 build fails on SunOS 5.11 snv62 SPARC

Dale Ghent daleg@umbc.edu
Tue, 29 May 2007 16:36:19 -0400


(moving this to openafs-devel)

This patch will not fly.

You're using the new IP Instances netstack_* calls within the all- 
encompassing Solaris 10 #ifdef, which means that this code won't  
compile on < s10u4.

/dale

On May 15, 2007, at 6:13 PM, William Yang wrote:

> Oops, sorry about that.  I was intending to thread on to http:// 
> lists.openafs.org/pipermail/openafs-info/2007-May/026189.html, but  
> it looks like that didn't quite work the way I was hoping.  Was a  
> bit rushed at the time too.
>
> I also forgot to mention, I am using OpenAFS 1.4.4 as opposed to  
> 1.5.19 (which was being used in the previous thread).
>
> I've attached the patch.  FYI, though, I was a bit creative in  
> applying it to rx_knet.c since I have very little knowledge of C,  
> so hopefully I did it right.  Thus far, AFS has not crashed on the  
> machine which is using these patches, but it is a very lightly used  
> development-only machine.
>
> William Yang
> TJHSST Student Systems Administrator
> wyang@tjhsst.edu
>
> ----- Original Message -----
> From: "Derrick J Brashear" <shadow@dementia.org>
> To: "William Yang" <wyang@tjhsst.edu>
> Cc: openafs-info@openafs.org
> Sent: Tuesday, May 15, 2007 2:26:46 PM (GMT-0500) America/New_York
> Subject: Re: [OpenAFS] 1.5.19 build fails on SunOS 5.11 snv62 SPARC
>
> On Sun, 13 May 2007, William Yang wrote:
>
> > I'd like to suggest incorporating a good version of this patch  
> into the
>
> Context is good. Maybe you could quote "this patch", or if you've  
> tested
> one, send it?
>
> > main source tree since this bug also affects Solaris 10 Update 4  
> beta
> > (which probably has backports from snv_6x). I've located one  
> location in
> > afs_server.c and two in rx_knet.c that are affected and which I  
> manually
> > patched based on the patch in the thread (in April).
>
> <afs_on_s10u4.patch>



--
Dale Ghent
Coordinator, UNIX and Storage Systems
UMBC - Office of Information Technology
ENG 201 - 410-443-1705