christopher kamutumwa
2016-Oct-08 11:57 UTC
[asterisk-users] Error when installing asterisk on Ubuntu 16.03LTS
Hello, I am trying to install asterisk 14 on ubuntu 16 but i am getting below error message please assist with how to resolve that after i run make && make install && make config && make samples [LD] astdb2bdb.o db1-ast/libdb1.a -> astdb2bdb [CPP] chan_unistim.c -> chan_unistim.i [CCi] chan_unistim.i -> chan_unistim.o [LD] chan_unistim.o -> chan_unistim.so /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginT.o: relocation R_X86_64_32 against `__TMC_END__' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginT.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status /usr/src/asterisk-14.0.2/Makefile.rules:176: recipe for target 'chan_unistim.so' failed make[1]: *** [chan_unistim.so] Error 1 Makefile:397: recipe for target 'channels' failed make: *** [channels] Error 2 thanks chri
Антон Сацкий
2016-Oct-08 13:03 UTC
[asterisk-users] Error when installing asterisk on Ubuntu 16.03LTS
try to uncheck chan_unistim.so module 2016-10-08 14:57 GMT+03:00 christopher kamutumwa <chriskamutumwa at gmail.com>:> Hello, > I am trying to install asterisk 14 on ubuntu 16 but i am getting below > error message please assist with how to resolve that after i run make > && make install && make config && make samples > > [LD] astdb2bdb.o db1-ast/libdb1.a -> astdb2bdb > [CPP] chan_unistim.c -> chan_unistim.i > [CCi] chan_unistim.i -> chan_unistim.o > [LD] chan_unistim.o -> chan_unistim.so > /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginT.o: relocation > R_X86_64_32 against `__TMC_END__' can not be used when making a shared > object; recompile with -fPIC > /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginT.o: error adding symbols: Bad > value > collect2: error: ld returned 1 exit status > /usr/src/asterisk-14.0.2/Makefile.rules:176: recipe for target > 'chan_unistim.so' failed > make[1]: *** [chan_unistim.so] Error 1 > Makefile:397: recipe for target 'channels' failed > make: *** [channels] Error 2 > > thanks > > chri > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016 > http://www.asterisk.org/community/astricon-user-conference > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Best regards Antony tel. +380669197533 tel2. +380636564340 Paypal http://paypal.me/Satskiy <http://paypal.me/Satskiy?ppid=PPC000654&cnac=PL&rsta=en_PL(en_DK)&cust=NN8XJS9XEP22C&unptid=21db79ac-ef8d-11e5-9553-9c8e992ea258&t=&cal=4d776c21ca7d2&calc=4d776c21ca7d2&calf=4d776c21ca7d2&unp_tpcid=ppme-social-business-profile-created&page=main:email&pgrp=main:email&e=op&mchn=em&s=ci&mail=sys> satskiy.a at gmail.com <mail%3Asatskiy.a at gmail.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161008/54043142/attachment.html>