[Asterisk-Dev] compile error

Martin Pycko martinp at digium.com
Fri Apr 25 07:33:11 MST 2003


Make sure that you have the right version of zaptel,
do this and compare results:
[root at blah /usr/src/zaptel]# more CVS/Entries | grep zaptel.h
/zaptel.h/1.3/Mon Apr 14 15:33:31 2003//

Martin

On Fri, 25 Apr 2003, Tomaz Izanc wrote:

> same problem :(
> hmm
> am i only one with this problem ?
> tnx,
> thomas
>
> Sergio Serrano Revuelto wrote:
>
> >Hi,
> >	try this:
> >
> >	cd zaptel
> >	rm *
> >	cvs update
> >
> >
> >
> >srsergio
> >
> >
> >-----Mensaje original-----
> >De: asterisk-dev-admin at lists.digium.com
> >[mailto:asterisk-dev-admin at lists.digium.com] En nombre de Tomaz Izanc
> >Enviado el: viernes, 25 de abril de 2003 9:23
> >Para: asterisk-dev at lists.digium.com
> >Asunto: Re: [Asterisk-Dev] compile error
> >
> >
> >hi!
> >
> >zaptel recompile ok..
> >same error still here-
> >what can do ?
> >
> >
> >Jared Smith wrote:
> >
> >
> >
> >>Did you check out the latest zaptel recompile it first?
> >>
> >>On Thu, 2003-04-24 at 13:54, Tomaz Izanc wrote:
> >>
> >>
> >>
> >>
> >>>same problem
> >>>what can be a problem ?
> >>>tnx,
> >>>thomas
> >>>
> >>>---
> >>>
> >>>if [ -d CVS ] && ! [ -f .version ]; then echo "CVS-`date +"%D-%T"`" >
> >>>.version; fi
> >>>for x in res channels pbx apps codecs formats agi cdr astman; do make
> >>>
> >>>
> >-C
> >
> >
> >>>$x || exit 1 ; done
> >>>make[1]: Entering directory `/usr/src/asterisk/asterisk/res'
> >>>make[1]: Nothing to be done for `all'.
> >>>make[1]: Leaving directory `/usr/src/asterisk/asterisk/res'
> >>>make[1]: Entering directory `/usr/src/asterisk/asterisk/channels'
> >>>gcc -c -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> >>>-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT
> >>>-D_GNU_SOURCE  -O6 -march=i686
> >>>-DASTERISK_VERSION=\"CVS-04/24/03-21:44:39\" -DINSTALL_PREFIX=\"\"
> >>>-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
> >>>-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
> >>>-DASTSPOOLDIR=\"/var/spool/asterisk\"
> >>>
> >>>
> >-DASTLOGDIR=\"/var/log/asterisk\"
> >
> >
> >>>-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
> >>>-DASTMODDIR=\"/usr/lib/asterisk/modules\"
> >>>-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"    -Wno-missing-prototypes
> >>>-Wno-missing-declarations     -DIAX_TRUNKING -DCRYPTO  -o chan_zap.o
> >>>chan_zap.c
> >>>chan_zap.c: In function `sig2str':
> >>>chan_zap.c:790: `ZT_SIG_SF' undeclared (first use in this function)
> >>>chan_zap.c:790: (Each undeclared identifier is reported only once
> >>>chan_zap.c:790: for each function it appears in.)
> >>>chan_zap.c: In function `zt_call':
> >>>chan_zap.c:1278: `ZT_SIG_SF' undeclared (first use in this function)
> >>>chan_zap.c:1157: warning: unused variable `s'
> >>>chan_zap.c: In function `zt_answer':
> >>>chan_zap.c:1737: `ZT_SIG_SF' undeclared (first use in this function)
> >>>chan_zap.c: In function `zt_handle_event':
> >>>chan_zap.c:2512: `ZT_SIG_SF' undeclared (first use in this function)
> >>>chan_zap.c: In function `zt_new':
> >>>chan_zap.c:3471: `ZT_SIG_SF' undeclared (first use in this function)
> >>>chan_zap.c: In function `ss_thread':
> >>>chan_zap.c:3640: `ZT_SIG_SF' undeclared (first use in this function)
> >>>chan_zap.c: In function `handle_init_event':
> >>>chan_zap.c:4268: `ZT_SIG_SF' undeclared (first use in this function)
> >>>chan_zap.c: In function `mkintf':
> >>>chan_zap.c:4815: `ZT_SIG_SF' undeclared (first use in this function)
> >>>chan_zap.c: In function `load_module':
> >>>chan_zap.c:6395: `ZT_SIG_SF' undeclared (first use in this function)
> >>>make[1]: *** [chan_zap.o] Error 1
> >>>make[1]: Leaving directory `/usr/src/asterisk/asterisk/channels'
> >>>make: *** [subdirs] Error 1
> >>>Jeremy McNamara wrote:
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>cvs update zaptel
> >>>>
> >>>>
> >>>>Tomaz Izanc wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>hi!
> >>>>>
> >>>>>Has anyone idea what is wrong with updated cvs .. i got this error:
> >>>>>tnx,thomas
> >>>>>
> >>>>>
> >>>>>make[1]: Leaving directory `/usr/src/asterisk/asterisk/res'
> >>>>>make[1]: Entering directory `/usr/src/asterisk/asterisk/channels'
> >>>>>gcc -c -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> >>>>>-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT
> >>>>>-D_GNU_SOURCE  -O6 -march=i686
> >>>>>-DASTERISK_VERSION=\"CVS-04/24/03-20:21:32\" -DINSTALL_PREFIX=\"\"
> >>>>>-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
> >>>>>-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
> >>>>>-DASTSPOOLDIR=\"/var/spool/asterisk\"
> >>>>>-DASTLOGDIR=\"/var/log/asterisk\"
> >>>>>-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
> >>>>>-DASTMODDIR=\"/usr/lib/asterisk/modules\"
> >>>>>-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"    -Wno-missing-prototypes
> >>>>>
> >>>>>
> >
> >
> >
> >>>>>-Wno-missing-declarations     -DIAX_TRUNKING -DCRYPTO  -o chan_zap.o
> >>>>>
> >>>>>
> >
> >
> >
> >>>>>chan_zap.c
> >>>>>chan_zap.c: In function `sig2str':
> >>>>>chan_zap.c:790: `ZT_SIG_SF' undeclared (first use in this function)
> >>>>>chan_zap.c:790: (Each undeclared identifier is reported only once
> >>>>>chan_zap.c:790: for each function it appears in.)
> >>>>>chan_zap.c: In function `zt_call':
> >>>>>chan_zap.c:1278: `ZT_SIG_SF' undeclared (first use in this function)
> >>>>>chan_zap.c:1157: warning: unused variable `s'
> >>>>>chan_zap.c: In function `zt_answer':
> >>>>>chan_zap.c:1737: `ZT_SIG_SF' undeclared (first use in this function)
> >>>>>chan_zap.c: In function `zt_handle_event':
> >>>>>chan_zap.c:2512: `ZT_SIG_SF' undeclared (first use in this function)
> >>>>>chan_zap.c: In function `zt_new':
> >>>>>chan_zap.c:3471: `ZT_SIG_SF' undeclared (first use in this function)
> >>>>>chan_zap.c: In function `ss_thread':
> >>>>>chan_zap.c:3640: `ZT_SIG_SF' undeclared (first use in this function)
> >>>>>chan_zap.c: In function `handle_init_event':
> >>>>>chan_zap.c:4268: `ZT_SIG_SF' undeclared (first use in this function)
> >>>>>chan_zap.c: In function `mkintf':
> >>>>>chan_zap.c:4815: `ZT_SIG_SF' undeclared (first use in this function)
> >>>>>chan_zap.c: In function `load_module':
> >>>>>chan_zap.c:6395: `ZT_SIG_SF' undeclared (first use in this function)
> >>>>>make[1]: *** [chan_zap.o] Error 1
> >>>>>make[1]: Leaving directory `/usr/src/asterisk/asterisk/channels'
> >>>>>make: *** [subdirs] Error 1
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>_______________________________________________
> >>>>>Asterisk-Dev mailing list
> >>>>>Asterisk-Dev at lists.digium.com
> >>>>>http://lists.digium.com/mailman/listinfo/asterisk-dev
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>_______________________________________________
> >>>>Asterisk-Dev mailing list
> >>>>Asterisk-Dev at lists.digium.com
> >>>>http://lists.digium.com/mailman/listinfo/asterisk-dev
> >>>>
> >>>>
> >>>>
> >>>>
> >>>_______________________________________________
> >>>Asterisk-Dev mailing list
> >>>Asterisk-Dev at lists.digium.com
> >>>http://lists.digium.com/mailman/listinfo/asterisk-dev
> >>>
> >>>
> >>>
> >>>
> >>_______________________________________________
> >>Asterisk-Dev mailing list
> >>Asterisk-Dev at lists.digium.com
> >>http://lists.digium.com/mailman/listinfo/asterisk-dev
> >>
> >>
> >>
> >>
> >
> >
> >_______________________________________________
> >Asterisk-Dev mailing list
> >Asterisk-Dev at lists.digium.com
> >http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
> >_______________________________________________
> >Asterisk-Dev mailing list
> >Asterisk-Dev at lists.digium.com
> >http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
> >
>




More information about the asterisk-dev mailing list