Having trouble compiling asterisk-addons (Linux)

Hello;
I am trying to install asterisk and freepbx but am having trouble compiling the addons. According to the INSTALL file that came with freepbx, I need to compile the addons, but I am getting the following error:

make[1]: Entering directory /usr/src/asterisk-addons-1.4.5' make[2]: Entering directory/usr/src/asterisk-addons-1.4.5/asterisk-ooh323c’
make all-am
make[3]: Entering directory /usr/src/asterisk-addons-1.4.5/asterisk-ooh323c' make[3]: Leaving directory/usr/src/asterisk-addons-1.4.5/asterisk-ooh323c’
make[2]: Leaving directory /usr/src/asterisk-addons-1.4.5/asterisk-ooh323c' make[2]: Entering directory/usr/src/asterisk-addons-1.4.5/format_mp3’
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fPIC -O6 -fPIC -O6 -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
make[2]: Leaving directory /usr/src/asterisk-addons-1.4.5/format_mp3' make[1]: *** [format_mp3.so] Error 2 make[1]: Leaving directory/usr/src/asterisk-addons-1.4.5’
make: *** [all] Error 2

Does anyone know what this means?
Thanks
FSD

Hi,
I had the same problem. The solution is to download the patch (asterisk-addons-1.4.5-patch) and apply the patch.

Hope it helps.

ken