Bug#335432: unable to install zaptel-source as a module
brendon
brendon at brendon.com
Sun Oct 23 23:21:40 UTC 2005
Package: zaptel-source
Version: 1:1.1.9.0beta1-1
Severity: important
Justification: fails to build from source
I use module assistant for this.
# cat /var/cache/modass/zaptel-source.buildlog.2.6.12-a.1130108808
dh_testdir
dh_testroot
rm -f build-*-stamp configure-stamp
# Add here commands to clean up after the build process.
rm -rf modexamples
/usr/bin/make clean
make[1]: Entering directory `/usr/src/modules/zaptel'
rm -f torisatool makefw tor2fw.h radfw.h
rm -f ztcfg sethdlc-new ztmonitor ztspeed zttest fxotune
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f zonedata.lo tonezone.lo libtonezone.so *.lo
rm -f *.ko *.mod.c .*o.cmd
rm -rf .tmp_versions
rm -f gendigits tones.h
rm -f libtonezone*
rm -f tor2ee
rm -f fxotune
rm -f core
rm -f ztcfg-shared fxstest
make[1]: Leaving directory `/usr/src/modules/zaptel'
#rm -f debian/manpage.links debian/manpage.refs debian/*.8
dh_clean
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/zaptel'
dh_testdir
dh_testroot
rm -f build-*-stamp configure-stamp
# Add here commands to clean up after the build process.
rm -rf modexamples
/usr/bin/make clean
make[2]: Entering directory `/usr/src/modules/zaptel'
rm -f torisatool makefw tor2fw.h radfw.h
rm -f ztcfg sethdlc-new ztmonitor ztspeed zttest fxotune
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f zonedata.lo tonezone.lo libtonezone.so *.lo
rm -f *.ko *.mod.c .*o.cmd
rm -rf .tmp_versions
rm -f gendigits tones.h
rm -f libtonezone*
rm -f tor2ee
rm -f fxotune
rm -f core
rm -f ztcfg-shared fxstest
make[2]: Leaving directory `/usr/src/modules/zaptel'
#rm -f debian/manpage.links debian/manpage.refs debian/*.8
dh_clean
/usr/bin/gcc-3.3
for templ in ; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.12-evms/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.12-evms/g ;s/#KVERS#/2.6.12-evms/g ; s/_KVERS_/2.6.12-evms/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-headers-2.6.12-evms MODVERSIONS=detect KERNEL=linux-2.6.12-evms
make[2]: Entering directory `/usr/src/modules/zaptel'
gcc-3.3 -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -lm gendigits.c -o gendigits
gendigits.c:4:19: stdio.h: No such file or directory
gendigits.c:5:18: math.h: No such file or directory
gendigits.c:6:20: string.h: No such file or directory
gendigits.c:7:20: unistd.h: No such file or directory
gendigits.c:8:20: stdlib.h: No such file or directory
gendigits.c:98: error: syntax error before '*' token
gendigits.c: In function `process':
gendigits.c:105: error: `z' undeclared (first use in this function)
gendigits.c:105: error: (Each undeclared identifier is reported only once
gendigits.c:105: error: for each function it appears in.)
gendigits.c:112: warning: implicit declaration of function `pow'
gendigits.c:112: error: `low_tone_level' undeclared (first use in this function)
gendigits.c:113: warning: implicit declaration of function `cos'
gendigits.c:113: error: `M_PI' undeclared (first use in this function)
gendigits.c:114: warning: implicit declaration of function `sin'
gendigits.c:117: error: `high_tone_level' undeclared (first use in this function)
gendigits.c:122: warning: implicit declaration of function `fprintf'
gendigits.c:122: error: `f' undeclared (first use in this function)
gendigits.c:122: error: `label' undeclared (first use in this function)
gendigits.c: In function `main':
gendigits.c:144: error: `FILE' undeclared (first use in this function)
gendigits.c:144: error: `f' undeclared (first use in this function)
gendigits.c:146: warning: implicit declaration of function `fopen'
gendigits.c:156: warning: implicit declaration of function `fclose'
gendigits.c:158: error: `stderr' undeclared (first use in this function)
make[2]: *** [gendigits] Error 1
make[2]: Leaving directory `/usr/src/modules/zaptel'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/zaptel'
make: *** [kdist_build] Error 2
#
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.12-evms
Locale: LANG=C, LC_CTYPE=C
Versions of packages zaptel-source depends on:
ii bzip2 1.0.2-1 A high-quality block-sorting file
ii debhelper 4.2.20 helper programs for debian/rules
ii dpatch 2.0.10 patch maintenance system for Debia
ii module-assistant 0.9.10 tool to make module package creati
-- no debconf information
More information about the Pkg-voip-maintainers
mailing list