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-------------
[EMAIL PROTECTED] 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
[EMAIL PROTECTED] libss7]#
----------------------------
surely it needs zaptel.h badly, but where to find it?
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)
Matthew Fredrickson
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-ss7