Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113989 - asterisk-addons-1.2.0_beta1 doesn't compile
Summary: asterisk-addons-1.2.0_beta1 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-29 22:57 UTC by Christophe PEREZ
Modified: 2005-12-08 06:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe PEREZ 2005-11-29 22:57:03 UTC
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
Comment 1 Stefan Knoblich (RETIRED) gentoo-dev 2005-12-08 06:59:07 UTC
asterisk-addons-1.2.0 is in portage