[Asterisk-Dev] Makefile:73: .depend: No such file or directory

karunesha karunesha at deccanetworld.com
Wed Apr 21 03:33:50 MST 2004


Hi Rob Garnon
    I have rewritten the question,
    Actualy i had downloded Asterisk DEVELOPER Version from the CVS with the
help of SysAdmin. Downloded Zaptel. libpri and asterisk.And placed all the
folders in our linux system /usr/src/ directory.

1. I tried to install the Zaptel and did it successfuly. But at the end of
installation i seen following lines. What does it meen, have i missed any
files or some thing else.

    /sbin/depmod -a
    depmod: *** Unresolved symbols in
/lib/modules/2.4.2-2/kernel/drivers/char/ocdemonpp.o
    depmod: *** Unresolved symbols in /lib/modules/2.4.2-2/misc/torisa.o
    depmod: *** Unresolved symbols in /lib/modules/2.4.2-2/misc/zaptel.o
    [ -f /etc/zaptel.conf ] || install -m 644 zaptel.conf.sample
/etc/zaptel.conf
2. Next i tried to install the libpri, it is displaying an error message
'Makefile:73: .depend: No such file or directory'. Following is the log
data. Can you please tell me why i am getting this error. I searched .depend
file but i didn't find anywhere.
[root at fastest libpri]# make clean
Makefile:73: .depend: No such file or directory
./mkdep -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g   `ls *.c`
: unrecognized option
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --dump-po-strings
        --dump-strings
        --help
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --rcfile
        --rpm-requires
        --restricted
        --verbose
        --version
        --wordexp
Shell options:
        -irsD or -c command             (invocation only)
        -abefhkmnptuvxBCHP or -o option
make: *** [.depend] Error 2

3. Next i tried to clean and install asterisk, i am getting the following
log telling Error.
[root at fastest asterisk]# make clean
for x in res channels pbx apps codecs formats agi cdr astman stdtime; do
make -C $x clean || exit 1 ; done
make[1]: Entering directory `/usr/src/asterisk/res'
rm -f *.so *.o .depend
make[1]: Leaving directory `/usr/src/asterisk/res'
make[1]: Entering directory `/usr/src/asterisk/channels'
rm -f *.so *.o .depend
rm -f busy.h ringtone.h gentone gentone-ulaw
make[1]: Leaving directory `/usr/src/asterisk/channels'
@make[1]: Entering directory `/usr/src/asterisk/pbx'
rm -f *.so *.o .depend
make[1]: Leaving directory `/usr/src/asterisk/pbx'
make[1]: Entering directory `/usr/src/asterisk/apps'
rm -f *.so *.o look .depend
make[1]: Leaving directory `/usr/src/asterisk/apps'
make[1]: Entering directory `/usr/src/asterisk/codecs'
Makefile:89: .depend: No such file or directory
../mkdep -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-dec
larations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=
i686  -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-04/21/04-15:36:55\" -D
INSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/ast
erisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DA
STSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCO
NFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modul
es\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN     -
DNEW_PRI_HANGUP  -fPIC  `ls *.c`
: unrecognized option
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --dump-po-strings
        --dump-strings
        --help
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --rcfile
        --rpm-requires
        --restricted
        --verbose
        --version
        --wordexp
Shell options:
        -irsD or -c command             (invocation only)
        -abefhkmnptuvxBCHP or -o option
make[1]: *** [.depend] Error 2
make[1]: Leaving directory `/usr/src/asterisk/codecs'
make: *** [clean] Error 1

[root at fastest asterisk]# make install
./mkdep -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-decl
arations -g  -Ii
nclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686  -DZAPTEL_OP
TIMIZATIONS -DAS
TERISK_VERSION=\"CVS-04/21/04-15:34:38\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\
"/etc/asterisk\"
 -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DAS
TVARRUNDIR=\"/va
r/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asteris
k\" -DASTCONFPAT
H=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" 
-DASTAGIDIR=\"/v
ar/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN     -DNEW_PRI_HANGUP  `ls
*.c`
: unrecognized option
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --dump-po-strings
        --dump-strings
        --help
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --rcfile
        --rpm-requires
        --restricted
        --verbose
        --version
        --wordexp
Shell options:
        -irsD or -c command             (invocation only)
        -abefhkmnptuvxBCHP or -o option
make: *** [.depend] Error 2

Can you tell me why i am getting this kind of errors..
Waiting for your reply....

Thanks & Regards
Karunesha U H


********************************DISCLAIMER**********************************

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege of Deccanet Designs Ltd.
If you have received this message in error, please notify the originator
immediately. If you are not the intended recipient, you are notified that
you are strictly prohibited from retaining, using, copying, altering or
disclosing the contents of this message.

****************************************************************************


More information about the asterisk-dev mailing list