libpri on builders
glen at delfi.ee
Thu Aug 31 15:55:46 CEST 2006
On Wednesday 30 August 2006 18:00, Elan Ruusamäe wrote:
> On Wednesday 30 August 2006 17:41, Jakub Bogusz wrote:
> > On Wed, Aug 30, 2006 at 05:35:45PM +0300, Elan Ruusamäe wrote:
> > > why there's libpri.so.1 on some builders and none on my builder?
> > ldconfig doesn't create it?
any resolution to offer?
as currently asterisk.spec fails to build on some builders which have the symlink, as it has in it's Makefile:
ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/lib/libpri.so.1)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/lib/libpri.so.1),)
and defining the -DZAPATA_PRI breaks the build:
ppc-pld-linux-gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -fsigned-char -fsigned-char -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_zap.o chan_zap.c
chan_zap.c: In function `pri_dchannel':
chan_zap.c:9038: error: structure has no member named `call'
make: *** [chan_zap.o] Error 1
make: Leaving directory `/home/users/builder/rpm/BUILD/asterisk-188.8.131.52/channels'
make: *** [subdirs] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.35321 (%build)
note: exsisting asterisk package on ftp was built without -DZAPATA_PRI
More information about the pld-devel-en