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),) CFLAGS+=-DZAPATA_PRI ZAPPRI=-lpri endif 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-1.2.9.1/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 -- glen _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
