Summary:ASTERISK-08165: "-p: not found" on building
Reporter:Jose Pablo Fernandez (pupeno)Labels:
Date Opened:2006-11-21 08:35:09.000-0600Date Closed:2006-11-27 10:12:06.000-0600
Versions:Frequency of
Description:While building zaptel I've seen this error various times: "-p: not found". It seems like the name of a program is being calculated and it was wrongly calculated as empty (""), just to give you some context:

gcc     makefw.c   -o makefw
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file
make -C /lib/modules/2.6.17-10-generic/build SUBDIRS=/home/pupeno/src/zaptel-1.4.0-beta2 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.17-10-generic'
-p: not found
chkconfig: not found
 CC [M]  /home/pupeno/src/zaptel-1.4.0-beta2/pciradio.o
 CC [M]  /home/pupeno/src/zaptel-1.4.0-beta2/tor2.o
 CC [M]  /home/pupeno/src/zaptel-1.4.0-beta2/torisa.o
/home/pupeno/src/zaptel-1.4.0-beta2/torisa.c:1143: warning: ?set_tor_base? defined but not used
 CC [M]  /home/pupeno/src/zaptel-1.4.0-beta2/wcfxo.o
Comments:By: Joshua C. Colp (jcolp) 2006-11-27 10:12:05.000-0600

This is a harmless error and is being caused by your shell, dash. If you come across a system where chkconfig is installed and the setup is using dash, then please feel free to reopen this and we can try to address it. Peace!