libpri on builders

Elan Ruusamäe glen at
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 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/$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/lib/,)

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[1]: *** [chan_zap.o] Error 1
make[1]: Leaving directory `/home/users/builder/rpm/BUILD/asterisk-'
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 mailing list