[asterisk-users] Errors Compiling Libpri-1.4.13

Adolphus Enaboifo adolphus.enaboifo at osenkorp.com
Mon Nov 26 08:28:08 CST 2012


Hi Dear List members ,

this is coming rather late but I took your advice and went ahead to install
Dahdi before installing libpri-1.4.13
and the error messages are now different.(see attachment)
Kindly help .
I have tried this  several times and I get stuck on Libpri installation.
Your input is highly sought and appreciated.

thanks

Adolphus Enaboifo



On Mon, Nov 19, 2012 at 8:47 PM, Adolphus Enaboifo <
adolphus.enaboifo at osenkorp.com> wrote:

>
> Good Day dear members,
>
> We are trying to test asterisk in our office to extend the reach of our
> present proprietary pabx system if successful.
> I am using an oracle virualbox 4.2.4 as the virtual server platform with
> ubuntu 12.04.1 server as the operating system.
>
> I get errors while trying to compile Libpri 1.4.13. (check attachment}
> Can you guys please help me prescribe a fix.
>
> thanks
> Adolphus Enaboifo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121126/f072526c/attachment.htm>
-------------- next part --------------
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT copy_string.o -MF .copy_string.o.d -MP -c -o copy_string.o copy_string.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT pri.o -MF .pri.o.d -MP -c -o pri.o pri.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT q921.o -MF .q921.o.d -MP -c -o q921.o q921.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT prisched.o -MF .prisched.o.d -MP -c -o prisched.o prisched.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT q931.o -MF .q931.o.d -MP -c -o q931.o q931.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT pri_aoc.o -MF .pri_aoc.o.d -MP -c -o pri_aoc.o pri_aoc.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT pri_cc.o -MF .pri_cc.o.d -MP -c -o pri_cc.o pri_cc.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT pri_facility.o -MF .pri_facility.o.d -MP -c -o pri_facility.o pri_facility.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT asn1_primitive.o -MF .asn1_primitive.o.d -MP -c -o asn1_primitive.o asn1_primitive.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose.o -MF .rose.o.d -MP -c -o rose.o rose.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose_address.o -MF .rose_address.o.d -MP -c -o rose_address.o rose_address.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose_etsi_aoc.o -MF .rose_etsi_aoc.o.d -MP -c -o rose_etsi_aoc.o rose_etsi_aoc.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose_etsi_cc.o -MF .rose_etsi_cc.o.d -MP -c -o rose_etsi_cc.o rose_etsi_cc.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose_etsi_diversion.o -MF .rose_etsi_diversion.o.d -MP -c -o rose_etsi_diversion.o rose_etsi_diversion.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose_etsi_ect.o -MF .rose_etsi_ect.o.d -MP -c -o rose_etsi_ect.o rose_etsi_ect.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose_etsi_mwi.o -MF .rose_etsi_mwi.o.d -MP -c -o rose_etsi_mwi.o rose_etsi_mwi.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose_other.o -MF .rose_other.o.d -MP -c -o rose_other.o rose_other.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose_q931.o -MF .rose_q931.o.d -MP -c -o rose_q931.o rose_q931.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose_qsig_aoc.o -MF .rose_qsig_aoc.o.d -MP -c -o rose_qsig_aoc.o rose_qsig_aoc.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose_qsig_cc.o -MF .rose_qsig_cc.o.d -MP -c -o rose_qsig_cc.o rose_qsig_cc.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose_qsig_ct.o -MF .rose_qsig_ct.o.d -MP -c -o rose_qsig_ct.o rose_qsig_ct.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose_qsig_diversion.o -MF .rose_qsig_diversion.o.d -MP -c -o rose_qsig_diversion.o rose_qsig_diversion.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose_qsig_mwi.o -MF .rose_qsig_mwi.o.d -MP -c -o rose_qsig_mwi.o rose_qsig_mwi.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT rose_qsig_name.o -MF .rose_qsig_name.o.d -MP -c -o rose_qsig_name.o rose_qsig_name.c
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT version.o -MF .version.o.d -MP -c -o version.o version.c
ar rcs libpri.a copy_string.o pri.o q921.o prisched.o q931.o pri_aoc.o pri_cc.o pri_facility.o asn1_primitive.o rose.o rose_address.o rose_etsi_aoc.o rose_etsi_cc.o rose_etsi_diversion.o rose_etsi_ect.o rose_etsi_mwi.o rose_other.o rose_q931.o rose_qsig_aoc.o rose_qsig_cc.o rose_qsig_ct.o rose_qsig_diversion.o rose_qsig_mwi.o rose_qsig_name.o version.o
ranlib libpri.a
gcc  -shared -Wl,-hlibpri.so.1.4  -o libpri.so.1.4 copy_string.o pri.o q921.o prisched.o q931.o pri_aoc.o pri_cc.o pri_facility.o asn1_primitive.o rose.o rose_address.o rose_etsi_aoc.o rose_etsi_cc.o rose_etsi_diversion.o rose_etsi_ect.o rose_etsi_mwi.o rose_other.o rose_q931.o rose_qsig_aoc.o rose_qsig_cc.o rose_qsig_ct.o rose_qsig_diversion.o rose_qsig_mwi.o rose_qsig_name.o version.o
/sbin/ldconfig -n .
ln -sf libpri.so.1.4 libpri.so
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT pridump.o -MF .pridump.o.d -MP -c -o pridump.o pridump.c
gcc -o pridump pridump.o -L. -lpri -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2 
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT pritest.o -MF .pritest.o.d -MP -c -o pritest.o pritest.c
pritest.c: ln function do_channel:
Pritest.c:71:8: error: ignoring return value of write, declared with warn_unused_result [-Werror=unused-result]
cc1: all warnings being treated as errors
make:***[pritest.o] Error 1


More information about the asterisk-users mailing list