well i can suggest you to have your packages(libss7, zaptel-trunk & asterisk-trunk) re-checked from the digium svn, because i myself initially had not exactly the same but similar kind of problems comming, but keeping on re-checking all of the three packages each time solved the installing problem atlast On 10/11/06, Jan Rudinsky <rudinsj@xxxxxxxxxxx> wrote: > > > > On Sep 26, 2006, at 5:29 AM, umar tarar wrote: > > > with referance to my post on sep-25 in this thread, plz notify me of > > if i am mistaken or missing anything abt installing asterisk-ss7 > > having it now re-checked successfully. From the error log on that post > > it seems that it requires 'version.h' which i am not able to find for > > it that suits it, plz help here... > > > > & abt libss7: though i've been able to successfully check it now but > > this time upon 'make' it demands zaptel.h which in the whole system of > > mine i've not been able to find, the error log goes here; > > -----------CLI Log------------- > > [root at ACDsvr libss7]# make > > gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC > > -c -o mtp2.o mtp2.c > > gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC > > -c -o ss7_sched.o ss7_sched.c > > gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC > > -c -o ss7.o ss7.c > > gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC > > -c -o mtp3.o mtp3.c > > gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC > > -c -o isup.o isup.c > > ar rcs libss7.a mtp2.o ss7_sched.o ss7.o mtp3.o isup.o > > ranlib libss7.a > > gcc -shared -Wl,-hlibss7.so.1 -o libss7.so.1.0 mtp2.o ss7_sched.o > > ss7.o mtp3.o isup.o > > /sbin/ldconfig -n . > > ln -sf libss7.so.1 libss7.so > > gcc -g -o ss7test ss7test.c libss7.a -lpthread > > gcc -g -o ss7linktest ss7linktest.c libss7.a -lpthread > > ss7linktest.c:13:27: error: zaptel/zaptel.h: No such file or directory > > ss7linktest.c: In function 'ss7_run': > > ss7linktest.c:91: error: 'ZT_GETEVENT' undeclared (first use in this > > function) > > ss7linktest.c:91: error: (Each undeclared identifier is reported only > > once > > ss7linktest.c:91: error: for each function it appears in.) > > ss7linktest.c:95: error: 'ZT_EVENT_OVERRUN' undeclared (first use in > > this function) > > ss7linktest.c:98: error: 'ZT_EVENT_BADFCS' undeclared (first use in > > this function) > > ss7linktest.c:101: error: 'ZT_EVENT_ABORT' undeclared (first use in > > this function) > > ss7linktest.c: In function 'zap_open': > > ss7linktest.c:195: error: 'ZT_BUFFERINFO' undeclared (first use in > > this function) > > ss7linktest.c:195: error: syntax error before 'bi' > > ss7linktest.c:197: error: 'ZT_SPECIFY' undeclared (first use in this > > function) > > ss7linktest.c:201: error: 'bi' undeclared (first use in this function) > > ss7linktest.c:201: error: 'ZT_POLICY_IMMEDIATE' undeclared (first use > > in this function) > > ss7linktest.c:205: error: 'ZT_SET_BUFINFO' undeclared (first use in > > this function) > > make: *** [ss7linktest] Error 1 > > [root at ACDsvr libss7]# > > ---------------------------- > > surely it needs zaptel.h badly, but where to find it? > > ----------- Matthew Fredrickson wrote: ---------------------- > You've got the wrong version of zaptel installed. If you had the trunk > version of zaptel installed (or the 1.4 beta release) it would be able > to compile. You *must* have zaptel trunk for it to work. I added > support in zaptel to make different parts of SS7 easier to do. To > check out zaptel trunk, this is what you need to do: > `svn co http://svn.digium.com/svn/zaptel/trunk zaptel-trunk` > > Do a `make; make install` in that directory (zaptel-trunk) and then try > compiling. Also, you may want to get asterisk trunk as well, since > that I merged in all the libss7 changes from the asterisk-ss7 branch > into asterisk-trunk. (svn co http://svn.digium.com/svn/asterisk/trunk > asterisk-trunk) > > -------------------------------------------------------------------------------- > > > Hi Matthew, > I had similar problem to umar and following your previous posts I > installed the zaptel trunk. But I still fail to compile asterisk with > libss7. > First I tried the asterisk-ss7 version, but it didn't compile the > chan_zap module (though it was selected in menuselect). > Than I moved to asterisk-trunk version where the compilation ends with: > > $ make > ...[CC] chan_zap.c -> chan_zap.o > chan_zap.c: In function 'zap_send_keypad_facility_exec': > chan_zap.c:2496: warning: implicit declaration of function > 'pri_keypad_facility' > chan_zap.c: In function 'pri_dchannel': > chan_zap.c:10070: error: 'pri_event_setup_ack' has no member named 'call' > make[1]: *** [chan_zap.o] Error 1 > make: *** [channels] Error 2 > > Do you have any suggestions what to change? > > Jan Rudinsky > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com <http://easynews.com/>-- > > asterisk-ss7 mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-ss7 > -- |__\__/__| /__/ \__\ |__| \__| -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20061012/4520d329/attachment.htm