[asterisk-users] Asterisk 1.8 Installation Problem
Tilghman Lesher
tlesher at digium.com
Fri Nov 5 12:05:33 CDT 2010
On Friday 05 November 2010 10:21:32 Bogdan Sarandan wrote:
> We want to upgrade both our servers to asterisk 1.8, the one from
> Romania and the one from Chicago, but for the moment I`m trying to
> install Asterisk 1.8 on a test machine running CentOS 5.5 with the
> kernel: Linux asterisk3 2.6.18-194.17.4.el5PAE #1 SMP Mon Oct 25
> 16:35:27 EDT 2010 i686 i686 i386 GNU/Linux .
>
> I`ve tried many things from the forums and mailing lists but none seemed
> to help me. Our problem is that when we want to compile asterisk 1.8 we
> get this error:
>
> /packages/asterisk-1.8.0/addons/chan_ooh323.c:3888: multiple definition
> of `configure_local_rtp' ../addons/chan_ooh323.eo:(.text+0xd100): first
> defined here
> ../addons/chan_ooh323.o: In function
> `ooh323_update_capPrefsOrderForCall':
> /packages/asterisk-1.8.0/addons/chan_ooh323.c:3803: multiple definition
> of `ooh323_update_capPrefsOrderForCall'
> ../addons/chan_ooh323.eo:(.text+0xe1f0): first defined here
> /usr/bin/ld: Dwarf Error: Abbrev offset (13856) greater than or equal to
> .debug_abbrev size (1228). ../channels/chan_mgcp.eo: In function
> `mgcp_hangup':
> chan_mgcp.c:(.text+0xaf04): undefined reference to
> `ast_pktccops_gate_alloc' ../channels/chan_mgcp.eo: In function
> `start_rtp':
> chan_mgcp.c:(.text+0xbdb2): undefined reference to
> `ast_pktccops_gate_alloc' collect2: ld returned 1 exit status
> make[1]: *** [asterisk] Error 1
> make: *** [main] Error 2
>
>
> Does anyone have any idea what should we do in order to get it working ?
> From what I know the library libgpgme-pthread11.i386 was needed in
> order to have lpthread but with no luck , still doesn’t work.
This isn't correct. The pthreads library should already be installed by
default. The package you cite above is an encryption library.
I have a barebones CentOS 5.5 machine here, which I use for testing, and
the devel packages which I have installed are:
libstdc++-devel-4.1.2-48.el5
libxml2-devel-2.6.26-2.1.2.8
openssl-devel-0.9.8e-12.el5_4.6
slang-devel-2.0.6-4.el5
libsepol-devel-1.15.2-3.el5
ncurses-devel-5.5-24.20060715
libtool-ltdl-devel-1.5.22-7.el5_4
newt-devel-0.52.2-15.el5
glibc-devel-2.5-49.el5_5.4
zlib-devel-1.2.3-3
libselinux-devel-1.33.4-5.5.el5
krb5-devel-1.6.1-36.el5_5.5
keyutils-libs-devel-1.2-1.el5
e2fsprogs-devel-1.39-23.el5
unixODBC-devel-2.2.11-7.1
Given that I do not have any problems compiling Asterisk 1.8.0 (including
ooh323, which I had to enable, and chan_mgcp), I would suggest that you
verify that each of these packages is installed on your system. If you
install any of these, and that fixes the problem, please report back which
package solved the problem. I'd love to make a configure test to verify
that all required packages are installed before configure will succeed.
--
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list