Bug#318337: asterisk: FTBFS. channel.c:64: error: static declaration of 'uniquelock' follows non-static declaration
Mark Purcell
Mark Purcell <msp@debian.org>, 318337@bugs.debian.org
Thu Jul 14 21:34:36 UTC 2005
Package: asterisk
Version: 1:1.0.9.dfsg-1
Severity: important
Tags: help
Asterisk builds fine with gcc3, but FTBFS with gcc4.0 :-(
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
`/home/mark/src/debian/pkg-voip/build-area/asterisk-1.0.9.dfsg'
make: *** [build-arch-stamp] Error 2
Help..
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages asterisk depends on:
ii asterisk-config 1:1.0.9.dfsg-1 config files for asterisk
hi asterisk-sounds-main 1:1.0.9.dfsg-3 sound files for asterisk
hi libasound2 1.0.9-3 ALSA library
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libgsm1 1.0.10-13 Shared libraries for GSM speech co
ii libncurses5 5.4-8 Shared libraries for terminal hand
ii libnewt0.51 0.51.6-27 Not Erik's Windowing Toolkit - tex
ii libpq4 8.0.3-8 PostgreSQL C client library
ii libpri1 1.0.9-2 Primary Rate ISDN specification li
ii libspeex1 1.1.6-2 The Speex Speech Codec
ii libsqlite0 2.8.16-1 SQLite shared library
ii libssl0.9.7 0.9.7g-1 SSL shared libraries
ii libtonezone1 1:1.0.9-3 tonezone library (runtime)
ii unixodbc 2.2.11-8 ODBC tools libraries
ii zlib1g 1:1.2.2-8 compression library - runtime
asterisk recommends no packages.
-- no debconf information
More information about the Pkg-voip-maintainers
mailing list