Error While Compling

Hello Everyone,
I am trying to install Asterisk, but getting error message while “make install” in ZAPTEL,
llibpri gets installed properly, but zaptel gives error while compiling as follows:

/usr/include/asm-generic/siginfo.h:53: error: storage size of _pad' isn't known /usr/include/linux/stat.h:68: error: storage size ofatime’ isn’t known
/usr/include/linux/stat.h:69: error: storage size of mtime' isn't known /usr/include/linux/stat.h:70: error: storage size ofctime’ isn’t known
/usr/include/linux/fs.h:262: error: storage size of ia_atime' isn't known /usr/include/linux/fs.h:263: error: storage size ofia_mtime’ isn’t known
/usr/include/linux/fs.h:264: error: storage size of ia_ctime' isn't known /usr/include/linux/quota.h:226: error: storage size ofdq_dqb’ isn’t known
/usr/include/linux/fs.h:381: error: storage size of i_atime' isn't known /usr/include/linux/fs.h:382: error: storage size ofi_mtime’ isn’t known
/usr/include/linux/fs.h:383: error: storage size of i_ctime' isn't known /usr/include/linux/fs.h:515: error: storage size off_owner’ isn’t known
zaptel.h:1100: error: storage size of confin' isn't known zaptel.h:1101: error: storage size ofconfout’ isn’t known
zaptel.c:6423: error: storage size of `zt_fops’ isn’t known

Moreover, i want to run asterisk without any zaptel cards or any other card, i have my system and one VOIP Gateway, i do not want to use any other hardware, please tell me the ways to install asterisk properly.

Regards

Vijay Gandhi
vijay@gandhiinfotech.com

This is the message i get while installing asterisk, please update

build_tools/make_version_h > include/asterisk/version.h.tmp
if cmp -s include/asterisk/version.h.tmp include/asterisk/version.h ; then echo; else
mv include/asterisk/version.h.tmp include/asterisk/version.h ;
fi

rm -f include/asterisk/version.h.tmp
if cmp -s .cleancount .lastclean ; then echo ; else
make clean; cp -f .cleancount .lastclean;
fi

build_tools/make_defaults_h > defaults.h.tmp
if cmp -s defaults.h.tmp defaults.h ; then echo ; else
mv defaults.h.tmp defaults.h ;
fi

rm -f defaults.h.tmp
for x in res channels pbx apps codecs formats agi cdr funcs utils stdtime; do make -C $x depend || exit 1 ; done
make[1]: Entering directory /usr/src/asterisk/res' make[1]: Nothing to be done fordepend’.
make[1]: Leaving directory /usr/src/asterisk/res' make[1]: Entering directory/usr/src/asterisk/channels’
make[1]: Nothing to be done for depend'. make[1]: Leaving directory/usr/src/asterisk/channels’
make[1]: Entering directory /usr/src/asterisk/pbx' make[1]: Nothing to be done fordepend’.
make[1]: Leaving directory /usr/src/asterisk/pbx' /bin/sh: line 1: curl-config: command not found make[1]: Entering directory/usr/src/asterisk/apps’
make[1]: Nothing to be done for depend'. make[1]: Leaving directory/usr/src/asterisk/apps’
make[1]: Entering directory /usr/src/asterisk/codecs' make[1]: Nothing to be done fordepend’.
make[1]: Leaving directory /usr/src/asterisk/codecs' make[1]: Entering directory/usr/src/asterisk/formats’
make[1]: Nothing to be done for depend'. make[1]: Leaving directory/usr/src/asterisk/formats’
make[1]: Entering directory /usr/src/asterisk/agi' make[1]: Nothing to be done fordepend’.
make[1]: Leaving directory /usr/src/asterisk/agi' make[1]: Entering directory/usr/src/asterisk/cdr’
make[1]: Nothing to be done for depend'. make[1]: Leaving directory/usr/src/asterisk/cdr’
make[1]: Entering directory /usr/src/asterisk/funcs' make[1]: Nothing to be done fordepend’.
make[1]: Leaving directory /usr/src/asterisk/funcs' make[1]: Entering directory/usr/src/asterisk/utils’
make[1]: Nothing to be done for depend'. make[1]: Leaving directory/usr/src/asterisk/utils’
make[1]: Entering directory /usr/src/asterisk/stdtime' make[1]: Nothing to be done fordepend’.
make[1]: Leaving directory `/usr/src/asterisk/stdtime’
cd editline && unset CFLAGS LIBS && test -f config.h || ./configure
loading cache ./config.cache
checking for gcc… gcc
checking whether the C compiler (gcc ) works… yes
checking whether the C compiler (gcc ) is a cross-compiler… no
checking whether we are using GNU C… yes
checking whether gcc accepts -g… yes
checking how to run the C preprocessor… gcc -E
checking host system type… i686-pc-linux-gnu
checking for a BSD compatible install… install
checking for ranlib… ranlib
checking for ar… /usr/bin/ar
checking for tgetent in -ltermcap… no
checking for tgetent in -ltinfo… no
checking for tgetent in -lcurses… no
checking for tgetent in -lncurses… no
configure: error: termcap support not found
make: *** [editline/libedit.a] Error 1

Please update how to get this problem resolved.

Regards

Hi,
libtermcap library is missing, so compile the libtermcap source
or else find herewith the link for libtermcap rpm

rpmfind.net/linux/RPM/fedora/2/i … .i386.html

thanks & regards,
B.Priyalatha

thanks for that,
but now it looks as if any other file is missing

rm -f include/asterisk/build.h.tmp
gcc -c -o buildinfo.o -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -Iinclude -I…/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -fomit-frame-pointer buildinfo.c
gcc -g3 -o asterisk -Wl,-E io.o sched.o logger.o frame.o loader.o config.o channel.o translate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmodem.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o aescrypt.o aestab.o aeskey.o utils.o plc.o jitterbuf.o dnsmgr.o devicestate.o netsock.o slinfactory.o ast_expr2.o ast_expr2f.o cryptostub.o buildinfo.o editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a -ldl -lpthread -lncurses -lm -lresolv -lssl
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make: *** [asterisk] Error 1

i am getting this while compiling asterisk using make install.

Moreover i am installing asterisk on a system with linux, can you please tell me what all is the requirement, i do not want to use any hardware other than the VOIP gateway that i have.
please update the procedure to install asterisk and also the software requirements.

Yes, openssl is missing. You need to make sure you are following the instructions and installing the pre-requisites:

asterisk.org/download

Hello Thanks for that,
Can you please provide me link for compatible versions of the following

1)ncurses, and associated -devel
2)openssl, and associated -devel
3)zlib, and associated -devel
4)bison, and associated -devel (1.0.X only)

Moreover please update, that do i need to install zaptel, when i do not want to use any zaptel cards.
I want a solution where asterisk is working using my linux based system and VOIP gateway that i have and i want that to be used for predictive dialing, please update.

Thanks & Regards