Bug#319227: asterisk: ftbfs [sparc] static declaration of 'uniquelock' follows non-static declaration

Mark Purcell msp at debian.org
Fri Jul 22 01:04:22 UTC 2005


tags 318337 = pending
tags 319304 = pending
tags 319227 = pending
thanks

Committed to svn and builds fine now, will upload once ftp-master comes 
backonline, maybe Monday.

Thanks Steve.

Mark

On Thursday 21 July 2005 09:54, Steve Langasek wrote:
> On Thu, Jul 21, 2005 at 08:31:53AM +1000, Mark Purcell wrote:
> > severity 318337 serious
> > merge 318337 319227
> > tags 219227 help
> > thanks
> >
> > We already have a report for this against the BTS, what I really need is
> > a patch to make it work.
> >
> > Can you assist?
>
> Isn't the obvious solution to remove the 'static' keyword from line 64 of
> channel.c?
>
> That, or to remove the declaration of 'uniquelock' from the header if it's
> not actually supposed to be supported.
>
> Or to rename one of the two variables in the source, if these are actually
> two variables with the same name.
>
> > > channel.c:64: error: static declaration of 'uniquelock' follows
> > > non-static declaration include/asterisk/channel.h:58: error: previous
> > > declaration of 'uniquelock' was here make[1]: ***
> > > [channel.o] Error 1



More information about the Pkg-voip-maintainers mailing list