Unless I'm missing something, it looks to me that libss7 compiles fine. Can you point out where you think the error is? Shuvro Hasan wrote: > I got it, have edited the chan_dahdi.conf file indeed. > > But my first quetsion on the compilation error with libss7. > So I have to resolve this error first, then I can look through the loading issu, am I right?? > Please advice me. > > > > > > ________________________________ > From: Zoltan Markella <zoltan.markella at openhorizont.co.uk> > To: asterisk-ss7 at lists.digium.com > Sent: Saturday, September 19, 2009 5:59:07 PM > Subject: Re: [asterisk-ss7] problem with libss7-1.0.2 installation; asterisk couldnt load libss7.so > > LibSS7 is accessed through chan_dahdi in asterisk. > > You need to modify the configuration file /etc/asterisk/chan_dahdi.conf > and then load the chan_dahdi.so module. > > In chan_dahdi.conf you need to set signalling to ss7 (along with a few > other ss7 related parameters). > > Zoltan > > Shuvro Hasan wrote: > >> Dear Sir >> >> Recently I have installed Digium TE405P E1 card and following tar in my fedora 10 box in order: >> dahdi-linuxcomplete-2.2.0.2+2.2.0 >> libss7-1.0.2 >> asterisk-1.6.1..6 >> >> I felt problem to compile libss7 with following error: >> >> [root at SSONE libss7-1.0.2]# make >> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT mtp2.o -MF .mtp2.o.d -MP -c -o mtp2.o mtp2.c >> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT ss7_sched.o -MF .ss7_sched.o.d -MP -c -o ss7_sched.o ss7_sched.c >> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT ss7.o -MF .ss7.o.d -MP -c -o ss7.o ss7.c >> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT mtp3.o -MF .mtp3.o.d -MP -c -o mtp3.o mtp3.c >> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT isup.o -MF .isup.o.d -MP -c -o isup.o isup.c >> gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -MD -MT version.o -MF .version.o.d -MP -c -o version.o version.c >> ar rcs libss7.a mtp2.o ss7_sched.o ss7.o mtp3.o isup.o version.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 version.o >> /sbin/ldconfig -n . >> ln -sf libss7.so.1 libss7.so >> ln -sf libss7.so.1.0 libss7.so.1 >> gcc -g -Wall -o parser_debug parser_debug.c libss7.a >> gcc -g -o ss7test ss7test.c libss7.a -lpthread >> gcc -g -o ss7linktest ss7linktest.c libss7.a -lpthread >> [root at SSONE libss7-1.0.2]# make install >> mkdir -p /usr/lib >> mkdir -p /usr/include >> install -m 644 libss7.h /usr/include >> install -m 755 libss7.so.1..0 /usr/lib >> ( cd /usr/lib ; ln -sf libss7.so.1 libss7.so ; ln -sf libss7.so.1.0 libss7.so.1 ) >> install -m 644 libss7.a /usr/lib >> if test $(id -u) = 0; then /sbin/ldconfig; fi >> >> >> dahdi is loaded fine, but I face problem with libss7. when I have tried to load libss7 in asterisk, I have got following warning: >> >> [Sep 19 22:09:38] WARNING[3364]: loader.c:385 load_dynamic_module: Error loading module 'libss7.so': /usr/lib/asterisk/modules/libss7.so: cannot open shared object file: No such file or directory >> [Sep 19 22:09:38] WARNING[3364]: loader.c:780 load_resource: Module 'libss7.so' could not be loaded. >> >> >> then I have moved libss7.so file in to /usr/lib/asterisk/module directory, and then try to load libss7 again. but still I have got following error: >> SONE*CLI> module load libss7 >> Unable to load module libss7 >> Command 'module load libss7' failed. >> [Sep 19 22:35:53] WARNING[3467]: loader.c:398 load_dynamic_module: Module 'libss7' did not register itself during load >> [Sep 19 22:35:53] WARNING[3467]: loader.c:780 load_resource: Module 'libss7' could not be loaded. >> >> I am looking for your help to reslove this issu. >> >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> --Bandwidth and Colocation Provided by http://www.api-digital.com-- >> >> asterisk-ss7 mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-ss7 >> > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-ss7 mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-ss7 > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-ss7 mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-ss7