Bug#319227: asterisk: ftbfs [sparc] static declaration of
'uniquelock' follows non-static declaration
Blars Blarson
blarson at blars.org
Wed Jul 20 15:32:20 UTC 2005
Package: asterisk
Version: 1:1.0.9.dfsg-3
Severity: serious
Justification: fails to build from source
asterisk failed to build on a sparc buildd, duplicated on my sparc pbuilder:
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run/asterisk\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTDATADIR=\"/usr/share/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/usr/share/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -c -o loader.o loader.c
loader.c: In function 'verify_key':
loader.c:89: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness
loader.c:90: warning: pointer targets in passing argument 1 of 'MD5Final' differ in signedness
loader.c:93: warning: pointer targets in passing argument 1 of 'printdigest' differ in signedness
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run/asterisk\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTDATADIR=\"/usr/share/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/usr/share/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -c -o config.o config.c
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run/asterisk\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTDATADIR=\"/usr/share/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/usr/share/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -c -o channel.o channel.c
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