[Asterisk-Users] CVS version build error

Nguyen Nam nguyennam at cardvn.net
Tue Aug 12 00:12:32 MST 2003


Hi ,
I am currently experiencing problems with DTMF detection. My sip-phone 
using INFO to transfer DTMF, and I see that the version downloaded from 
asterisk ftp ( 0.4.0)  do not support the  d=  field.

I do a clean cvs from a W2K machine and see that in new chan_sip.c , this 
field has been recognized.

But compiling under Linux give me following error. The error come from 
generating the dependency files.

All the Makefile(s) was leave untouched. I was not sure what's the problem.

Can some one help to point me to right way?

TIA
best regards,
Nguyen






[root at linuxbox asterisk]# make
for x in res channels pbx apps codecs formats agi cdr astman; do make -C $x 
depe 

nd || exit 1 ; done
make[1]: Entering directory 
`/usr/src/asterisk/res'
Makefile:39: .depend: No such file or 
directory
../mkdep -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declara 

tions -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 
-march=i686  -D 

ZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"\" -DINSTALL_PREFIX=\"\" 
-DASTETCDIR=\ 

"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" 
-DASTVARLIBDIR=\"/var/lib/ast 

erisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" 
-DASTL 

OGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" 
-DASTM 

ODDIR=\"/usr/lib/asterisk/modules\" 
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" 

  -DBUSYDETECT     -DNEW_PRI_HANGUP    -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC 
`ls 
* 

.c`
: unrecognized option
Usage:  /bin/bash [GNU long option] [option] 
...
         /bin/bash [GNU long option] [option] script-file 
...
GNU long options:
         --debug
         --dump-po-strings
         --dump-strings
         --help
         --init-file
         --login
         --noediting
         --noprofile
         --norc
         --posix
         --rcfile
         --rpm-requires
         --restricted
         --verbose
         --version
         --wordexp
Shell options:
         -irsD or -c command or -O shopt_option          (invocation only)
         -abefhkmnptuvxBCHP or -o option
make[1]: *** [.depend] Error 2
make[1]: Leaving directory `/usr/src/asterisk/res'
make: *** [depend] Error 1
[root at linuxbox asterisk]#



    




More information about the asterisk-users mailing list