Problem while installing zaptel

Hi all,

I have a problem while installing zaptel driver for Digium. My configuration is (cat /proc/version):

On my PC runs a Fedora Core 6 O.S. and I want to install a zaptel 1.4.0 (zaptel-1.4.0.tar.gz).

When I execute the ‘make linux26’ comand, it generates a list of errors in compiling.

Can you help me?

Not untill snippets of error messages are posted. :wink:

My error are:

... from /usr/src/zaptel-1.4.0/wcfxo.c:36: include/linux/mm.h:39:25: error: asm/pgtable.h: No such file or directory In file included from include/linux/poll.h:11, from /usr/src/zaptel-1.4.0/zaptel.h:1031, from /usr/src/zaptel-1.4.0/wcfxo.c:36: include/linux/mm.h: At top level: include/linux/mm.h:68: error: expected specifier-qualifier-list before ‘pgprot_t’ include/linux/mm.h:192: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘protection_map’ include/linux/mm.h:204: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’ include/linux/mm.h:230: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/mm.h:252:16: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined In file included from include/linux/mm.h:283, from include/linux/poll.h:11, from /usr/src/zaptel-1.4.0/zaptel.h:1031, from /usr/src/zaptel-1.4.0/wcfxo.c:36: include/linux/page-flags.h:90:6: warning: "BITS_PER_LONG" is not defined In file included from include/linux/poll.h:11, from /usr/src/zaptel-1.4.0/zaptel.h:1031, from /usr/src/zaptel-1.4.0/wcfxo.c:36: include/linux/mm.h: In function ‘put_page_testzero’: include/linux/mm.h:304: error: ‘struct page’ has no member named ‘_count’ include/linux/mm.h:305: error: ‘struct page’ has no member named ‘_count’ include/linux/mm.h: In function ‘get_page_unless_zero’: include/linux/mm.h:314: error: implicit declaration of function ‘atomic_inc_not_zero’ include/linux/mm.h:314: error: ‘struct page’ has no member named ‘_count’ include/linux/mm.h: In function ‘page_count’: include/linux/mm.h:322: error: ‘struct page’ has no member named ‘private’ include/linux/mm.h:323: error: ‘struct page’ has no member named ‘_count’ include/linux/mm.h: In function ‘get_page’: include/linux/mm.h:329: error: ‘struct page’ has no member named ‘private’ include/linux/mm.h:330: error: ‘struct page’ has no member named ‘_count’ include/linux/mm.h: In function ‘init_page_count’: include/linux/mm.h:339: error: implicit declaration of function ‘atomic_set’ include/linux/mm.h:339: error: ‘struct page’ has no member named ‘_count’ In file included from include/linux/poll.h:11, from /usr/src/zaptel-1.4.0/zaptel.h:1031, from /usr/src/zaptel-1.4.0/wcfxo.c:36: include/linux/mm.h:423:47: warning: "FLAGS_RESERVED" is not defined include/linux/mm.h:461:46: warning: "FLAGS_RESERVED" is not defined include/linux/mm.h:462:2: error: #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > FLAGS_RESERVED include/linux/mm.h: In function ‘page_to_nid’: include/linux/mm.h:492: error: ‘struct zone’ has no member named ‘zone_pgdat’ In file included from include/linux/mm.h:526, from include/linux/poll.h:11, from /usr/src/zaptel-1.4.0/zaptel.h:1031, from /usr/src/zaptel-1.4.0/wcfxo.c:36: include/linux/vmstat.h: At top level: include/linux/vmstat.h:84: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vm_stat’ include/linux/vmstat.h: In function ‘zone_page_state_add’: include/linux/vmstat.h:89: error: implicit declaration of function ‘atomic_long_add’ include/linux/vmstat.h:89: error: ‘struct zone’ has no member named ‘vm_stat’ include/linux/vmstat.h:90: error: ‘vm_stat’ undeclared (first use in this function) include/linux/vmstat.h: In function ‘global_page_state’: include/linux/vmstat.h:95: error: implicit declaration of function ‘atomic_long_read’ include/linux/vmstat.h:95: error: ‘vm_stat’ undeclared (first use in this function) include/linux/vmstat.h: In function ‘zone_page_state’: include/linux/vmstat.h:106: error: ‘struct zone’ has no member named ‘vm_stat’ include/linux/vmstat.h: In function ‘zap_zone_vm_stats’: include/linux/vmstat.h:157: error: ‘struct zone’ has no member named ‘vm_stat’ include/linux/vmstat.h:157: error: ‘struct zone’ has no member named ‘vm_stat’ include/linux/vmstat.h:157: error: too many arguments to function ‘memset’ include/linux/vmstat.h: In function ‘__inc_zone_state’: include/linux/vmstat.h:190: error: implicit declaration of function ‘atomic_long_inc’ include/linux/vmstat.h:190: error: ‘struct zone’ has no member named ‘vm_stat’ include/linux/vmstat.h:191: error: ‘vm_stat’ undeclared (first use in this function) include/linux/vmstat.h: In function ‘__dec_zone_page_state’: include/linux/vmstat.h:203: error: implicit declaration of function ‘atomic_long_dec’ include/linux/vmstat.h:203: error: ‘struct zone’ has no member named ‘vm_stat’ include/linux/vmstat.h:204: error: ‘vm_stat’ undeclared (first use in this function) In file included from include/linux/poll.h:11, from /usr/src/zaptel-1.4.0/zaptel.h:1031, from /usr/src/zaptel-1.4.0/wcfxo.c:36: include/linux/mm.h: In function ‘lowmem_page_address’: include/linux/mm.h:535: error: implicit declaration of function ‘__va’ include/linux/mm.h:535: error: implicit declaration of function ‘page_to_pfn’ include/linux/mm.h:535: error: ‘PAGE_SHIFT’ undeclared (first use in this function) include/linux/mm.h:535: warning: return makes pointer from integer without a cast include/linux/mm.h: In function ‘page_mapping’: include/linux/mm.h:577: error: ‘struct page’ has no member named ‘mapping’ include/linux/mm.h: In function ‘PageAnon’: include/linux/mm.h:588: error: ‘struct page’ has no member named ‘mapping’ include/linux/mm.h: In function ‘page_index’: include/linux/mm.h:598: error: ‘struct page’ has no member named ‘private’ include/linux/mm.h:599: error: ‘struct page’ has no member named ‘index’ include/linux/mm.h: In function ‘reset_page_mapcount’: include/linux/mm.h:609: error: ‘struct page’ has no member named ‘_mapcount’ include/linux/mm.h: In function ‘page_mapcount’: include/linux/mm.h:614: error: ‘struct page’ has no member named ‘_mapcount’ include/linux/mm.h: In function ‘page_mapped’: include/linux/mm.h:622: error: ‘struct page’ has no member named ‘_mapcount’ include/linux/mm.h: At top level: include/linux/mm.h:679: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h: In function ‘can_do_mlock’: include/linux/mm.h:696: error: ‘current’ undeclared (first use in this function) include/linux/mm.h:696: error: ‘RLIMIT_MEMLOCK’ undeclared (first use in this function) include/linux/mm.h: At top level: include/linux/mm.h:700: error: expected ‘)’ before ‘struct’ include/linux/mm.h:701: error: expected ‘)’ before ‘struct’ include/linux/mm.h:715: error: expected declaration specifiers or ‘...’ before ‘pte_t’ include/linux/mm.h:729: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’ include/linux/mm.h:731: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:731: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:734: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:734: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h: In function ‘unmap_shared_mapping_range’: include/linux/mm.h:736: error: ‘holebegin’ undeclared (first use in this function) include/linux/mm.h:736: error: ‘holelen’ undeclared (first use in this function) include/linux/mm.h:736: error: too many arguments to function ‘unmap_mapping_range’ include/linux/mm.h: At top level: include/linux/mm.h:739: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:740: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:740: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:741: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’ include/linux/mm.h:742: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’ include/linux/mm.h:772: error: expected declaration specifiers or ‘...’ before ‘pte_t’ include/linux/mm.h: In function ‘vma_wants_writenotify’: include/linux/mm.h:817: error: ‘struct vm_area_struct’ has no member named ‘vm_flags’ include/linux/mm.h:824: error: ‘struct vm_area_struct’ has no member named ‘vm_ops’ include/linux/mm.h:824: error: ‘struct vm_area_struct’ has no member named ‘vm_ops’ include/linux/mm.h:828: error: implicit declaration of function ‘pgprot_val’ include/linux/mm.h:828: error: ‘struct vm_area_struct’ has no member named ‘vm_page_prot’ include/linux/mm.h:829: error: ‘protection_map’ undeclared (first use in this function) include/linux/mm.h:838: error: ‘struct vm_area_struct’ has no member named ‘vm_file’ include/linux/mm.h:838: error: ‘struct vm_area_struct’ has no member named ‘vm_file’ include/linux/mm.h:839: error: ‘struct vm_area_struct’ has no member named ‘vm_file’ include/linux/mm.h: At top level: include/linux/mm.h:842: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token include/linux/mm.h:844: error: expected declaration specifiers or ‘...’ before ‘pgd_t’ include/linux/mm.h:845: error: expected declaration specifiers or ‘...’ before ‘pud_t’ include/linux/mm.h:846: error: expected declaration specifiers or ‘...’ before ‘pmd_t’ include/linux/mm.h:847: error: expected ‘)’ before ‘*’ token include/linux/mm.h:867:16: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined include/linux/mm.h: In function ‘vma_nonlinear_insert’: include/linux/mm.h:946: error: ‘struct vm_area_struct’ has no member named ‘shared’ include/linux/mm.h:947: error: ‘struct vm_area_struct’ has no member named ‘shared’ include/linux/mm.h: At top level: include/linux/mm.h:981: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’ include/linux/mm.h: In function ‘do_mmap’: include/linux/mm.h:992: error: ‘EINVAL’ undeclared (first use in this function) include/linux/mm.h:993: error: implicit declaration of function ‘PAGE_ALIGN’ include/linux/mm.h:995: error: ‘PAGE_MASK’ undeclared (first use in this function) include/linux/mm.h:996: error: ‘PAGE_SHIFT’ undeclared (first use in this function) include/linux/mm.h: At top level: include/linux/mm.h:1001: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mm.h:1007: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:1009: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:1009: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:1014: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’ include/linux/mm.h: In function ‘vma_pages’: include/linux/mm.h:1062: error: ‘PAGE_SHIFT’ undeclared (first use in this function) include/linux/mm.h: At top level: include/linux/mm.h:1065: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vm_get_page_prot’ include/linux/mm.h:1070: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’ include/linux/mm.h: In function ‘kernel_map_pages’: include/linux/mm.h:1102: error: ‘PAGE_SIZE’ undeclared (first use in this function) include/linux/mm.h: At top level: include/linux/mm.h:1119: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mm.h:1119: error: expected declaration specifiers or ‘...’ before ‘loff_t’ In file included from /usr/src/zaptel-1.4.0/zaptel.h:1031, from /usr/src/zaptel-1.4.0/wcfxo.c:36: include/linux/poll.h:12:25: error: asm/uaccess.h: No such file or directory In file included from /usr/src/zaptel-1.4.0/zaptel.h:1031, from /usr/src/zaptel-1.4.0/wcfxo.c:36: include/linux/poll.h: In function ‘get_fd_set’: include/linux/poll.h:92: error: implicit declaration of function ‘copy_from_user’ include/linux/poll.h:92: error: ‘EFAULT’ undeclared (first use in this function) include/linux/poll.h:94: error: too many arguments to function ‘memset’ include/linux/poll.h: In function ‘set_fd_set’: include/linux/poll.h:102: error: implicit declaration of function ‘__copy_to_user’ include/linux/poll.h: In function ‘zero_fd_set’: include/linux/poll.h:109: error: too many arguments to function ‘memset’ include/linux/poll.h: At top level: include/linux/poll.h:114: error: expected declaration specifiers or ‘...’ before ‘s64’ include/linux/poll.h:116: error: expected declaration specifiers or ‘...’ before ‘s64’ include/linux/poll.h:116: warning: ‘struct pollfd’ declared inside parameter list /usr/src/zaptel-1.4.0/wcfxo.c:144: error: expected specifier-qualifier-list before ‘dma_addr_t’ /usr/src/zaptel-1.4.0/wcfxo.c: In function ‘wcfxo_transmitprep’: /usr/src/zaptel-1.4.0/wcfxo.c:228: error: too many arguments to function ‘memcpy’ /usr/src/zaptel-1.4.0/wcfxo.c:232: error: ‘struct wcfxo’ has no member named ‘writechunk’ /usr/src/zaptel-1.4.0/wcfxo.c:234: error: ‘struct wcfxo’ has no member named ‘writechunk’ /usr/src/zaptel-1.4.0/wcfxo.c:242: error: implicit declaration of function ‘cpu_to_le32’ /usr/src/zaptel-1.4.0/wcfxo.c: In function ‘wcfxo_receiveprep’: /usr/src/zaptel-1.4.0/wcfxo.c:305: error: ‘struct wcfxo’ has no member named ‘readchunk’ /usr/src/zaptel-1.4.0/wcfxo.c:307: error: ‘struct wcfxo’ has no member named ‘readchunk’ /usr/src/zaptel-1.4.0/wcfxo.c:317: error: implicit declaration of function ‘le32_to_cpu’ /usr/src/zaptel-1.4.0/wcfxo.c: In function ‘wcfxo_interrupt’: /usr/src/zaptel-1.4.0/wcfxo.c:409: error: implicit declaration of function ‘inb’ /usr/src/zaptel-1.4.0/wcfxo.c:410: error: implicit declaration of function ‘outb’ /usr/src/zaptel-1.4.0/wcfxo.c: In function ‘wcfxo_open’: /usr/src/zaptel-1.4.0/wcfxo.c:552: error: ‘ENODEV’ undeclared (first use in this function) /usr/src/zaptel-1.4.0/wcfxo.c:555: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function) /usr/src/zaptel-1.4.0/wcfxo.c: In function ‘wcfxo_close’: /usr/src/zaptel-1.4.0/wcfxo.c:572: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function) /usr/src/zaptel-1.4.0/wcfxo.c: In function ‘wcfxo_hardware_init’: /usr/src/zaptel-1.4.0/wcfxo.c:690: error: implicit declaration of function ‘outl’ /usr/src/zaptel-1.4.0/wcfxo.c:690: error: ‘struct wcfxo’ has no member named ‘writedma’ /usr/src/zaptel-1.4.0/wcfxo.c:691: error: ‘struct wcfxo’ has no member named ‘writedma’ /usr/src/zaptel-1.4.0/wcfxo.c:692: error: ‘struct wcfxo’ has no member named ‘writedma’ /usr/src/zaptel-1.4.0/wcfxo.c:694: error: ‘struct wcfxo’ has no member named ‘readdma’ /usr/src/zaptel-1.4.0/wcfxo.c:695: error: ‘struct wcfxo’ has no member named ‘readdma’ /usr/src/zaptel-1.4.0/wcfxo.c:696: error: ‘struct wcfxo’ has no member named ‘readdma’ /usr/src/zaptel-1.4.0/wcfxo.c: In function ‘wcfxo_start_dma’: /usr/src/zaptel-1.4.0/wcfxo.c:715: error: implicit declaration of function ‘set_mb’ /usr/src/zaptel-1.4.0/wcfxo.c:715: error: ‘current’ undeclared (first use in this function) /usr/src/zaptel-1.4.0/wcfxo.c: In function ‘wcfxo_set_daa_mode’: /usr/src/zaptel-1.4.0/wcfxo.c:763: error: ‘current’ undeclared (first use in this function) /usr/src/zaptel-1.4.0/wcfxo.c:764: error: ‘HZ’ undeclared (first use in this function) /usr/src/zaptel-1.4.0/wcfxo.c: In function ‘wcfxo_init_daa’: /usr/src/zaptel-1.4.0/wcfxo.c:782: error: ‘current’ undeclared (first use in this function) /usr/src/zaptel-1.4.0/wcfxo.c:783: error: ‘HZ’ undeclared (first use in this function) /usr/src/zaptel-1.4.0/wcfxo.c: In function ‘wcfxo_init_one’: /usr/src/zaptel-1.4.0/wcfxo.c:844: error: ‘const struct pci_device_id’ has no member named ‘driver_data’ /usr/src/zaptel-1.4.0/wcfxo.c:851: error: ‘EIO’ undeclared (first use in this function) /usr/src/zaptel-1.4.0/wcfxo.c:857: error: implicit declaration of function ‘kmalloc’ /usr/src/zaptel-1.4.0/wcfxo.c:857: warning: assignment makes pointer from integer without a cast /usr/src/zaptel-1.4.0/wcfxo.c:860: error: too many arguments to function ‘memset’ /usr/src/zaptel-1.4.0/wcfxo.c:861: error: ‘struct pci_dev’ has no member named ‘resource’ /usr/src/zaptel-1.4.0/wcfxo.c:867: warning: passing argument 2 of ‘__request_region’ makes pointer from integer without a cast /usr/src/zaptel-1.4.0/wcfxo.c:867: error: too many arguments to function ‘__request_region’ /usr/src/zaptel-1.4.0/wcfxo.c:872: error: ‘struct wcfxo’ has no member named ‘writechunk’ /usr/src/zaptel-1.4.0/wcfxo.c:872: error: implicit declaration of function ‘pci_alloc_consistent’ /usr/src/zaptel-1.4.0/wcfxo.c:872: error: ‘struct wcfxo’ has no member named ‘writedma’ /usr/src/zaptel-1.4.0/wcfxo.c:873: error: ‘struct wcfxo’ has no member named ‘writechunk’ /usr/src/zaptel-1.4.0/wcfxo.c:876: error: too many arguments to function ‘__release_region’ /usr/src/zaptel-1.4.0/wcfxo.c:877: error: ‘ENOMEM’ undeclared (first use in this function) /usr/src/zaptel-1.4.0/wcfxo.c:880: error: ‘struct wcfxo’ has no member named ‘readchunk’ /usr/src/zaptel-1.4.0/wcfxo.c:880: error: ‘struct wcfxo’ has no member named ‘writechunk’ /usr/src/zaptel-1.4.0/wcfxo.c:881: error: ‘struct wcfxo’ has no member named ‘readdma’ /usr/src/zaptel-1.4.0/wcfxo.c:881: error: ‘struct wcfxo’ has no member named ‘writedma’ /usr/src/zaptel-1.4.0/wcfxo.c:886: error: too many arguments to function ‘__release_region’ /usr/src/zaptel-1.4.0/wcfxo.c:897: error: ‘struct pci_dev’ has no member named ‘irq’ /usr/src/zaptel-1.4.0/wcfxo.c:897: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type /usr/src/zaptel-1.4.0/wcfxo.c:898: error: ‘struct pci_dev’ has no member named ‘irq’ /usr/src/zaptel-1.4.0/wcfxo.c:900: error: too many arguments to function ‘__release_region’ /usr/src/zaptel-1.4.0/wcfxo.c:910: error: ‘struct wcfxo’ has no member named ‘writechunk’ /usr/src/zaptel-1.4.0/wcfxo.c:910: error: too many arguments to function ‘memset’ /usr/src/zaptel-1.4.0/wcfxo.c:920: error: ‘struct pci_dev’ has no member named ‘irq’ /usr/src/zaptel-1.4.0/wcfxo.c:926: error: too many arguments to function ‘__release_region’ /usr/src/zaptel-1.4.0/wcfxo.c: In function ‘wcfxo_release’: /usr/src/zaptel-1.4.0/wcfxo.c:943: error: too many arguments to function ‘__release_region’ /usr/src/zaptel-1.4.0/wcfxo.c: In function ‘wcfxo_remove_one’: /usr/src/zaptel-1.4.0/wcfxo.c:961: error: implicit declaration of function ‘pci_free_consistent’ /usr/src/zaptel-1.4.0/wcfxo.c:961: error: ‘struct wcfxo’ has no member named ‘writechunk’ /usr/src/zaptel-1.4.0/wcfxo.c:961: error: ‘struct wcfxo’ has no member named ‘writedma’ /usr/src/zaptel-1.4.0/wcfxo.c:962: error: ‘struct pci_dev’ has no member named ‘irq’ /usr/src/zaptel-1.4.0/wcfxo.c: At top level: /usr/src/zaptel-1.4.0/wcfxo.c:976: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:976: warning: (near initialization for ‘wcfxo_pci_tbl[0]’) /usr/src/zaptel-1.4.0/wcfxo.c:976: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:976: warning: (near initialization for ‘wcfxo_pci_tbl[0]’) /usr/src/zaptel-1.4.0/wcfxo.c:976: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:976: warning: (near initialization for ‘wcfxo_pci_tbl[0]’) /usr/src/zaptel-1.4.0/wcfxo.c:976: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:976: warning: (near initialization for ‘wcfxo_pci_tbl[0]’) /usr/src/zaptel-1.4.0/wcfxo.c:976: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:976: warning: (near initialization for ‘wcfxo_pci_tbl[0]’) /usr/src/zaptel-1.4.0/wcfxo.c:976: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:976: warning: (near initialization for ‘wcfxo_pci_tbl[0]’) /usr/src/zaptel-1.4.0/wcfxo.c:976: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:976: warning: (near initialization for ‘wcfxo_pci_tbl[0]’) /usr/src/zaptel-1.4.0/wcfxo.c:977: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:977: warning: (near initialization for ‘wcfxo_pci_tbl[1]’) /usr/src/zaptel-1.4.0/wcfxo.c:977: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:977: warning: (near initialization for ‘wcfxo_pci_tbl[1]’) /usr/src/zaptel-1.4.0/wcfxo.c:977: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:977: warning: (near initialization for ‘wcfxo_pci_tbl[1]’) /usr/src/zaptel-1.4.0/wcfxo.c:977: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:977: warning: (near initialization for ‘wcfxo_pci_tbl[1]’) /usr/src/zaptel-1.4.0/wcfxo.c:977: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:977: warning: (near initialization for ‘wcfxo_pci_tbl[1]’) /usr/src/zaptel-1.4.0/wcfxo.c:977: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:977: warning: (near initialization for ‘wcfxo_pci_tbl[1]’) /usr/src/zaptel-1.4.0/wcfxo.c:977: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:977: warning: (near initialization for ‘wcfxo_pci_tbl[1]’) /usr/src/zaptel-1.4.0/wcfxo.c:978: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:978: warning: (near initialization for ‘wcfxo_pci_tbl[2]’) /usr/src/zaptel-1.4.0/wcfxo.c:978: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:978: warning: (near initialization for ‘wcfxo_pci_tbl[2]’) /usr/src/zaptel-1.4.0/wcfxo.c:978: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:978: warning: (near initialization for ‘wcfxo_pci_tbl[2]’) /usr/src/zaptel-1.4.0/wcfxo.c:978: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:978: warning: (near initialization for ‘wcfxo_pci_tbl[2]’) /usr/src/zaptel-1.4.0/wcfxo.c:978: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:978: warning: (near initialization for ‘wcfxo_pci_tbl[2]’) /usr/src/zaptel-1.4.0/wcfxo.c:978: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:978: warning: (near initialization for ‘wcfxo_pci_tbl[2]’) /usr/src/zaptel-1.4.0/wcfxo.c:978: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:978: warning: (near initialization for ‘wcfxo_pci_tbl[2]’) /usr/src/zaptel-1.4.0/wcfxo.c:979: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:979: warning: (near initialization for ‘wcfxo_pci_tbl[3]’) /usr/src/zaptel-1.4.0/wcfxo.c:979: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:979: warning: (near initialization for ‘wcfxo_pci_tbl[3]’) /usr/src/zaptel-1.4.0/wcfxo.c:979: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:979: warning: (near initialization for ‘wcfxo_pci_tbl[3]’) /usr/src/zaptel-1.4.0/wcfxo.c:979: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:979: warning: (near initialization for ‘wcfxo_pci_tbl[3]’) /usr/src/zaptel-1.4.0/wcfxo.c:979: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:979: warning: (near initialization for ‘wcfxo_pci_tbl[3]’) /usr/src/zaptel-1.4.0/wcfxo.c:979: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:979: warning: (near initialization for ‘wcfxo_pci_tbl[3]’) /usr/src/zaptel-1.4.0/wcfxo.c:979: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:979: warning: (near initialization for ‘wcfxo_pci_tbl[3]’) /usr/src/zaptel-1.4.0/wcfxo.c:980: warning: excess elements in struct initializer /usr/src/zaptel-1.4.0/wcfxo.c:980: warning: (near initialization for ‘wcfxo_pci_tbl[4]’) /usr/src/zaptel-1.4.0/wcfxo.c: In function ‘wcfxo_init’: /usr/src/zaptel-1.4.0/wcfxo.c:1004: error: ‘ENODEV’ undeclared (first use in this function) /usr/src/zaptel-1.4.0/wcfxo.c: At top level: /usr/src/zaptel-1.4.0/wcfxo.c:1024: error: expected ‘)’ before string constant /usr/src/zaptel-1.4.0/wcfxo.c:1025: error: expected ‘)’ before string constant /usr/src/zaptel-1.4.0/wcfxo.c:1026: error: expected ‘)’ before string constant /usr/src/zaptel-1.4.0/wcfxo.c:1027: error: expected ‘)’ before string constant /usr/src/zaptel-1.4.0/wcfxo.c:1028: error: expected ‘)’ before string constant make[2]: *** [/usr/src/zaptel-1.4.0/wcfxo.o] Error 1 make[1]: *** [_module_/usr/src/zaptel-1.4.0] Error 2 make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i686' make: *** [linux26] Error 2