.titleBar { margin-bottom: 5px!important; }

Probleme bei zaphfc kofigurieren

Dieses Thema im Forum "Asterisk ISDN mit Bristuff (hfc, zaptel)" wurde erstellt von I--cHrIs--I, 31 Okt. 2004.

  1. I--cHrIs--I

    I--cHrIs--I Neuer User

    Registriert seit:
    24 Sep. 2004
    Beiträge:
    13
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    hallo
    bin Neuling und brauche Hilfe!!
    Hab Suse 9.0 installiert, dazu bristuff 0.2.0-rc2
    beim zaphfc installieren jetzt die Probleme:

    A) Wie mache ich es richtig?
    B) Was habe ich falsch gemacht?

    danke
    chris

    Code:
    linuxse-ck-net:~/bristuff/bristuff-0.2.0-rc2/zaphfc # make
    cc -c zaphfc.c -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -O2 -Wall -I/usr/src/linux/include  -Wall -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -DCONFIG_ZAPATA_BRI_DCHANS
    In file included from /usr/src/linux/include/linux/list.h:241,
                     from /usr/src/linux/include/linux/module.h:12,
                     from zaphfc.c:16:
    /usr/src/linux/include/linux/prefetch.h:13:26: asm/prefetch.h: No such file or directory
    In file included from /usr/src/linux/include/linux/module.h:299,
                     from zaphfc.c:16:
    /usr/src/linux/include/linux/version.h:6:2: #error "The kernel sources in /usr/src/linux are not yet configured."
    /usr/src/linux/include/linux/version.h:7:2: #error "Please run 'make cloneconfig && make dep' in /usr/src/linux/"
    /usr/src/linux/include/linux/version.h:8:2: #error "to get a kernel that is configured like the running kernel."
    /usr/src/linux/include/linux/version.h:9:2: #error "Alternatively, you can copy one of the config files"
    /usr/src/linux/include/linux/version.h:10:2: #error "arch/$ARCH/defconfig.* to .config, and run"
    /usr/src/linux/include/linux/version.h:11:2: #error "'make oldconfig && make dep' to configure the kernel"
    /usr/src/linux/include/linux/version.h:12:2: #error "for that configuration."
    In file included from zaphfc.c:16:
    /usr/src/linux/include/linux/module.h:301: error: parse error before "UTS_RELEASE"
    In file included from /usr/include/asm/math_emu.h:4,
                     from /usr/include/asm/processor.h:13,
                     from /usr/src/linux/include/linux/wait.h:20,
                     from /usr/src/linux/include/linux/fs.h:12,
                     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:11,
                     from /usr/src/linux/include/linux/mm.h:4,
                     from /usr/include/asm/pci.h:7,
                     from /usr/src/linux/include/linux/pci.h:669,
                     from zaphfc.c:17:
    /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:13,
                     from /usr/src/linux/include/linux/wait.h:20,
                     from /usr/src/linux/include/linux/fs.h:12,
                     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:11,
                     from /usr/src/linux/include/linux/mm.h:4,
                     from /usr/include/asm/pci.h:7,
                     from /usr/src/linux/include/linux/pci.h:669,
                     from zaphfc.c:17:
    /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/wait.h:20,
                     from /usr/src/linux/include/linux/fs.h:12,
                     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:11,
                     from /usr/src/linux/include/linux/mm.h:4,
                     from /usr/include/asm/pci.h:7,
                     from /usr/src/linux/include/linux/pci.h:669,
                     from zaphfc.c:17:
    /usr/include/asm/processor.h:395: error: parse error before '*' token
    /usr/include/asm/processor.h:401: error: parse error before '}' token
    /usr/include/asm/processor.h:559: error: redefinition of `prefetch'
    /usr/src/linux/include/linux/prefetch.h:43: error: `prefetch' previously defined here
    /usr/include/asm/processor.h:573: error: redefinition of `prefetchw'
    /usr/src/linux/include/linux/prefetch.h:48: error: `prefetchw' previously defined here
    In file included from /usr/src/linux/include/linux/aio.h:4,
                     from /usr/src/linux/include/linux/fs.h:202,
                     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:11,
                     from /usr/src/linux/include/linux/mm.h:4,
                     from /usr/include/asm/pci.h:7,
                     from /usr/src/linux/include/linux/pci.h:669,
                     from zaphfc.c:17:
    /usr/src/linux/include/linux/tqueue.h: In function `queue_task':
    /usr/src/linux/include/linux/tqueue.h:110: error: parse error before "unsigned"
    In file included from /usr/include/asm/fixmap.h:23,
                     from /usr/include/asm/smp.h:15,
                     from /usr/src/linux/include/linux/smp.h:15,
                     from /usr/src/linux/include/linux/timer.h:15,
                     from /usr/src/linux/include/linux/ext3_fs_sb.h:20,
                     from /usr/src/linux/include/linux/fs.h:810,
                     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:11,
                     from /usr/src/linux/include/linux/mm.h:4,
                     from /usr/include/asm/pci.h:7,
                     from /usr/src/linux/include/linux/pci.h:669,
                     from zaphfc.c:17:
    /usr/include/asm/kmap_types.h: At top level:
    /usr/include/asm/kmap_types.h:12: error: redeclaration of `enum km_type'
    /usr/include/asm/kmap_types.h:13: error: conflicting types for `KM_BOUNCE_READ'
    /usr/src/linux/include/linux/kmap_types.h:5: error: previous declaration of `KM_BOUNCE_READ'
    /usr/include/asm/kmap_types.h:14: error: conflicting types for `KM_SKB_SUNRPC_DATA'
    /usr/src/linux/include/linux/kmap_types.h:6: error: previous declaration of `KM_SKB_SUNRPC_DATA'
    /usr/include/asm/kmap_types.h:15: error: conflicting types for `KM_SKB_DATA_SOFTIRQ'
    /usr/src/linux/include/linux/kmap_types.h:7: error: previous declaration of `KM_SKB_DATA_SOFTIRQ'
    /usr/include/asm/kmap_types.h:16: error: conflicting types for `KM_USER0'
    /usr/src/linux/include/linux/kmap_types.h:8: error: previous declaration of `KM_USER0'
    /usr/include/asm/kmap_types.h:17: error: conflicting types for `KM_USER1'
    /usr/src/linux/include/linux/kmap_types.h:9: error: previous declaration of `KM_USER1'
    /usr/include/asm/kmap_types.h:23: error: conflicting types for `KM_IRQ0'
    /usr/src/linux/include/linux/kmap_types.h:12: error: previous declaration of `KM_IRQ0'
    /usr/include/asm/kmap_types.h:24: error: conflicting types for `KM_IRQ1'
    /usr/src/linux/include/linux/kmap_types.h:13: error: previous declaration of `KM_IRQ1'
    /usr/include/asm/kmap_types.h:28: error: conflicting types for `KM_TYPE_NR'
    /usr/src/linux/include/linux/kmap_types.h:15: error: previous declaration of `KM_TYPE_NR'
    In file included from /usr/include/asm/smp.h:17,
                     from /usr/src/linux/include/linux/smp.h:15,
                     from /usr/src/linux/include/linux/timer.h:15,
                     from /usr/src/linux/include/linux/ext3_fs_sb.h:20,
                     from /usr/src/linux/include/linux/fs.h:810,
                     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:11,
                     from /usr/src/linux/include/linux/mm.h:4,
                     from /usr/include/asm/pci.h:7,
                     from /usr/src/linux/include/linux/pci.h:669,
                     from zaphfc.c:17:
    /usr/include/asm/mpspec.h:5:25: mach_mpspec.h: No such file or directory
    In file included from /usr/include/asm/smp.h:17,
                     from /usr/src/linux/include/linux/smp.h:15,
                     from /usr/src/linux/include/linux/timer.h:15,
                     from /usr/src/linux/include/linux/ext3_fs_sb.h:20,
                     from /usr/src/linux/include/linux/fs.h:810,
                     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:11,
                     from /usr/src/linux/include/linux/mm.h:4,
                     from /usr/include/asm/pci.h:7,
                     from /usr/src/linux/include/linux/pci.h:669,
                     from zaphfc.c:17:
    /usr/include/asm/mpspec.h:7: error: `MAX_MP_BUSSES' undeclared here (not in a function)
    /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:11: 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:7: 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:11: error: previous declaration of `mp_bus_id_to_pci_bus'
    In file included from /usr/include/asm/smp.h:19,
                     from /usr/src/linux/include/linux/smp.h:15,
                     from /usr/src/linux/include/linux/timer.h:15,
                     from /usr/src/linux/include/linux/ext3_fs_sb.h:20,
                     from /usr/src/linux/include/linux/fs.h:810,
                     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:11,
                     from /usr/src/linux/include/linux/mm.h:4,
                     from /usr/include/asm/pci.h:7,
                     from /usr/src/linux/include/linux/pci.h:669,
                     from zaphfc.c:17:
    /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:15,
                     from /usr/src/linux/include/linux/timer.h:15,
                     from /usr/src/linux/include/linux/ext3_fs_sb.h:20,
                     from /usr/src/linux/include/linux/fs.h:810,
                     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:11,
                     from /usr/src/linux/include/linux/mm.h:4,
                     from /usr/include/asm/pci.h:7,
                     from /usr/src/linux/include/linux/pci.h:669,
                     from zaphfc.c:17:
    /usr/include/asm/smp.h:93: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:28,
                     from /usr/src/linux/include/linux/mm.h:4,
                     from /usr/include/asm/pci.h:7,
                     from /usr/src/linux/include/linux/pci.h:669,
                     from zaphfc.c:17:
    /usr/include/asm-generic/siginfo.h:279: error: parse error before '*' token
    In file included from /usr/src/linux/include/linux/mm.h:4,
                     from /usr/include/asm/pci.h:7,
                     from /usr/src/linux/include/linux/pci.h:669,
                     from zaphfc.c:17:
    /usr/src/linux/include/linux/sched.h:411: error: field `thread' has incomplete type
    In file included from /usr/src/linux/include/linux/mm.h:4,
                     from /usr/include/asm/pci.h:7,
                     from /usr/src/linux/include/linux/pci.h:669,
                     from zaphfc.c:17:
    /usr/src/linux/include/linux/sched.h:856: error: conflicting types for `kernel_thread_Rsmp_7ca341af'
    /usr/include/asm/processor.h:460: error: previous declaration of `kernel_thread_Rsmp_7ca341af'
    In file included from /usr/src/linux/include/linux/mm.h:4,
                     from /usr/include/asm/pci.h:7,
                     from /usr/src/linux/include/linux/pci.h:669,
                     from zaphfc.c:17:
    /usr/src/linux/include/linux/sched.h:986: error: redefinition of `set_need_resched'
    /usr/include/linux/thread_info.h:81: error: `set_need_resched' previously defined here
    /usr/src/linux/include/linux/sched.h:991: error: redefinition of `clear_need_resched'
    /usr/include/linux/thread_info.h:86: error: `clear_need_resched' previously defined here
    In file included from /usr/src/linux/include/linux/irq.h:19,
                     from /usr/include/asm/hardirq.h:6,
                     from /usr/src/linux/include/linux/interrupt.h:46,
                     from /usr/include/asm/highmem.h:24,
                     from /usr/src/linux/include/linux/highmem.h:12,
                     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:669,
                     from zaphfc.c:17:
    /usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
    In file included from /usr/include/asm/hardirq.h:6,
                     from /usr/src/linux/include/linux/interrupt.h:46,
                     from /usr/include/asm/highmem.h:24,
                     from /usr/src/linux/include/linux/highmem.h:12,
                     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:669,
                     from zaphfc.c:17:
    /usr/src/linux/include/linux/irq.h:67: error: `NR_IRQS' undeclared here (not in a function)
    In file included from /usr/src/linux/include/linux/irq.h:69,
                     from /usr/include/asm/hardirq.h:6,
                     from /usr/src/linux/include/linux/interrupt.h:46,
                     from /usr/include/asm/highmem.h:24,
                     from /usr/src/linux/include/linux/highmem.h:12,
                     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:669,
                     from zaphfc.c:17:
    /usr/include/asm/hw_irq.h:28: error: `NR_IRQS' undeclared here (not in a function)
    /usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
    In file included from /usr/include/asm/highmem.h:24,
                     from /usr/src/linux/include/linux/highmem.h:12,
                     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:669,
                     from zaphfc.c:17:
    /usr/src/linux/include/linux/interrupt.h:47:25: asm/softirq.h: No such file or directory
    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:669,
                     from zaphfc.c:17:
    /usr/src/linux/include/linux/highmem.h:93: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:669,
                     from zaphfc.c:17:
    /usr/src/linux/include/linux/highmem.h: In function `clear_user_highpage':
    /usr/src/linux/include/linux/highmem.h:93: error: `clear_user_page' undeclared (first use in this function)
    /usr/src/linux/include/linux/highmem.h:93: error: (Each undeclared identifier is reported only once
    /usr/src/linux/include/linux/highmem.h:93: error: for each function it appears in.)
    /usr/src/linux/include/linux/highmem.h:132: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:132: 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:669,
                     from zaphfc.c:17:
    /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:669,
                     from zaphfc.c:17:
    /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_Rsmp_8a1b825f':
    /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_Rsmp_ae9c81a7':
    /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:669,
                     from zaphfc.c:17:
    /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 ../zaptel-1.0.2/zconfig.h:10,
                     from ../zaptel-1.0.2/zaptel.h:34,
                     from zaphfc.c:21:
    /usr/src/linux/include/linux/version.h:6:2: #error "The kernel sources in /usr/src/linux are not yet configured."
    /usr/src/linux/include/linux/version.h:7:2: #error "Please run 'make cloneconfig && make dep' in /usr/src/linux/"
    /usr/src/linux/include/linux/version.h:8:2: #error "to get a kernel that is configured like the running kernel."
    /usr/src/linux/include/linux/version.h:9:2: #error "Alternatively, you can copy one of the config files"
    /usr/src/linux/include/linux/version.h:10:2: #error "arch/$ARCH/defconfig.* to .config, and run"
    /usr/src/linux/include/linux/version.h:11:2: #error "'make oldconfig && make dep' to configure the kernel"
    /usr/src/linux/include/linux/version.h:12:2: #error "for that configuration."
    In file included from ../zaptel-1.0.2/zaptel.h:34,
                     from zaphfc.c:21:
    ../zaptel-1.0.2/zconfig.h:66:41: missing binary operator before token "("
    ../zaptel-1.0.2/zconfig.h:74:41: missing binary operator before token "("
    ../zaptel-1.0.2/zconfig.h:77:41: missing binary operator before token "("
    ../zaptel-1.0.2/zconfig.h:82:41: missing binary operator before token "("
    In file included from ../zaptel-1.0.2/zaptel.h:36,
                     from zaphfc.c:21:
    /usr/src/linux/include/linux/version.h:6:2: #error "The kernel sources in /usr/src/linux are not yet configured."
    /usr/src/linux/include/linux/version.h:7:2: #error "Please run 'make cloneconfig && make dep' in /usr/src/linux/"
    /usr/src/linux/include/linux/version.h:8:2: #error "to get a kernel that is configured like the running kernel."
    /usr/src/linux/include/linux/version.h:9:2: #error "Alternatively, you can copy one of the config files"
    /usr/src/linux/include/linux/version.h:10:2: #error "arch/$ARCH/defconfig.* to .config, and run"
    /usr/src/linux/include/linux/version.h:11:2: #error "'make oldconfig && make dep' to configure the kernel"
    /usr/src/linux/include/linux/version.h:12:2: #error "for that configuration."
    In file included from zaphfc.c:21:
    ../zaptel-1.0.2/zaptel.h:47:41: missing binary operator before token "("
    In file included from /usr/src/linux/include/linux/poll.h:11,
                     from ../zaptel-1.0.2/zaptel.h:875,
                     from zaphfc.c:21:
    /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
    zaphfc.c: In function `hfc_shutdownCard':
    zaphfc.c:109: error: parse error before "unsigned"
    zaphfc.c: In function `hfc_resetCard':
    zaphfc.c:123: error: parse error before "unsigned"
    zaphfc.c: In function `hfc_interrupt':
    zaphfc.c:563: error: parse error before "unsigned"
    zaphfc.c:700: error: parse error before "unsigned"
    make: *** [zaphfc.o] Error 1
    
     
  2. pixelpeter

    pixelpeter Neuer User

    Registriert seit:
    24 Aug. 2004
    Beiträge:
    59
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hallo Chris,

    Du musst die Kernelsourcen installieren.


    Peter