I’m trying to upgrade asterisk from source on a Fluxbuntu server, from 1.4.11 to 1.4.15. The compile and install of asterisk went fine. However, when I try to compile asterisk-addons, I get the following errors:
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fPIC -fPIC -D_REENTRANT -D_GNU_SOURCE -O6 -c -o format_mp3.o format_mp3.c
format_mp3.c: In function ‘mp3_open’:
format_mp3.c:101: error: ‘struct ast_filestream’ has no member named ‘private’
format_mp3.c: In function ‘mp3_close’:
format_mp3.c:118: error: ‘struct ast_filestream’ has no member named ‘private’
format_mp3.c: In function ‘mp3_squeue’:
format_mp3.c:126: error: ‘struct ast_filestream’ has no member named ‘private’
format_mp3.c: In function ‘mp3_dqueue’:
format_mp3.c:145: error: ‘struct ast_filestream’ has no member named ‘private’
format_mp3.c: In function ‘mp3_queue’:
format_mp3.c:157: error: ‘struct ast_filestream’ has no member named ‘private’
format_mp3.c: In function ‘mp3_read’:
format_mp3.c:202: error: ‘struct ast_filestream’ has no member named ‘private’
format_mp3.c: In function ‘mp3_seek’:
format_mp3.c:258: error: ‘struct ast_filestream’ has no member named ‘private’
format_mp3.c: In function ‘mp3_tell’:
format_mp3.c:298: error: ‘struct ast_filestream’ has no member named ‘private’
make[2]: *** [format_mp3.o] Error 1
This is both with 1.4.4 and 1.4.2. I tried compiling asterisk-addons-1.4.4 on another server that had not yet been upgraded from 1.4.11, and the compile completed successfully. I then compiled and installed 1.4.14, and likewise did not have a problem compiling asterisk-addons-1.4.4.