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

Steve Langasek vorlon at debian.org
Wed Jul 20 23:54:56 UTC 2005


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

-- 
Steve Langasek
postmodern programmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20050720/0e6f92f0/attachment.pgp


More information about the Pkg-voip-maintainers mailing list