My system is a Gentoo 64-bit (amd64) Intel EM64T.
I get the following compilation error:
cd /usr/src/asterisk-addons-1.2/
make clean
rm -f *.so *.o .depend
make -C format_mp3 clean
make[1]: Entering directory /usr/src/asterisk-addons-1.2/format_mp3' rm -f *.o *.so *~ make[1]: Leaving directory
/usr/src/asterisk-addons-1.2/format_mp3’
make
./mkdep -fPIC -I…/asterisk -D_GNU_SOURCE -I/usr/include/mysql ls *.c
make -C format_mp3 all
make[1]: Entering directory /usr/src/asterisk-addons-1.2/format_mp3' gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -m64 -c -o common.o common.c gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -m64 -c -o dct64_i386.o dct64_i386.c gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -m64 -c -o decode_ntom.o decode_ntom.c gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -m64 -c -o layer3.o layer3.c gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -m64 -c -o tabinit.o tabinit.c gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -m64 -c -o interface.o interface.c gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -m64 -c -o format_mp3.o format_mp3.c format_mp3.c:46: error: redefinition of
struct ast_filestream’
format_mp3.c: In function load_module': format_mp3.c:336: warning: passing arg 1 of
ast_format_register’ from incompatible pointer type
format_mp3.c:336: error: too many arguments to function ast_format_register' make[1]: *** [format_mp3.o] Error 1 make[1]: Leaving directory
/usr/src/asterisk-addons-1.2/format_mp3’
make: *** [format_mp3/format_mp3.so] Error 2
svn info
Path: .
URL: svn.digium.com/svn/asterisk-addons/branches/1.2
Repository UUID: bbbafe65-6c06-0410-a0a5-c710d232821c
Revision: 204
Node Kind: directory
Schedule: normal
Last Changed Author: objsys
Last Changed Rev: 202
Last Changed Date: 2006-03-02 23:56:17 +0100 (Thu, 02 Mar 2006)
Properties Last Updated: 2006-04-06 12:53:35 +0200 (Thu, 06 Apr 2006)
Compilation on a 32 bit Gentoo system completed fine.
Any clues?