[asterisk-users] libpri error

Kamlesh Kumar kamlesh_kmr at hotmail.com
Mon Jul 30 05:50:20 CDT 2012


when I issue 'make' command, below output comes. [root at localhost libpri-1.4.11.3]# make
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT copy_string.o -MF .copy_string.o.d -MP -c -o copy_string.o copy_string.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT pri.o -MF .pri.o.d -MP -c -o pri.o pri.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT q921.o -MF .q921.o.d -MP -c -o q921.o q921.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT prisched.o -MF .prisched.o.d -MP -c -o prisched.o prisched.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT q931.o -MF .q931.o.d -MP -c -o q931.o q931.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT pri_facility.o -MF .pri_facility.o.d -MP -c -o pri_facility.o pri_facility.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT asn1_primitive.o -MF .asn1_primitive.o.d -MP -c -o asn1_primitive.o asn1_primitive.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose.o -MF .rose.o.d -MP -c -o rose.o rose.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose_address.o -MF .rose_address.o.d -MP -c -o rose_address.o rose_address.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose_other.o -MF .rose_other.o.d -MP -c -o rose_other.o rose_other.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose_q931.o -MF .rose_q931.o.d -MP -c -o rose_q931.o rose_q931.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -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 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -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_facility.o asn1_primitive.o rose.o rose_address.o rose_etsi_aoc.o rose_etsi_diversion.o rose_etsi_ect.o rose_other.o rose_q931.o rose_qsig_aoc.o rose_qsig_ct.o rose_qsig_diversion.o rose_qsig_mwi.o rose_qsig_name.o version.o
ranlib libpri.a
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT copy_string.lo -MF .copy_string.lo.d -MP -c -o copy_string.lo copy_string.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT pri.lo -MF .pri.lo.d -MP -c -o pri.lo pri.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT q921.lo -MF .q921.lo.d -MP -c -o q921.lo q921.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT prisched.lo -MF .prisched.lo.d -MP -c -o prisched.lo prisched.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT q931.lo -MF .q931.lo.d -MP -c -o q931.lo q931.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT pri_facility.lo -MF .pri_facility.lo.d -MP -c -o pri_facility.lo pri_facility.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT asn1_primitive.lo -MF .asn1_primitive.lo.d -MP -c -o asn1_primitive.lo asn1_primitive.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose.lo -MF .rose.lo.d -MP -c -o rose.lo rose.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose_address.lo -MF .rose_address.lo.d -MP -c -o rose_address.lo rose_address.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose_etsi_aoc.lo -MF .rose_etsi_aoc.lo.d -MP -c -o rose_etsi_aoc.lo rose_etsi_aoc.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose_etsi_diversion.lo -MF .rose_etsi_diversion.lo.d -MP -c -o rose_etsi_diversion.lo rose_etsi_diversion.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose_etsi_ect.lo -MF .rose_etsi_ect.lo.d -MP -c -o rose_etsi_ect.lo rose_etsi_ect.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose_other.lo -MF .rose_other.lo.d -MP -c -o rose_other.lo rose_other.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose_q931.lo -MF .rose_q931.lo.d -MP -c -o rose_q931.lo rose_q931.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose_qsig_aoc.lo -MF .rose_qsig_aoc.lo.d -MP -c -o rose_qsig_aoc.lo rose_qsig_aoc.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose_qsig_ct.lo -MF .rose_qsig_ct.lo.d -MP -c -o rose_qsig_ct.lo rose_qsig_ct.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose_qsig_diversion.lo -MF .rose_qsig_diversion.lo.d -MP -c -o rose_qsig_diversion.lo rose_qsig_diversion.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose_qsig_mwi.lo -MF .rose_qsig_mwi.lo.d -MP -c -o rose_qsig_mwi.lo rose_qsig_mwi.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT rose_qsig_name.lo -MF .rose_qsig_name.lo.d -MP -c -o rose_qsig_name.lo rose_qsig_name.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC   -O2 -MD -MT version.lo -MF .version.lo.d -MP -c -o version.lo version.c
gcc -shared -Wl,-hlibpri.so.1.4 -o libpri.so.1.4 copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo asn1_primitive.lo rose.lo rose_address.lo rose_etsi_aoc.lo rose_etsi_diversion.lo rose_etsi_ect.lo rose_other.lo rose_q931.lo rose_qsig_aoc.lo rose_qsig_ct.lo rose_qsig_diversion.lo rose_qsig_mwi.lo rose_qsig_name.lo version.lo
/sbin/ldconfig -n .
ln -sf libpri.so.1.4 libpri.so[root at localhost libpri-1.4.11.3]#
 thanks,Kamlesh
 > To: asterisk-users at lists.digium.com
> From: asterisk_list at earthshod.co.uk
> Date: Mon, 30 Jul 2012 11:49:30 +0100
> Subject: Re: [asterisk-users] libpri error
> 
> (Do not write anything before the original message.  The proper place for a 
> reply is *after* the thing you are replying to.)
> 
> On Monday 30 July 2012, Kamlesh Kumar wrote:
> > > From: asterisk_list at earthshod.co.uk
> > > To: asterisk-users at lists.digium.com
> > > Date: Mon, 30 Jul 2012 11:22:54 +0100
> > > Subject: Re: [asterisk-users] libpri error
> > > 
> > > On Monday 30 July 2012, Kamlesh Kumar wrote:
> > > > Hello, Trying to install libpri version 1.4.11.3 on Centos 5.5. but
> > > > getting below errors. Please suggest the resolution.
> > > 
> > > That output doesn't look like error messages, but normal compilation
> > > output. If there is an actual error stopping it, we need to see the last
> > > few lines with the actual error message.
> > > 
> > > Important side question:  Have you ever successfully compiled libpri on
> > > this machine before?
> >
> > No, I'm trying first time. thanks,Kamlesh
> 
> OK, then.  What are the *last* few lines you get before it stops?  (All the 
> stuff you reproduced before was just normal compiler output.  If there was an 
> error at all, it would have been just before compilation failed.)
> 
> -- 
> AJS
> Price Engines Ltd.  DDI: 01283 707058.
> 
> -- 
> AJS
> 
> Answers come *after* questions.
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120730/ceace298/attachment.htm>


More information about the asterisk-users mailing list