Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73650 - Asterisk 1.0.3
Summary: Asterisk 1.0.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-07 05:20 UTC by Stefan de Konink
Modified: 2005-02-15 15:27 UTC (History)
0 users

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 Stefan de Konink 2004-12-07 05:20:26 UTC
A new release for the Asterisk PBX is available.

Reproducible: Always
Steps to Reproduce:
Comment 1 Stefan de Konink 2004-12-15 15:44:32 UTC
Asterisk is able to build with support for Speex, but it searches it on a non-Gentoo location /usr/include/speex.h or /usr/local/include/speex.h. If this is changed (I have done this with a patch) is codecs/Makefile Speex can be used too.
Comment 2 Sean Mahrt 2005-01-16 11:26:00 UTC
Trying on AMD64.  Libpri and zaptel compile.  format_mp3 error..

gcc -I/var/tmp/portage/asterisk-1.0.3/work/asterisk-1.0.3/include -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6 -m64 -shared -Xlinker -x -o format_mp3.so common.o dct64_i386.o decode_ntom.o layer3.o tabinit.o interface.o format_mp3.o
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: common.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
common.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [format_mp3.so] Error 1
make[1]: Leaving directory `/var/tmp/portage/asterisk-1.0.3/work/asterisk-addons-1.0.1/format_mp3'
make: *** [format_mp3/format_mp3.so] Error 2
Comment 3 Stefan Knoblich (RETIRED) gentoo-dev 2005-01-25 13:27:21 UTC
fixed
Comment 4 Stefan de Konink 2005-01-25 14:39:40 UTC
You did not fix the speex path.
Comment 5 Stefan Knoblich (RETIRED) gentoo-dev 2005-02-15 15:27:50 UTC
1.0.5 patches the makefile to check for /usr/include/speex.h (<=speex-1.0) and
/usr/include/speex/speex.h (>=speex-1.1.0)