[Asterisk-Dev] compile error

Jared Smith jsmith at drgutah.com
Thu Apr 24 13:37:46 MST 2003


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




More information about the asterisk-dev mailing list