When I try to install asterisk-addons : # emerge -Dauv asterisk-addons [ebuild N ] net-misc/asterisk-addons-1.2.0_beta1 +h323 +mysql -sqlite 0 kB [...] format_mp3.c: In function `load_module': format_mp3.c:335: warning: passing arg 4 of `ast_format_register' from incompatible pointer type format_mp3.c:335: warning: passing arg 5 of `ast_format_register' from incompatible pointer type gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -shared -Xlinker -x -o format_mp3.so common.o dct64_i386.o decode_ntom.o layer3.o tabinit.o interface.o format_mp3.o make[1]: Leaving directory `/var/tmp/portage/asterisk-addons-1.2.0_beta1/work/asterisk-addons-1.2.0-beta1/format_mp3' cc -O2 -march=pentium4 -pipe -fomit-frame-pointer -fPIC -fPIC -D_GNU_SOURCE -I/usr/include/mysql -c -o app_saycountpl.o app_saycountpl.c In file included from app_saycountpl.c:10: /usr/include/asterisk/file.h:27:2: #error You must include stdio.h before file.h! In file included from app_saycountpl.c:10: /usr/include/asterisk/file.h:56: error: syntax error before '*' token /usr/include/asterisk/file.h:57: error: syntax error before '*' token Reproducible: Always Steps to Reproduce: 1. emerge -Dauv asterisk-addons
asterisk-addons-1.2.0 is in portage