|
Bug#319304: FTBFS: conflicting declarations of uniquelock: msg#00188linux.debian.packages.voip.devel
Package: asterisk Version: 1.0.9.dfsg-3 Severity: serious Tags: patch asterisk fails to build because it declares uniquelock as extern in channel.h and defines is as static in channel.c: gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -march=i386 -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 make[1]: Leaving directory `/tmp/buildd/asterisk-1.0.9.dfsg' make: *** [build-arch-stamp] Error 2 The attached patch makes the definition in channel.c not use static. -- Matt
Pkg-voip-maintainers mailing list Pkg-voip-maintainers@xxxxxxxxxxxxxxxxxxxxxxx http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-maintainers |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Bug#318337: Solution: 00188, Dan Weber |
|---|---|
| Next by Date: | Processed: Re: Bug#319304: FTBFS: conflicting declarations of uniquelock: 00188, Debian Bug Tracking System |
| Previous by Thread: | Bug#318337: Solutioni: 00188, Dan Weber |
| Next by Thread: | Bug#319304: FTBFS: conflicting declarations of uniquelock: 00188, Steve Langasek |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |