asterisk:/usr/src/zaptel# make install
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
gcc -I/usr/src/linux-2.4/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/usr/src/linux/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/usr/src/linux/drivers/net/wan -I /usr/src/linux/include -I/usr/src/linux/include/net -DSTANDALONE_ZAPATA -c zaptel.c
In file included from /usr/src/linux/include/linux/kernel.h:13,
from zaptel.c:42:
/usr/src/linux/include/linux/types.h:21: error: parse error before "dev_t"
/usr/src/linux/include/linux/types.h:21: warning: type defaults to `int' in declaration of `dev_t'
/usr/src/linux/include/linux/types.h:21: warning: data definition has no type or storage class
In file included from /usr/include/asm/math_emu.h:4,
from /usr/include/asm/processor.h:11,
from /usr/src/linux/include/linux/prefetch.h:13,
from /usr/src/linux/include/linux/list.h:6,
from /usr/src/linux/include/linux/module.h:12,
from zaptel.c:44:
/usr/include/asm/sigcontext.h:79: error: parse error before '*' token
/usr/include/asm/sigcontext.h:82: error: parse error before '}' token
In file included from /usr/include/asm/processor.h:11,
from /usr/src/linux/include/linux/prefetch.h:13,
from /usr/src/linux/include/linux/list.h:6,
from /usr/src/linux/include/linux/module.h:12,
from zaptel.c:44:
/usr/include/asm/math_emu.h:6: error: parse error before '*' token
/usr/include/asm/math_emu.h:7: error: parse error before '*' token
In file included from /usr/src/linux/include/linux/prefetch.h:13,
from /usr/src/linux/include/linux/list.h:6,
from /usr/src/linux/include/linux/module.h:12,
from zaptel.c:44:
/usr/include/asm/processor.h:421: error: parse error before '*' token
/usr/include/asm/processor.h:427: error: parse error before '}' token
In file included from zaptel.c:44:
/usr/src/linux/include/linux/module.h:21:34: linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/fs.h:19,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux/include/linux/dcache.h: In function `d_drop':
/usr/src/linux/include/linux/dcache.h:149: warning: implicit declaration of function `spin_lock'
/usr/src/linux/include/linux/dcache.h:152: warning: implicit declaration of function `spin_unlock'
In file included from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux/include/linux/fs.h: At top level:
/usr/src/linux/include/linux/fs.h:426: error: parse error before "dev_t"
/usr/src/linux/include/linux/fs.h:426: warning: no semicolon at end of struct or union
/usr/src/linux/include/linux/fs.h:429: error: parse error before '}' token
/usr/src/linux/include/linux/fs.h:435: error: parse error before "dev_t"
/usr/src/linux/include/linux/fs.h:435: warning: no semicolon at end of struct or union
/usr/src/linux/include/linux/fs.h:440: error: parse error before '}' token
In file included from /usr/src/linux/include/linux/reiserfs_fs_sb.h:8,
from /usr/src/linux/include/linux/fs.h:731,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux/include/linux/tqueue.h: In function `queue_task':
/usr/src/linux/include/linux/tqueue.h:107: warning: implicit declaration of function `typecheck'
/usr/src/linux/include/linux/tqueue.h:107: error: parse error before "unsigned"
In file included from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux/include/linux/fs.h: At top level:
/usr/src/linux/include/linux/fs.h:820: error: parse error before "dev_t"
/usr/src/linux/include/linux/fs.h:820: warning: function declaration isn't a prototype
/usr/src/linux/include/linux/fs.h:1111: warning: parameter names (without types) in function declaration
/usr/src/linux/include/linux/fs.h:1115: warning: parameter names (without types) in function declaration
In file included from /usr/include/asm/smp.h:18,
from /usr/src/linux/include/linux/smp.h:14,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/include/asm/smp.h:18,
from /usr/src/linux/include/linux/smp.h:14,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a function)
In file included from /usr/include/asm/smp.h:20,
from /usr/src/linux/include/linux/smp.h:14,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /usr/src/linux/include/linux/smp.h:14,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/include/asm/smp.h:73:26: mach_apicdef.h: No such file or directory
In file included from /usr/include/asm/siginfo.h:4,
from /usr/src/linux/include/linux/signal.h:5,
from /usr/src/linux/include/linux/sched.h:26,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/include/asm-generic/siginfo.h:51: error: parse error before "timer_t"
/usr/include/asm-generic/siginfo.h:87: error: parse error before '}' token
/usr/include/asm-generic/siginfo.h:88: error: parse error before '}' token
/usr/include/asm-generic/siginfo.h: In function `copy_siginfo':
/usr/include/asm-generic/siginfo.h:278: error: structure has no member named `_sifields'
/usr/include/asm-generic/siginfo.h:278: error: structure has no member named `_sifields'
/usr/include/asm-generic/siginfo.h:278: error: structure has no member named `_sifields'
/usr/include/asm-generic/siginfo.h: At top level:
/usr/include/asm-generic/siginfo.h:283: error: parse error before '*' token
In file included from /usr/src/linux/include/linux/sched.h:26,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux/include/linux/signal.h:14: error: parse error before "siginfo_t"
/usr/src/linux/include/linux/signal.h:14: warning: no semicolon at end of struct or union
In file included from /usr/src/linux/include/linux/sched.h:28,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux/include/linux/fs_struct.h: In function `set_fs_root':
/usr/src/linux/include/linux/fs_struct.h:34: warning: implicit declaration of function `write_lock'
/usr/src/linux/include/linux/fs_struct.h:39: warning: implicit declaration of function `write_unlock'
In file included from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux/include/linux/sched.h: At top level:
/usr/src/linux/include/linux/sched.h:390: error: field `thread' has incomplete type
In file included from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from zaptel.c:45:
/usr/src/linux/include/linux/sched.h:624: error: parse error before "siginfo_t"
/usr/src/linux/include/linux/sched.h:624: warning: function declaration isn't a prototype
/usr/src/linux/include/linux/sched.h:807: error: conflicting types for `kernel_thread'
/usr/include/asm/processor.h:492: error: previous declaration of `kernel_thread'
/usr/src/linux/include/linux/sched.h: In function `d_path':
/usr/src/linux/include/linux/sched.h:937: warning: implicit declaration of function `read_lock'
/usr/src/linux/include/linux/sched.h:940: warning: implicit declaration of function `read_unlock'
In file included from /usr/src/linux/include/linux/vmalloc.h:8,
from /usr/include/asm/io.h:46,
from /usr/include/asm/pci.h:39,
from /usr/src/linux/include/linux/pci.h:679,
from zaptel.c:46:
/usr/src/linux/include/linux/highmem.h:87:36: macro "clear_user_page" requires 3 arguments, but only 2 given
In file included from /usr/src/linux/include/linux/vmalloc.h:8,
from /usr/include/asm/io.h:46,
from /usr/include/asm/pci.h:39,
from /usr/src/linux/include/linux/pci.h:679,
from zaptel.c:46:
/usr/src/linux/include/linux/highmem.h: In function `clear_user_highpage':
/usr/src/linux/include/linux/highmem.h:87: error: `clear_user_page' undeclared (first use in this function)
/usr/src/linux/include/linux/highmem.h:87: error: (Each undeclared identifier is reported only once
/usr/src/linux/include/linux/highmem.h:87: error: for each function it appears in.)
/usr/src/linux/include/linux/highmem.h:119:41: macro "copy_user_page" requires 4 arguments, but only 3 given
/usr/src/linux/include/linux/highmem.h: In function `copy_user_highpage':
/usr/src/linux/include/linux/highmem.h:119: error: `copy_user_page' undeclared (first use in this function)
In file included from /usr/include/linux/dma-mapping.h:13,
from /usr/include/asm-generic/pci-dma-compat.h:7,
from /usr/include/asm/pci.h:92,
from /usr/src/linux/include/linux/pci.h:679,
from zaptel.c:46:
/usr/include/asm/dma-mapping.h: In function `dma_set_mask':
/usr/include/asm/dma-mapping.h:112: error: dereferencing pointer to incomplete type
/usr/include/asm/dma-mapping.h:115: error: dereferencing pointer to incomplete type
In file included from /usr/include/asm/pci.h:92,
from /usr/src/linux/include/linux/pci.h:679,
from zaptel.c:46:
/usr/include/asm-generic/pci-dma-compat.h: In function `pci_dma_supported':
/usr/include/asm-generic/pci-dma-compat.h:15: error: structure has no member named `dev'
/usr/include/asm-generic/pci-dma-compat.h: In function `pci_alloc_consistent':
/usr/include/asm-generic/pci-dma-compat.h:22: error: structure has no member named `dev'
/usr/include/asm-generic/pci-dma-compat.h: In function `pci_free_consistent':
/usr/include/asm-generic/pci-dma-compat.h:29: error: structure has no member named `dev'
/usr/include/asm-generic/pci-dma-compat.h: In function `pci_map_single':
/usr/include/asm-generic/pci-dma-compat.h:35: error: structure has no member named `dev'
/usr/include/asm-generic/pci-dma-compat.h: In function `pci_unmap_single':
/usr/include/asm-generic/pci-dma-compat.h:42: error: structure has no member named `dev'
/usr/include/asm-generic/pci-dma-compat.h: In function `pci_map_page':
/usr/include/asm-generic/pci-dma-compat.h:49: error: structure has no member named `dev'
/usr/include/asm-generic/pci-dma-compat.h: In function `pci_unmap_page':
/usr/include/asm-generic/pci-dma-compat.h:56: error: structure has no member named `dev'
/usr/include/asm-generic/pci-dma-compat.h: In function `pci_map_sg':
/usr/include/asm-generic/pci-dma-compat.h:63: error: structure has no member named `dev'
/usr/include/asm-generic/pci-dma-compat.h: In function `pci_unmap_sg':
/usr/include/asm-generic/pci-dma-compat.h:70: error: structure has no member named `dev'
/usr/include/asm-generic/pci-dma-compat.h: In function `pci_dma_sync_single':
/usr/include/asm-generic/pci-dma-compat.h:77: error: structure has no member named `dev'
/usr/include/asm-generic/pci-dma-compat.h: In function `pci_dma_sync_sg':
/usr/include/asm-generic/pci-dma-compat.h:84: error: structure has no member named `dev'
In file included from /usr/include/asm/pci.h:95,
from /usr/src/linux/include/linux/pci.h:679,
from zaptel.c:46:
/usr/include/asm-generic/pci.h: In function `pcibios_resource_to_bus':
/usr/include/asm-generic/pci.h:21: error: dereferencing pointer to incomplete type
/usr/include/asm-generic/pci.h:22: error: dereferencing pointer to incomplete type
In file included from /usr/src/linux/include/linux/poll.h:11,
from zaptel.h:875,
from zaptel.c:82:
/usr/include/asm/uaccess.h: At top level:
/usr/include/asm/uaccess.h:102: error: parse error before '*' token
/usr/include/asm/uaccess.h: In function `verify_area':
/usr/include/asm/uaccess.h:104: error: `addr' undeclared (first use in this function)
/usr/include/asm/uaccess.h:104: error: `size' undeclared (first use in this function)
/usr/include/asm/uaccess.h: At top level:
/usr/include/asm/uaccess.h:374: error: parse error before '*' token
/usr/include/asm/uaccess.h:375: error: parse error before '*' token
/usr/include/asm/uaccess.h:399: error: parse error before '*' token
/usr/include/asm/uaccess.h: In function `__copy_to_user':
/usr/include/asm/uaccess.h:401: error: `n' undeclared (first use in this function)
/usr/include/asm/uaccess.h:406: error: `from' undeclared (first use in this function)
/usr/include/asm/uaccess.h:406: error: `to' undeclared (first use in this function)
/usr/include/asm/uaccess.h: At top level:
/usr/include/asm/uaccess.h:437: error: parse error before '*' token
/usr/include/asm/uaccess.h: In function `__copy_from_user':
/usr/include/asm/uaccess.h:439: error: `n' undeclared (first use in this function)
/usr/include/asm/uaccess.h:444: error: `to' undeclared (first use in this function)
/usr/include/asm/uaccess.h:444: error: `from' undeclared (first use in this function)
/usr/include/asm/uaccess.h: At top level:
/usr/include/asm/uaccess.h:471: error: parse error before '*' token
/usr/include/asm/uaccess.h: In function `copy_to_user':
/usr/include/asm/uaccess.h:474: error: `to' undeclared (first use in this function)
/usr/include/asm/uaccess.h:474: error: `n' undeclared (first use in this function)
/usr/include/asm/uaccess.h:475: error: `from' undeclared (first use in this function)
/usr/include/asm/uaccess.h: At top level:
/usr/include/asm/uaccess.h:496: error: parse error before '*' token
/usr/include/asm/uaccess.h: In function `copy_from_user':
/usr/include/asm/uaccess.h:499: error: `from' undeclared (first use in this function)
/usr/include/asm/uaccess.h:499: error: `n' undeclared (first use in this function)
/usr/include/asm/uaccess.h:500: error: `to' undeclared (first use in this function)
/usr/include/asm/uaccess.h: At top level:
/usr/include/asm/uaccess.h:506: error: parse error before '*' token
/usr/include/asm/uaccess.h:507: error: parse error before '*' token
/usr/include/asm/uaccess.h:525: error: parse error before '*' token
/usr/include/asm/uaccess.h:526: error: parse error before '*' token
/usr/include/asm/uaccess.h:527: error: parse error before '*' token
zaptel.c: In function `zt_qevent_lock':
zaptel.c:668: error: parse error before "unsigned"
zaptel.c: In function `zt_reallocbufs':
zaptel.c:764: error: parse error before "unsigned"
zaptel.c: In function `close_channel':
zaptel.c:955: error: parse error before "unsigned"
zaptel.c: In function `zt_chan_reg':
zaptel.c:1163: error: parse error before "unsigned"
zaptel.c: In function `zt_chan_unreg':
zaptel.c:1566: error: parse error before "unsigned"
zaptel.c: In function `zt_chan_read':
zaptel.c:1585: error: parse error before "unsigned"
zaptel.c:1591: error: parse error before "unsigned"
zaptel.c:1644: error: parse error before "unsigned"
zaptel.c: In function `zt_chan_write':
zaptel.c:1670: error: parse error before "unsigned"
zaptel.c:1674: error: parse error before "unsigned"
zaptel.c:1740: error: parse error before "unsigned"
zaptel.c: In function `initialize_channel':
zaptel.c:2073: error: parse error before "unsigned"
zaptel.c: In function `zt_timing_open':
zaptel.c:2099: error: parse error before "unsigned"
zaptel.c: In function `zt_timer_release':
zaptel.c:2124: error: parse error before "unsigned"
zaptel.c: In function `zt_alloc_pseudo':
zaptel.c:2211: error: parse error before "unsigned"
zaptel.c: In function `zt_free_pseudo':
zaptel.c:2221: error: parse error before "unsigned"
zaptel.c: In function `zt_timer_ioctl':
zaptel.c:2653: error: parse error before "unsigned"
zaptel.c:2661: error: parse error before "unsigned"
zaptel.c:2671: error: parse error before "unsigned"
zaptel.c:2678: error: parse error before "unsigned"
zaptel.c:2683: error: parse error before "unsigned"
zaptel.c: In function `zt_ctl_ioctl':
zaptel.c:3018: error: parse error before "unsigned"
zaptel.c:3072: error: parse error before "unsigned"
zaptel.c:3198: error: parse error before "unsigned"
zaptel.c:3211: error: parse error before "unsigned"
zaptel.c:3238: error: parse error before "unsigned"
zaptel.c:3302: error: parse error before "unsigned"
zaptel.c:3310: error: parse error before "unsigned"
zaptel.c:3320: error: parse error before "unsigned"
zaptel.c: In function `zt_chanandpseudo_ioctl':
zaptel.c:3357: error: parse error before "unsigned"
zaptel.c:3397: error: parse error before "unsigned"
zaptel.c:3476: error: parse error before "unsigned"
zaptel.c:3484: error: parse error before "unsigned"
zaptel.c:3526: error: parse error before "unsigned"
zaptel.c:3553: error: parse error before "unsigned"
zaptel.c:3561: error: parse error before "unsigned"
zaptel.c:3573: error: parse error before "unsigned"
zaptel.c:3581: error: parse error before "unsigned"
zaptel.c:3588: error: parse error before "unsigned"
zaptel.c:3630: error: parse error before "unsigned"
zaptel.c:3631: error: parse error before "unsigned"
zaptel.c:3653: error: parse error before "unsigned"
zaptel.c:3654: error: parse error before "unsigned"
zaptel.c:3673: error: parse error before "unsigned"
zaptel.c:3674: error: parse error before "unsigned"
zaptel.c:3724: error: parse error before "unsigned"
zaptel.c:3725: error: parse error before "unsigned"
zaptel.c: In function `zt_chan_ioctl':
zaptel.c:3877: error: parse error before "unsigned"
zaptel.c:3885: error: parse error before "unsigned"
zaptel.c:3896: error: parse error before "unsigned"
zaptel.c:3925: error: parse error before "unsigned"
zaptel.c:4043: error: parse error before "unsigned"
zaptel.c:4054: error: parse error before "unsigned"
zaptel.c:4101: error: parse error before "unsigned"
zaptel.c:4107: error: parse error before "unsigned"
zaptel.c:4111: error: parse error before "unsigned"
zaptel.c:4117: error: parse error before "unsigned"
zaptel.c:4127: error: parse error before "unsigned"
zaptel.c:4139: error: parse error before "unsigned"
zaptel.c:4143: error: parse error before "unsigned"
zaptel.c:4152: error: parse error before "unsigned"
zaptel.c:4156: error: parse error before "unsigned"
zaptel.c:4165: error: parse error before "unsigned"
zaptel.c: In function `zt_register':
zaptel.c:4322: warning: implicit declaration of function `class_simple_device_add'
zaptel.c: In function `zt_unregister':
zaptel.c:4372: warning: implicit declaration of function `class_simple_device_remove'
zaptel.c: In function `zt_hooksig':
zaptel.c:5149: error: parse error before "unsigned"
zaptel.c: In function `zt_rbsbits':
zaptel.c:5205: error: parse error before "unsigned"
zaptel.c: In function `zt_ec_chunk':
zaptel.c:5256: error: parse error before "unsigned"
zaptel.c: In function `process_timers':
zaptel.c:5797: error: parse error before "unsigned"
zaptel.c: In function `zt_timer_poll':
zaptel.c:5810: error: parse error before "unsigned"
zaptel.c: In function `zt_chan_poll':
zaptel.c:5842: error: parse error before "unsigned"
zaptel.c: In function `zt_transmit':
zaptel.c:6035: error: parse error before "unsigned"
zaptel.c: In function `zt_receive':
zaptel.c:6127: error: parse error before "unsigned"
zaptel.c:6149: error: parse error before "unsigned"
zaptel.c:6159: error: parse error before "unsigned"
zaptel.c:6185: error: parse error before "unsigned"
zaptel.c:6196: error: parse error before "unsigned"
zaptel.c:6199: error: parse error before "unsigned"
zaptel.c: In function `zt_init':
zaptel.c:6296: warning: implicit declaration of function `class_simple_create'
zaptel.c:6296: warning: assignment makes pointer from integer without a cast
zaptel.c: In function `zt_cleanup':
zaptel.c:6357: warning: implicit declaration of function `class_simple_destroy'
make: *** [zaptel.o] Error 1
asterisk:/usr/src/zaptel#