[Asterisk-Users] Problem compiling zaptel-1.0.3

Scott Nelson sbnelson at thermeon.com
Fri Jan 21 16:28:59 MST 2005


I am having a problem compiling zaptel on my Arch Linux (linux 2.6.10) system:

 CC [M]  /home/sbn/src/zaptel-1.0.3/wcfxs.o
/home/sbn/src/zaptel-1.0.3/wcfxs.c: In function `wcfxs_interrupt':
/home/sbn/src/zaptel-1.0.3/wcfxs.c:473: sorry, unimplemented: inlining failed 
in call to 'wcfxs_proslic_check_hook': function body not available
/home/sbn/src/zaptel-1.0.3/wcfxs.c:810: sorry, unimplemented: called from here
/home/sbn/src/zaptel-1.0.3/wcfxs.c:474: sorry, unimplemented: inlining failed 
in call to 'wcfxs_proslic_recheck_sanity': function body not available
/home/sbn/src/zaptel-1.0.3/wcfxs.c:812: sorry, unimplemented: called from here
/home/sbn/src/zaptel-1.0.3/wcfxs.c:472: sorry, unimplemented: inlining failed 
in call to 'wcfxs_voicedaa_check_hook': function body not available
/home/sbn/src/zaptel-1.0.3/wcfxs.c:814: sorry, unimplemented: called from here
make[2]: *** [/home/sbn/src/zaptel-1.0.3/wcfxs.o] Error 1
make[1]: *** [_module_/home/sbn/src/zaptel-1.0.3] Error 2
make[1]: Leaving directory `/home/sbn/src/linux-2.6.10'
make: *** [linux26] Error 2

Any ideas?

I've attached the entire output from make, if that would help.

Scott
-------------- next part --------------
Script started on Fri 21 Jan 2005 11:33:01 AM PST
[sbn at sna-13 zaptel-1.0.3]$ make clean;make KERNEL_SOURCE=/home/sbn/src/linux-2.6.10
rm -f torisatool makefw tor2fw.h
rm -f zttool
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
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -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    -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    -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -c -o ztcfg.o ztcfg.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o zonedata.lo zonedata.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE    -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    -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    -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
make -C /home/sbn/src/linux-2.6.10 SUBDIRS=/home/sbn/src/zaptel-1.0.3 modules
make[1]: Entering directory `/home/sbn/src/linux-2.6.10'
  CC [M]  /home/sbn/src/zaptel-1.0.3/zaptel.o
/home/sbn/src/zaptel-1.0.3/zaptel.c: In function `zt_chan_write':
/home/sbn/src/zaptel-1.0.3/zaptel.c:1720: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/home/sbn/src/zaptel-1.0.3/zaptel.c: In function `ioctl_load_zone':
/home/sbn/src/zaptel-1.0.3/zaptel.c:2356: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/home/sbn/src/zaptel-1.0.3/zaptel.c: In function `zt_common_ioctl':
/home/sbn/src/zaptel-1.0.3/zaptel.c:2707: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/home/sbn/src/zaptel-1.0.3/zaptel.c:2767: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result
/home/sbn/src/zaptel-1.0.3/zaptel.c:2770: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/home/sbn/src/zaptel-1.0.3/zaptel.c:2852: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/home/sbn/src/zaptel-1.0.3/zaptel.c:2882: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result
/home/sbn/src/zaptel-1.0.3/zaptel.c: In function `zt_chanandpseudo_ioctl':
/home/sbn/src/zaptel-1.0.3/zaptel.c:3591: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/home/sbn/src/zaptel-1.0.3/zaptel.c:3601: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result
/home/sbn/src/zaptel-1.0.3/zaptel.c:3604: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/home/sbn/src/zaptel-1.0.3/zaptel.c:3655: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result
/home/sbn/src/zaptel-1.0.3/zaptel.c:3659: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/home/sbn/src/zaptel-1.0.3/zaptel.c: At top level:
/home/sbn/src/zaptel-1.0.3/zaptel.c:163: warning: 'fcstab' defined but not used
  CC [M]  /home/sbn/src/zaptel-1.0.3/tor2.o
  CC [M]  /home/sbn/src/zaptel-1.0.3/torisa.o
/home/sbn/src/zaptel-1.0.3/torisa.c:1139: warning: 'set_tor_base' defined but not used
  CC [M]  /home/sbn/src/zaptel-1.0.3/wcusb.o
  CC [M]  /home/sbn/src/zaptel-1.0.3/wcfxo.o
  CC [M]  /home/sbn/src/zaptel-1.0.3/wcfxs.o
/home/sbn/src/zaptel-1.0.3/wcfxs.c: In function `wcfxs_interrupt':
/home/sbn/src/zaptel-1.0.3/wcfxs.c:473: sorry, unimplemented: inlining failed in call to 'wcfxs_proslic_check_hook': function body not available
/home/sbn/src/zaptel-1.0.3/wcfxs.c:810: sorry, unimplemented: called from here
/home/sbn/src/zaptel-1.0.3/wcfxs.c:474: sorry, unimplemented: inlining failed in call to 'wcfxs_proslic_recheck_sanity': function body not available
/home/sbn/src/zaptel-1.0.3/wcfxs.c:812: sorry, unimplemented: called from here
/home/sbn/src/zaptel-1.0.3/wcfxs.c:472: sorry, unimplemented: inlining failed in call to 'wcfxs_voicedaa_check_hook': function body not available
/home/sbn/src/zaptel-1.0.3/wcfxs.c:814: sorry, unimplemented: called from here
make[2]: *** [/home/sbn/src/zaptel-1.0.3/wcfxs.o] Error 1
make[1]: *** [_module_/home/sbn/src/zaptel-1.0.3] Error 2
make[1]: Leaving directory `/home/sbn/src/linux-2.6.10'
make: *** [linux26] Error 2
[sbn at sna-13 zaptel-1.0.3]$ 
Script done on Fri 21 Jan 2005 11:34:01 AM PST


More information about the asterisk-users mailing list