error on libpri compile

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Jun 19 07:00:43 UTC 2006


On Mon, Jun 19, 2006 at 04:24:41PM +1000, CMOANZO wrote:
> Hi,
> 
> I am getting an error when I try to compile libpri. 

Which packages do you have installed? Are yu using a libpri deb?

If you're using the standard libpri tarball, you're better off at the
standard Asterisk "support channels" (lists, IRC, forums). Plenty of
Sarge users over there.

reportbug libpri would help if you use debs.

> I have done quite a lot of googling but can't find out what the problem is. 
> I have done a fresh install of Debian 3.1 r2. I installed all of the packages I was told to install on several different instructions on how to install on Debian.
> 
> This is my first time using Debian so I may be missing something very basic. This is the error I get (at least I think it is an error):
> 
> 
> pbx:/usr/src/libpri-1.2.3# make
> CC=gcc ./mkdep -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g   `ls *.c`
> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g     -c -o copy_string.o copy_string.c
> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g     -c -o pri.o pri.c
> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g     -c -o q921.o q921.c
> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g     -c -o prisched.o prisched.c
> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g     -c -o q931.o q931.c
> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g     -c -o pri_facility.o pri_facility.c
> ar rcs libpri.a copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o
> ranlib libpri.a
> gcc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g   -o copy_string.lo -c copy_string.c
> gcc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g   -o pri.lo -c pri.c
> gcc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g   -o q921.lo -c q921.c
> gcc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g   -o prisched.lo -c prisched.cgcc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g   -o q931.lo -c q931.c
> gcc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g   -o pri_facility.lo -c pri_facility.c
> gcc -shared -Wl,-hlibpri.so.1.0 -o libpri.so.1.0 copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo
> /sbin/ldconfig -n .
> ln -sf libpri.so.1.0 libpri.so
> ln -sf libpri.so.1.0 libpri.so.1

This seems like a normal invocation of 'make' 'make install' is probably
what you're missing. But I stress again, that this is probably not the
best place for your question.

> 
> 
> I would appreciate any help with this as I also ran into the same error compiling on SUSE 10.0 and it is driving me nuts. Thanks.

-- 
Tzafrir Cohen      sip:tzafrir at local.xorcom.com
icq#16849755       iax:tzafrir at local.xorcom.com
+972-50-7952406           
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the Pkg-voip-maintainers mailing list