Bug#368561: Cannot make zaptel-source: SUBDIR not found

Jørgen Elgaard Larsen jel at elgaard.net
Tue May 23 11:00:30 UTC 2006


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
-------------- next part --------------
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/wcte11xp.o
  CC [M]  /home/jel/zaptel/usr_src/modules/zaptel/ztdummy.o
  Building modules, stage 2.
  MODPOST
*** Warning: "zt_register" [/home/jel/zaptel/usr_src/modules/zaptel/ztdynamic.ko] has no CRC!
*** Warning: "zt_transmit" [/home/jel/zaptel/usr_src/modules/zaptel/ztdynamic.ko] has no CRC!
*** Warning: "zt_receive" [/home/jel/zaptel/usr_src/modules/zaptel/ztdynamic.ko] has no CRC!
*** Warning: "zt_ec_chunk" [/home/jel/zaptel/usr_src/modules/zaptel/ztdynamic.ko] has no CRC!
*** Warning: "zt_set_dynamic_ioctl" [/home/jel/zaptel/usr_src/modules/zaptel/ztdynamic.ko] has no CRC!
*** Warning: "zt_unregister" [/home/jel/zaptel/usr_src/modules/zaptel/ztdynamic.ko] has no CRC!
*** Warning: "zt_alarm_notify" [/home/jel/zaptel/usr_src/modules/zaptel/ztdynamic.ko] has no CRC!
*** Warning: "zt_rbsbits" [/home/jel/zaptel/usr_src/modules/zaptel/ztdynamic.ko] has no CRC!
*** Warning: "zt_transmit" [/home/jel/zaptel/usr_src/modules/zaptel/ztdummy.ko] has no CRC!
*** Warning: "zt_receive" [/home/jel/zaptel/usr_src/modules/zaptel/ztdummy.ko] has no CRC!
*** Warning: "zt_unregister" [/home/jel/zaptel/usr_src/modules/zaptel/ztdummy.ko] has no CRC!
*** Warning: "zt_register" [/home/jel/zaptel/usr_src/modules/zaptel/ztdummy.ko] has no CRC!
*** Warning: "zt_dynamic_unregister" [/home/jel/zaptel/usr_src/modules/zaptel/ztd-eth.ko] has no CRC!
*** Warning: "zt_dynamic_register" [/home/jel/zaptel/usr_src/modules/zaptel/ztd-eth.ko] has no CRC!
*** Warning: "zt_dynamic_receive" [/home/jel/zaptel/usr_src/modules/zaptel/ztd-eth.ko] has no CRC!
*** Warning: "__zt_mulaw" [/home/jel/zaptel/usr_src/modules/zaptel/wcusb.ko] has no CRC!
*** Warning: "zt_transmit" [/home/jel/zaptel/usr_src/modules/zaptel/wcusb.ko] has no CRC!
*** Warning: "__zt_lin2mu" [/home/jel/zaptel/usr_src/modules/zaptel/wcusb.ko] has no CRC!
*** Warning: "zt_receive" [/home/jel/zaptel/usr_src/modules/zaptel/wcusb.ko] has no CRC!
*** Warning: "zt_ec_chunk" [/home/jel/zaptel/usr_src/modules/zaptel/wcusb.ko] has no CRC!
*** Warning: "zt_register" [/home/jel/zaptel/usr_src/modules/zaptel/wcusb.ko] has no CRC!
*** Warning: "zt_unregister" [/home/jel/zaptel/usr_src/modules/zaptel/wcusb.ko] has no CRC!
*** Warning: "zt_alarm_notify" [/home/jel/zaptel/usr_src/modules/zaptel/wcusb.ko] has no CRC!
*** Warning: "zt_init_tone_state" [/home/jel/zaptel/usr_src/modules/zaptel/wcusb.ko] has no CRC!
*** Warning: "zt_dtmf_tone" [/home/jel/zaptel/usr_src/modules/zaptel/wcusb.ko] has no CRC!
*** Warning: "zt_hooksig" [/home/jel/zaptel/usr_src/modules/zaptel/wcusb.ko] has no CRC!
*** Warning: "zt_receive" [/home/jel/zaptel/usr_src/modules/zaptel/wcte11xp.ko] has no CRC!
*** Warning: "zt_ec_chunk" [/home/jel/zaptel/usr_src/modules/zaptel/wcte11xp.ko] has no CRC!
*** Warning: "zt_transmit" [/home/jel/zaptel/usr_src/modules/zaptel/wcte11xp.ko] has no CRC!
*** Warning: "zt_rbsbits" [/home/jel/zaptel/usr_src/modules/zaptel/wcte11xp.ko] has no CRC!
*** Warning: "zt_alarm_notify" [/home/jel/zaptel/usr_src/modules/zaptel/wcte11xp.ko] has no CRC!
*** Warning: "zt_register" [/home/jel/zaptel/usr_src/modules/zaptel/wcte11xp.ko] has no CRC!
*** Warning: "zt_unregister" [/home/jel/zaptel/usr_src/modules/zaptel/wcte11xp.ko] has no CRC!
*** Warning: "zt_rbsbits" [/home/jel/zaptel/usr_src/modules/zaptel/wct4xxp.ko] has no CRC!
*** Warning: "zt_transmit" [/home/jel/zaptel/usr_src/modules/zaptel/wct4xxp.ko] has no CRC!
*** Warning: "zt_receive" [/home/jel/zaptel/usr_src/modules/zaptel/wct4xxp.ko] has no CRC!
*** Warning: "zt_ec_chunk" [/home/jel/zaptel/usr_src/modules/zaptel/wct4xxp.ko] has no CRC!
*** Warning: "zt_register" [/home/jel/zaptel/usr_src/modules/zaptel/wct4xxp.ko] has no CRC!
*** Warning: "zt_alarm_notify" [/home/jel/zaptel/usr_src/modules/zaptel/wct4xxp.ko] has no CRC!
*** Warning: "zt_unregister" [/home/jel/zaptel/usr_src/modules/zaptel/wct4xxp.ko] has no CRC!
*** Warning: "zt_rbsbits" [/home/jel/zaptel/usr_src/modules/zaptel/wct1xxp.ko] has no CRC!
*** Warning: "zt_receive" [/home/jel/zaptel/usr_src/modules/zaptel/wct1xxp.ko] has no CRC!
*** Warning: "zt_ec_chunk" [/home/jel/zaptel/usr_src/modules/zaptel/wct1xxp.ko] has no CRC!
*** Warning: "zt_transmit" [/home/jel/zaptel/usr_src/modules/zaptel/wct1xxp.ko] has no CRC!
*** Warning: "zt_alarm_notify" [/home/jel/zaptel/usr_src/modules/zaptel/wct1xxp.ko] has no CRC!
*** Warning: "zt_register" [/home/jel/zaptel/usr_src/modules/zaptel/wct1xxp.ko] has no CRC!
*** Warning: "zt_unregister" [/home/jel/zaptel/usr_src/modules/zaptel/wct1xxp.ko] has no CRC!
*** Warning: "zt_register" [/home/jel/zaptel/usr_src/modules/zaptel/wcfxs.ko] has no CRC!
*** Warning: "zt_qevent_lock" [/home/jel/zaptel/usr_src/modules/zaptel/wcfxs.ko] has no CRC!
*** Warning: "zt_hooksig" [/home/jel/zaptel/usr_src/modules/zaptel/wcfxs.ko] has no CRC!
*** Warning: "zt_ec_chunk" [/home/jel/zaptel/usr_src/modules/zaptel/wcfxs.ko] has no CRC!
*** Warning: "zt_transmit" [/home/jel/zaptel/usr_src/modules/zaptel/wcfxs.ko] has no CRC!
*** Warning: "zt_receive" [/home/jel/zaptel/usr_src/modules/zaptel/wcfxs.ko] has no CRC!
*** Warning: "zt_unregister" [/home/jel/zaptel/usr_src/modules/zaptel/wcfxs.ko] has no CRC!
*** Warning: "zt_alarm_notify" [/home/jel/zaptel/usr_src/modules/zaptel/wcfxo.ko] has no CRC!
*** Warning: "zt_transmit" [/home/jel/zaptel/usr_src/modules/zaptel/wcfxo.ko] has no CRC!
*** Warning: "zt_receive" [/home/jel/zaptel/usr_src/modules/zaptel/wcfxo.ko] has no CRC!
*** Warning: "zt_ec_chunk" [/home/jel/zaptel/usr_src/modules/zaptel/wcfxo.ko] has no CRC!
*** Warning: "zt_hooksig" [/home/jel/zaptel/usr_src/modules/zaptel/wcfxo.ko] has no CRC!
*** Warning: "zt_unregister" [/home/jel/zaptel/usr_src/modules/zaptel/wcfxo.ko] has no CRC!
*** Warning: "zt_register" [/home/jel/zaptel/usr_src/modules/zaptel/wcfxo.ko] has no CRC!
*** Warning: "zt_rbsbits" [/home/jel/zaptel/usr_src/modules/zaptel/torisa.ko] has no CRC!
*** Warning: "zt_alarm_notify" [/home/jel/zaptel/usr_src/modules/zaptel/torisa.ko] has no CRC!
*** Warning: "zt_transmit" [/home/jel/zaptel/usr_src/modules/zaptel/torisa.ko] has no CRC!
*** Warning: "zt_receive" [/home/jel/zaptel/usr_src/modules/zaptel/torisa.ko] has no CRC!
*** Warning: "zt_ec_chunk" [/home/jel/zaptel/usr_src/modules/zaptel/torisa.ko] has no CRC!
*** Warning: "zt_lboname" [/home/jel/zaptel/usr_src/modules/zaptel/torisa.ko] has no CRC!
*** Warning: "zt_unregister" [/home/jel/zaptel/usr_src/modules/zaptel/torisa.ko] has no CRC!
*** Warning: "zt_register" [/home/jel/zaptel/usr_src/modules/zaptel/torisa.ko] has no CRC!
*** Warning: "zt_register" [/home/jel/zaptel/usr_src/modules/zaptel/tor2.ko] has no CRC!
*** Warning: "zt_unregister" [/home/jel/zaptel/usr_src/modules/zaptel/tor2.ko] has no CRC!
*** Warning: "zt_rbsbits" [/home/jel/zaptel/usr_src/modules/zaptel/tor2.ko] has no CRC!
*** Warning: "zt_transmit" [/home/jel/zaptel/usr_src/modules/zaptel/tor2.ko] has no CRC!
*** Warning: "zt_receive" [/home/jel/zaptel/usr_src/modules/zaptel/tor2.ko] has no CRC!
*** Warning: "zt_ec_chunk" [/home/jel/zaptel/usr_src/modules/zaptel/tor2.ko] has no CRC!
*** Warning: "zt_alarm_notify" [/home/jel/zaptel/usr_src/modules/zaptel/tor2.ko] has no CRC!
*** Warning: "zt_lboname" [/home/jel/zaptel/usr_src/modules/zaptel/tor2.ko] has no CRC!
  CC      /home/jel/zaptel/usr_src/modules/zaptel/tor2.mod.o
  LD [M]  /home/jel/zaptel/usr_src/modules/zaptel/tor2.ko
  CC      /home/jel/zaptel/usr_src/modules/zaptel/torisa.mod.o
  LD [M]  /home/jel/zaptel/usr_src/modules/zaptel/torisa.ko
  CC      /home/jel/zaptel/usr_src/modules/zaptel/wcfxo.mod.o
  LD [M]  /home/jel/zaptel/usr_src/modules/zaptel/wcfxo.ko
  CC      /home/jel/zaptel/usr_src/modules/zaptel/wcfxs.mod.o
  LD [M]  /home/jel/zaptel/usr_src/modules/zaptel/wcfxs.ko
  CC      /home/jel/zaptel/usr_src/modules/zaptel/wct1xxp.mod.o
  LD [M]  /home/jel/zaptel/usr_src/modules/zaptel/wct1xxp.ko
  CC      /home/jel/zaptel/usr_src/modules/zaptel/wct4xxp.mod.o
  LD [M]  /home/jel/zaptel/usr_src/modules/zaptel/wct4xxp.ko
  CC      /home/jel/zaptel/usr_src/modules/zaptel/wcte11xp.mod.o
  LD [M]  /home/jel/zaptel/usr_src/modules/zaptel/wcte11xp.ko
  CC      /home/jel/zaptel/usr_src/modules/zaptel/wcusb.mod.o
  LD [M]  /home/jel/zaptel/usr_src/modules/zaptel/wcusb.ko
  CC      /home/jel/zaptel/usr_src/modules/zaptel/zaptel.mod.o
  LD [M]  /home/jel/zaptel/usr_src/modules/zaptel/zaptel.ko
  CC      /home/jel/zaptel/usr_src/modules/zaptel/ztd-eth.mod.o
  LD [M]  /home/jel/zaptel/usr_src/modules/zaptel/ztd-eth.ko
  CC      /home/jel/zaptel/usr_src/modules/zaptel/ztdummy.mod.o
  LD [M]  /home/jel/zaptel/usr_src/modules/zaptel/ztdummy.ko
  CC      /home/jel/zaptel/usr_src/modules/zaptel/ztdynamic.mod.o
  LD [M]  /home/jel/zaptel/usr_src/modules/zaptel/ztdynamic.ko
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/zaphfc" modules
make[3]: Entering directory `/usr/src/kernel-source-2.6.8'
  CC [M]  /home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.o
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:27:20: zaptel.h: No such file or directory
In file included from /home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:28:
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.h:274: error: `ZT_CHUNKSIZE' undeclared here (not in a function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.h:275: error: `ZT_CHUNKSIZE' undeclared here (not in a function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.h:282: error: field `span' has incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.h:283: error: field `chans' has incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c: In function `hfc_shutdownCard':
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:128: warning: implicit declaration of function `zt_unregister'
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c: In function `hfc_btrans':
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:250: error: `ZT_CHUNKSIZE' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:250: error: (Each undeclared identifier is reported only once
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:250: error: for each function it appears in.)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c: In function `hfc_brec':
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:315: error: `ZT_CHUNKSIZE' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:376: warning: implicit declaration of function `zt_ec_chunk'
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c: In function `hfc_interrupt':
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:700: error: `ZT_FLAG_RUNNING' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:705: warning: implicit declaration of function `zt_transmit'
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:739: warning: implicit declaration of function `zt_receive'
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c: In function `zthfc_open':
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:756: error: dereferencing pointer to incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:763: warning: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:555)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c: In function `zthfc_close':
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:771: error: dereferencing pointer to incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:779: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:567)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c: In function `zthfc_startup':
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:799: error: dereferencing pointer to incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:806: error: dereferencing pointer to incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:806: error: `ZT_FLAG_RUNNING' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:809: error: dereferencing pointer to incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:809: error: `ZT_FLAG_HDLC' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:810: error: dereferencing pointer to incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:810: error: `ZT_FLAG_BRIDCHAN' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:812: error: dereferencing pointer to incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c: At top level:
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:840: warning: `struct zt_lineconfig' declared inside parameter list
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:840: warning: its scope is only this definition or declaration, which is probably not what you want
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c: In function `zthfc_spanconfig':
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:841: error: dereferencing pointer to incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:841: error: dereferencing pointer to incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c: In function `zthfc_initialize':
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:849: error: invalid application of `sizeof' to an incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:849: error: invalid application of `sizeof' to an incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:849: error: invalid application of `sizeof' to an incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:849: error: invalid application of `sizeof' to an incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:849: error: invalid application of `sizeof' to an incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:849: error: invalid application of `sizeof' to an incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:878: error: `ZT_LAW_ALAW' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:879: error: `ZT_CONFIG_AMI' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:879: error: `ZT_CONFIG_CCS' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:885: error: invalid application of `sizeof' to an incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:885: error: invalid application of `sizeof' to an incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:885: error: invalid application of `sizeof' to an incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:885: error: invalid application of `sizeof' to an incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:885: error: invalid application of `sizeof' to an incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:885: error: invalid application of `sizeof' to an incomplete type
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:888: error: `ZT_SIG_EM' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:888: error: `ZT_SIG_CLEAR' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:888: error: `ZT_SIG_FXSLS' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:888: error: `ZT_SIG_FXSGS' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:888: error: `ZT_SIG_FXSKS' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:888: error: `ZT_SIG_FXOLS' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:888: error: `ZT_SIG_FXOGS' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:888: error: `ZT_SIG_FXOKS' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:888: error: `ZT_SIG_CAS' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:888: error: `ZT_SIG_SF' undeclared (first use in this function)
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:892: warning: implicit declaration of function `zt_register'
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c: In function `hfc_findCards':
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:987: warning: use of cast expressions as lvalues is deprecated
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:987: warning: use of cast expressions as lvalues is deprecated
/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.c:995: warning: passing arg 2 of `request_irq' from incompatible pointer type
make[4]: *** [/home/jel/zaptel/usr_src/modules/zaptel/zaphfc/zaphfc.o] Error 1
make[3]: *** [_module_/home/jel/zaptel/usr_src/modules/zaptel/zaphfc] Error 2
make[3]: Leaving directory `/usr/src/kernel-source-2.6.8'
make[2]: *** [linux26-modules] Error 2
make[2]: Leaving directory `/home/jel/zaptel/usr_src/modules/zaptel'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/home/jel/zaptel/usr_src/modules/zaptel'
make: *** [kdist_build] Error 2


More information about the Pkg-voip-maintainers mailing list