[OpenAFS-devel] Re: osi_Panic on AIX and IRIX
Andrew Deason
adeason@sinenomine.net
Wed, 10 Feb 2010 11:09:33 -0600
On Wed, 10 Feb 2010 08:51:33 -0800
Chaz Chandler <clc31@inbox.com> wrote:
>
> >> Indeed, they do on irix.
> >
> > What error are you getting?
>
> The one I sent in the previous email:
>
> <pre>
> cc-1162 cc: ERROR File
> = /usr/people/clc31/src/openafs-git/src/rx/rx_kcommon.c, Line = 1304
> Too few arguments in function call.
>
> osi_Panic("rxk_Listener: No more Rx buffers!\n");
> ^
> </pre>
>
> This is happening in rx_kcommon.c, which is where osi_Panic is
> declared.
Oh, sorry, yes, inside rx_kcommon.c that can be indeed be a problem.
Simplest way to solve that would probably be to just move the osi_Panic
definition to after the callers in rx_kcommon.c (or move it to another
file entirely).
The alternative is to try to solve it the 'right' way when the platform
allows it, and work around with macros when it doesn't.
--
Andrew Deason
adeason@sinenomine.net