to have lpthread but with no luck , still doesn=E2=80=99t work. Thanks for the answers guys, Bogdan ------=_NextPart_000_0728_01CB7CD3.380311A0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <HTML><HEAD></HEAD> <BODY dir=3Dltr> <DIV dir=3Dltr> <DIV style=3D"FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt"> <DIV>Hi,</DIV> <DIV> </DIV> <DIV>We want to upgrade both our servers to asterisk 1.8, the one from Romania=20 and the one from Chicago, but for the moment I`m trying to install Asterisk 1.8=20 on a test machine running CentOS 5.5 with the kernel: Linux asterisk3=20 2.6.18-194.17.4.el5PAE #1 SMP Mon Oct 25 16:35:27 EDT 2010 i686 i686 i386=20 GNU/Linux .</DIV> <DIV> </DIV> <DIV>I`ve tried many things from the forums and mailing lists but none seemed to=20 help me. Our problem is that when we want to compile asterisk 1.8 we get this=20 error:</DIV> <DIV> </DIV> <DIV><EM>/packages/asterisk-1.8.0/addons/chan_ooh323.c:3888: multiple definition=20 of `configure_local_rtp'</EM></DIV> <DIV><EM>../addons/chan_ooh323.eo:(.text+0xd100): first defined here</EM></DIV> <DIV><EM>../addons/chan_ooh323.o: In function=20 `ooh323_update_capPrefsOrderForCall':</EM></DIV> <DIV><EM>/packages/asterisk-1.8.0/addons/chan_ooh323.c:3803: multiple definition=20 of `ooh323_update_capPrefsOrderForCall'</EM></DIV> <DIV><EM>../addons/chan_ooh323.eo:(.text+0xe1f0): first defined here</EM></DIV> <DIV><EM>/usr/bin/ld: Dwarf Error: Abbrev offset (13856) greater than or equal=20 to .debug_abbrev size (1228).</EM></DIV> <DIV><EM>../channels/chan_mgcp.eo: In function `mgcp_hangup':</EM></DIV> <DIV><EM>chan_mgcp.c:(.text+0xaf04): undefined reference to=20 `ast_pktccops_gate_alloc'</EM></DIV> <DIV><EM>../channels/chan_mgcp.eo: In function `start_rtp':</EM></DIV> <DIV><EM>chan_mgcp.c:(.text+0xbdb2): undefined reference to=20 `ast_pktccops_gate_alloc'</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>make[1]: *** [asterisk] Error 1</EM></DIV> <DIV><EM>make: *** [main] Error 2</EM></DIV> <DIV> </DIV> <DIV> </DIV> <DIV>I don=E2=80=99t know if this helps but I`ve also copied a part of the config.log=20 file which contains the ld word:</DIV> <DIV> </DIV> <DIV><EM>[root at asterisk3 asterisk-1.8.0]# less config.log | grep ld</EM></DIV> <DIV><EM>configure:3302: checking build system type</EM></DIV> <DIV><EM>configure:6461: checking for ld used by gcc</EM></DIV> <DIV><EM>configure:6528: result: /usr/bin/ld</EM></DIV> <DIV><EM>configure:6535: checking if the linker (/usr/bin/ld) is GNU=20 ld</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lpthreads</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -llthread</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>configure:9680: gcc -o conftest -g -O2 conftest.c=20 -L/usr/kerberos/lib -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn=20 -lssl -lcrypto -lz >&5</EM></DIV> <DIV><EM>configure:9707: gcc -o conftest -g -O2 =20 conftest.c -L/usr/kerberos/lib -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto=20 -lcom_err -lidn -lssl -lcrypto -lz >&5</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>configure:14123: checking for strtold</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>configure:14268: checking for a version of GNU ld that supports the=20 --dynamic-list flag</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>configure:16677: gcc -o conftest -g -O2 conftest.c=20 -lasound -lm -ldl -lm >&5</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lgsm</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -liconv</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lical</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -liodbc</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -ljack</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>configure:19101: checking for ldap_initialize in -lldap</EM></DIV> <DIV><EM>configure:19126: gcc -o conftest -g -O2 conftest.c=20 -lldap -lm >&5</EM></DIV> <DIV><EM>configure:19161: checking ldap.h usability</EM></DIV> <DIV><EM>configure:19161: checking ldap.h presence</EM></DIV> <DIV><EM>configure:19161: checking for ldap.h</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lmISDN</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lnbs</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>configure:20595: gcc -o conftest -g -O2 -DINET6 -O2 -g -pipe=20 -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector=20 --param=3Dssp-buffer-size=3D4 -m32 -march=3Di386 -mtune=3Dgeneric=20 -fasynchronous-unwind-tables -g -lcrypto -DNETSNMP_NO_INLINE -Dlinux=20 -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE=20 -D_FILE_OFFSET_BITS=3D64 -I/usr/include/gdbm=20 -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I.=20 -I/usr/include/net-snmp conftest.c -L/usr/lib -lnetsnmpmibs -lnetsnmpagent=20 -lnetsnmphelpers -lnetsnmp -ldl -lrpm -lrpmio -lpopt -lz -lcrypto -lm -lsensors=20 -L/usr/lib/lib -lwrap -Wl,-E=20 -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -L/usr/local/lib=20 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a=20 -L/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -lperl -lresolv -lnsl -ldl=20 -lm -lcrypt -lutil -lpthread -lc >&5</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lexecinfo</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lbluetooth</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>configure:23074: checking for pri_hold_enable in -lpri</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lopenr2</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -llua5.1</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -llua</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lradiusclient-ng</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lSaClm</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lspeexdsp</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lsqlite</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lsrtp</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lhoard</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lsybdb</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -ltinfo</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lSDL_image</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>/usr/bin/ld: cannot find -lavcodec</EM></DIV> <DIV><EM>collect2: ld returned 1 exit status</EM></DIV> <DIV><EM>| builtin and then its argument prototype would still=20 apply. */</EM></DIV> <DIV><EM>config.status:1586: creating build_tools/menuselect-deps</EM></DIV> <DIV><EM>configure:30660: build-cpu:vendor:os: i686 : pc : linux-gnu=20 :</EM></DIV> <DIV><EM>ac_cv_build=3Di686-pc-linux-gnu</EM></DIV> <DIV><EM>ac_cv_env_build_alias_set=3D</EM></DIV> <DIV><EM>ac_cv_env_build_alias_value=3D</EM></DIV> <DIV><EM>ac_cv_func_strtold=3Dyes</EM></DIV> <DIV><EM>ac_cv_header_ldap_h=3Dyes</EM></DIV> <DIV><EM>ac_cv_lib_ldap_ldap_initialize=3Dyes</EM></DIV> <DIV><EM>ac_cv_lib_pri_pri_hold_enable=3Dyes</EM></DIV> <DIV><EM>lt_cv_path_LD=3D/usr/bin/ld</EM></DIV> <DIV><EM>lt_cv_prog_gnu_ld=3Dyes</EM></DIV> <DIV><EM>ALSA_LIB=3D' -lasound -lm -ldl'</EM></DIV> <DIV><EM>CURL_LIB=3D'-L/usr/kerberos/lib -lcurl -ldl -lgssapi_krb5 -lkrb5=20 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz '</EM></DIV> <DIV><EM>GTK2_LIB=3D'-L/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0=20 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl=20 -lglib-2.0 '</EM></DIV> <DIV><EM>LD=3D'/usr/bin/ld'</EM></DIV> <DIV><EM>LDAP_LIB=3D' -lldap '</EM></DIV> <DIV><EM>NETSNMP_LIB=3D'-L/usr/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers=20 -lnetsnmp -ldl -lrpm -lrpmio -lpopt -lz -lcrypto -lm -lsensors -L/usr/lib/lib=20 -lwrap -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE=20 -L/usr/local/lib=20 /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a=20 -L/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -lperl -lresolv -lnsl -ldl=20 -lm -lcrypt -lutil -lpthread -lc'</EM></DIV> <DIV><EM>astspooldir=3D'${localstatedir}/spool/asterisk'</EM></DIV> <DIV><EM>build=3D'i686-pc-linux-gnu'</EM></DIV> <DIV><EM>build_alias=3D''</EM></DIV> <DIV><EM>build_cpu=3D'i686'</EM></DIV> <DIV><EM>build_os=3D'linux-gnu'</EM></DIV> <DIV><EM>build_vendor=3D'pc'</EM></DIV> <DIV><EM>htmldir=3D'${docdir}'</EM></DIV> <DIV><EM>oldincludedir=3D'/usr/include'</EM></DIV> <DIV><EM></EM> </DIV> <DIV> </DIV> <DIV>Does anyone have any idea what should we do in order to get it working ?=20