Bug#368561: Cannot make zaptel-source: SUBDIR not found
Package: zaptel-source Version: 1:1.0.7-4.1 Severity: normal When trying to run make on zaptel-source, it seems unable to find the current working directory. When running make, I get this response: chimay:/usr/src/modules/zaptel# make cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c cc -o gendigits gendigits.o -lm ./gendigits cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"makefw.c -o makefw ./makefw tormenta2.rbt tor2fw > tor2fw.h Loaded 69900 bytes from file cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztcfg.o ztcfg.c cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o zonedata.lo zonedata.c cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o tonezone.lo tonezone.c ar rcs libtonezone.a zonedata.lo tonezone.lo cc -o ztcfg ztcfg.o -lm -L. libtonezone.a cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o torisatool.o torisatool.c cc -o torisatool torisatool.o cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztmonitor.o ztmonitor.c cc -o ztmonitor ztmonitor.o cc -c ztspeed.c cc -o ztspeed ztspeed.o cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"zttest.c -o zttest make -C SUBDIRS=/usr/src/modules/zaptel modules make: *** SUBDIRS=/usr/src/modules/zaptel: No such file or directory. Stop. make: *** [linux26] Error 2 chimay:/usr/src/modules/zaptel# uname -a Linux chimay 2.6.8-elgaard #3 Tue May 23 03:31:30 CEST 2006 i686 GNU/Linux chimay:/usr/src/modules/zaptel# pwd /usr/src/modules/zaptel If I need to run make with some arguments, please provide an INSTALL file with instructions. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.8-elgaard Locale: LANG=da_DK, LC_CTYPE=da_DK (charmap=ISO-8859-1) Versions of packages zaptel-source depends on: ii bzip2 1.0.2-7high-quality block-sorting file co ii debhelper 4.2.32 helper programs for debian/rules ii module-assistant 0.9sarge1 tool to make module package creati -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#368561: Cannot make zaptel-source: SUBDIR not found
On Tue, May 23, 2006 at 04:49:49AM +0200, Jørgen Elgaard Larsen wrote: > Package: zaptel-source > Version: 1:1.0.7-4.1 > Severity: normal > > > When trying to run make on zaptel-source, it seems unable to find the current > working directory. > > When running make, I get this response: > > > chimay:/usr/src/modules/zaptel# make > cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA > -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c > cc -o gendigits gendigits.o -lm > ./gendigits > cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA > -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"makefw.c -o makefw > ./makefw tormenta2.rbt tor2fw > tor2fw.h > Loaded 69900 bytes from file > cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA > -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztcfg.o ztcfg.c > cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char > -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE > -o zonedata.lo zonedata.c > cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char > -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE > -o tonezone.lo tonezone.c > ar rcs libtonezone.a zonedata.lo tonezone.lo > cc -o ztcfg ztcfg.o -lm -L. libtonezone.a > cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA > -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o torisatool.o torisatool.c > cc -o torisatool torisatool.o > cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA > -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztmonitor.o ztmonitor.c > cc -o ztmonitor ztmonitor.o > cc -c ztspeed.c > cc -o ztspeed ztspeed.o > cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA > -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"zttest.c -o zttest > make -C SUBDIRS=/usr/src/modules/zaptel modules > make: *** SUBDIRS=/usr/src/modules/zaptel: No such file or directory. Stop. > make: *** [linux26] Error 2 > > chimay:/usr/src/modules/zaptel# uname -a > Linux chimay 2.6.8-elgaard #3 Tue May 23 03:31:30 CEST 2006 i686 GNU/Linux > > chimay:/usr/src/modules/zaptel# pwd > /usr/src/modules/zaptel > > > > > If I need to run make with some arguments, please provide an INSTALL file > with instructions. > Try using module-assistant instead of extracting the tarball and building: m-a -k /full/path/to/kernel/dir -u . -i -t build zaptel "kernel dir" is the directory that includes the configured kernel source or a directory from a proper kerne;-headers package. This should work unless you need to change the tarball. -- Tzafrir Cohen sip:[EMAIL PROTECTED] icq#16849755 iax:[EMAIL PROTECTED] +972-50-7952406 [EMAIL PROTECTED] http://www.xorcom.com
Bug#368561: Cannot make zaptel-source: SUBDIR not found
Tzafrir Cohen wrote: Try using module-assistant instead of extracting the tarball and building: m-a -k /full/path/to/kernel/dir -u . -i -t build zaptel "kernel dir" is the directory that includes the configured kernel source or a directory from a proper kerne;-headers package. Thank you for your very quick response and good advice. The text above would go nicely in an INSTALL file. However, it still will not build for me: While building zaphfc, it cannot find zaptel.h I have tried copying zaptel.h into the zaphfc directory, but to no avail. It still will not build. Also, it warns a lot about missing CRC's It does not matter whether I try building as a normal user or as root. I have attached the build log. Any help would be greatly appreciated. Sincerely, Jørgen Elgaard Larsen dh_testdir dh_testroot rm -f build-*-stamp configure-stamp # Add here commands to clean up after the build process. /usr/bin/make clean make[1]: Entering directory `/home/jel/zaptel/usr_src/modules/zaptel' make -C /usr/src/kernel-source-2.6.8 SUBDIRS=/home/jel/zaptel/usr_src/modules/zaptel/zaphfc clean make[2]: Entering directory `/usr/src/kernel-source-2.6.8' make[2]: Leaving directory `/usr/src/kernel-source-2.6.8' make -C /usr/src/kernel-source-2.6.8 SUBDIRS=/home/jel/zaptel/usr_src/modules/zaptel/qozap clean make[2]: Entering directory `/usr/src/kernel-source-2.6.8' make[2]: Leaving directory `/usr/src/kernel-source-2.6.8' rm -f torisatool makefw tor2fw.h fxstest ztmonitor ztspeed rm -f zttool rm -f zttest rm -f *.o ztcfg tzdriver sethdlc sethdlc-new rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo rm -f *.ko *.mod.c .*o.cmd rm -f gendigits tones.h rm -f libtonezone* rm -f tor2ee rm -f core make[1]: Leaving directory `/home/jel/zaptel/usr_src/modules/zaptel' dh_clean /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules make[1]: Entering directory `/home/jel/zaptel/usr_src/modules/zaptel' dh_testdir dh_testroot rm -f build-*-stamp configure-stamp # Add here commands to clean up after the build process. /usr/bin/make clean make[2]: Entering directory `/home/jel/zaptel/usr_src/modules/zaptel' make -C /usr/src/kernel-source-2.6.8 SUBDIRS=/home/jel/zaptel/usr_src/modules/zaptel/zaphfc clean make[3]: Entering directory `/usr/src/kernel-source-2.6.8' make[3]: Leaving directory `/usr/src/kernel-source-2.6.8' make -C /usr/src/kernel-source-2.6.8 SUBDIRS=/home/jel/zaptel/usr_src/modules/zaptel/qozap clean make[3]: Entering directory `/usr/src/kernel-source-2.6.8' make[3]: Leaving directory `/usr/src/kernel-source-2.6.8' rm -f torisatool makefw tor2fw.h fxstest ztmonitor ztspeed rm -f zttool rm -f zttest rm -f *.o ztcfg tzdriver sethdlc sethdlc-new rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo rm -f *.ko *.mod.c .*o.cmd rm -f gendigits tones.h rm -f libtonezone* rm -f tor2ee rm -f core make[2]: Leaving directory `/home/jel/zaptel/usr_src/modules/zaptel' dh_clean for templ in ; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.8-elgaard/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/2.6.8-elgaard/g ;s/#KVERS#/2.6.8-elgaard/g ; s/_KVERS_/2.6.8-elgaard/g ; s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g' < $templ > ${templ%.modules.in}; \ done dh_testdir dh_testroot dh_clean -k make modules KERNEL_SOURCES=/usr/src/kernel-source-2.6.8 MODVERSIONS=detect KERNEL=linux-2.6.8-elgaard make[2]: Entering directory `/home/jel/zaptel/usr_src/modules/zaptel' gcc-3.3 -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c gcc-3.3 -o gendigits gendigits.o -lm ./gendigits gcc-3.3 -I. -O4 -g -Wall -DBUILDING_TONEZONE -fsigned-char -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"makefw.c -o makefw ./makefw tormenta2.rbt tor2fw > tor2fw.h Loaded 69900 bytes from file make -C /usr/src/kernel-source-2.6.8 SUBDIRS=/home/jel/zaptel/usr_src/modules/zaptel modules make[3]: Entering directory `/usr/src/kernel-source-2.6.8' CC [M] /home/jel/zaptel/usr_src/modules/zaptel/zaptel.o /home/jel/zaptel/usr_src/modules/zaptel/zaptel.c:167: warning: `fcstab' defined but not used CC [M] /home/jel/zaptel/usr_src/modules/zaptel/tor2.o CC [M] /home/jel/zaptel/usr_src/modules/zaptel/torisa.o /home/jel/zaptel/usr_src/modules/zaptel/torisa.c:1141: warning: `set_tor_base' defined but not used CC [M] /home/jel/zaptel/usr_src/modules/zaptel/wcusb.o CC [M] /home/jel/zaptel/usr_src/modules/zaptel/wcfxo.o CC [M] /home/jel/zaptel/usr_src/modules/zaptel/wcfxs.o CC [M] /home/jel/zaptel/usr_src/modules/zaptel/ztdynamic.o CC [M] /home/jel/zaptel/usr_src/modules/zaptel/ztd-eth.o CC [M] /home/jel/zaptel/usr_src/modules/zaptel/wct1xxp.o CC [M] /home/jel/zaptel/usr_src/modules/zaptel/wct4xxp.o CC [M] /home/jel/zaptel/usr_src/modules/zaptel/wc