Suse compilation problem

Help
Jean
2004-05-22
2004-05-28
  • Jean

    Jean - 2004-05-22

    linux:/home/jhernandez/Documents/aureal # make install20
    make install AUCHIP=AU8820
    make[1]: Entering directory `/home/jhernandez/Documents/aureal'
    cc -D__KERNEL__  -DMODULE -DAU8820 -m486  -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/include   -c -o au_audio.o au_audio.c
    `-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
    In file included from au_vortex.h:39,
                     from au_audio.c:49:
    /usr/src/linux/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
    In file included from au_vortex.h:44,
                     from au_audio.c:49:
    /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 au_audio.c:49:
    au_vortex.h:46:40: missing binary operator before token "("
    au_vortex.h:50:28: linux/autoconf.h: No such file or directory
    In file included from /usr/src/linux/include/linux/list.h:241,
                     from /usr/src/linux/include/linux/module.h:12,
                     from au_vortex.h:58,
                     from au_audio.c:49:
    /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 au_vortex.h:58,
                     from au_audio.c:49:
    /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 au_vortex.h:58,
                     from au_audio.c:49:
    /usr/src/linux/include/linux/module.h:301: error: parse error before "UTS_RELEASE"
    In file included from au_vortex.h:59,
                     from au_audio.c:49:
    /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 /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 au_vortex.h:63,
                     from au_audio.c:49:
    /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 au_vortex.h:63,
                     from au_audio.c:49:
    /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 au_vortex.h:63,
                     from au_audio.c:49:
    /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 au_vortex.h:63,
                     from au_audio.c:49:
    /usr/src/linux/include/linux/tqueue.h: In function `queue_task':
    /usr/src/linux/include/linux/tqueue.h:110: warning: implicit declaration of function `typecheck'
    /usr/src/linux/include/linux/tqueue.h:110: error: parse error before "unsigned"
    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 au_vortex.h:63,
                     from au_audio.c:49:
    /usr/include/asm-generic/siginfo.h: At top level:
    /usr/include/asm-generic/siginfo.h:279: error: parse error before '*' token
    In file included from au_vortex.h:63,
                     from au_audio.c:49:
    /usr/src/linux/include/linux/sched.h:411: error: field `thread' has incomplete type
    In file included from au_vortex.h:63,
                     from au_audio.c:49:
    /usr/src/linux/include/linux/sched.h:849: error: conflicting types for `kernel_thread'
    /usr/include/asm/processor.h:460: error: previous declaration of `kernel_thread'
    /usr/src/linux/include/linux/sched.h:979: 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:984: error: redefinition of `clear_need_resched'
    /usr/include/linux/thread_info.h:86: error: `clear_need_resched' previously defined here
    In file included from au_vortex.h:66,
                     from au_audio.c:49:
    /usr/src/linux/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead.
    In file included from /usr/src/linux/include/linux/mm.h:12,
                     from /usr/src/linux/include/linux/slab.h:14,
                     from /usr/src/linux/include/linux/malloc.h:6,
                     from au_vortex.h:66,
                     from au_audio.c:49:
    /usr/src/linux/include/linux/mmzone.h:44: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
    /usr/src/linux/include/linux/mmzone.h:44: error: requested alignment is not a constant
    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 au_vortex.h:68,
                     from au_audio.c:49:
    /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 au_vortex.h:68,
                     from au_audio.c:49:
    /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 au_vortex.h:68,
                     from au_audio.c:49:
    /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 au_vortex.h:68,
                     from au_audio.c:49:
    /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:669,
                     from au_vortex.h:68,
                     from au_audio.c:49:
    /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 au_vortex.h:70,
                     from au_audio.c:49:
    /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: `to' 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: 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
    In file included from au_audio.c:49:
    au_vortex.h:74:41: missing binary operator before token "("
    In file included from au_vortex.h:77,
                     from au_audio.c:49:
    /usr/include/asm/spinlock.h:22: error: conflicting types for `spinlock_t'
    /usr/src/linux/include/linux/spinlock.h:71: error: previous declaration of `spinlock_t'
    /usr/include/asm/spinlock.h:144: error: conflicting types for `rwlock_t'
    /usr/src/linux/include/linux/spinlock.h:135: error: previous declaration of `rwlock_t'
    au_vortex.h:80:41: missing binary operator before token "("
    au_vortex.h:118:41: missing binary operator before token "("
    au_vortex.h:146:41: missing binary operator before token "("
    au_vortex.h:197:41: missing binary operator before token "("
    In file included from au_audio.c:50:
    /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."
    au_audio.c:63:41: missing binary operator before token "("
    au_audio.c:78: warning: initialization from incompatible pointer type
    au_audio.c:79: warning: initialization from incompatible pointer type
    au_audio.c:80: warning: initialization from incompatible pointer type
    au_audio.c:82: warning: initialization from incompatible pointer type
    au_audio.c:83: warning: initialization from incompatible pointer type
    au_audio.c:84: warning: initialization from incompatible pointer type
    au_audio.c:85: warning: initialization from incompatible pointer type
    au_audio.c:87: warning: initialization from incompatible pointer type
    au_audio.c: In function `au_audio_read':
    au_audio.c:187: error: parse error before "unsigned"
    au_audio.c:193: warning: passing arg 1 of `interruptible_sleep_on' from incompatible pointer type
    au_audio.c: In function `au_audio_write':
    au_audio.c:261: warning: passing arg 1 of `interruptible_sleep_on' from incompatible pointer type
    au_audio.c:277: error: parse error before "unsigned"
    au_audio.c: In function `au_audio_poll':
    au_audio.c:311: warning: passing arg 2 of `poll_wait' from incompatible pointer type
    au_audio.c:313: warning: passing arg 2 of `poll_wait' from incompatible pointer type
    au_audio.c:334: error: parse error before "unsigned"
    au_audio.c: In function `au_audio_ioctl':
    au_audio.c:454: error: parse error before "unsigned"
    au_audio.c:460: error: parse error before "unsigned"
    au_audio.c:483: error: parse error before "unsigned"
    au_audio.c:489: error: parse error before "unsigned"
    au_audio.c:512: error: parse error before "unsigned"
    au_audio.c:531: error: parse error before "unsigned"
    au_audio.c:606:41: missing binary operator before token "("
    au_audio.c: In function `au_audio_mmap':
    au_audio.c:609: error: structure has no member named `vm_offset'
    au_audio.c:666:40: missing binary operator before token "("
    au_audio.c:690:40: missing binary operator before token "("
    au_audio.c: In function `drain_playback':
    au_audio.c:711: error: parse error before "unsigned"
    au_audio.c:720: error: parse error before "unsigned"
    au_audio.c:724: warning: passing arg 1 of `interruptible_sleep_on' from incompatible pointer type
    au_audio.c:767:41: missing binary operator before token "("
    au_audio.c: In function `add_wave_device':
    au_audio.c:771: warning: implicit declaration of function `init_waitqueue'
    au_audio.c:817: error: parse error before "unsigned"
    au_audio.c:825:41: missing binary operator before token "("
    au_audio.c:838:41: missing binary operator before token "("
    au_audio.c: In function `get_frags':
    au_audio.c:843: warning: implicit declaration of function `MAP_NR'
    au_audio.c:859:41: missing binary operator before token "("
    au_audio.c:867:41: missing binary operator before token "("
    au_audio.c:879:41: missing binary operator before token "("
    au_audio.c: In function `free_wave_device':
    au_audio.c:893: error: parse error before "unsigned"
    au_audio.c:898: error: parse error before "unsigned"
    au_audio.c: In function `find_wave_device':
    au_audio.c:917: error: parse error before "unsigned"
    au_audio.c: In function `remove_wave_device':
    au_audio.c:938: error: parse error before "unsigned"
    au_audio.c: In function `set_data_format':
    au_audio.c:962: warning: deprecated use of label at end of compound statement
    au_audio.c: In function `stop_wave':
    au_audio.c:1002: error: parse error before "unsigned"
    au_audio.c: In function `receive_mem':
    au_audio.c:1030: error: parse error before "unsigned"
    au_audio.c:1045: error: parse error before "unsigned"
    au_audio.c: In function `send_mem':
    au_audio.c:1088: error: parse error before "unsigned"
    au_audio.c: In function `au_handle_timer':
    au_audio.c:1121: warning: passing arg 1 of `__wake_up' from incompatible pointer type
    au_audio.c:1143: warning: passing arg 1 of `__wake_up' from incompatible pointer type
    au_audio.c:1173: warning: passing arg 1 of `__wake_up' from incompatible pointer type
    make[1]: *** [au_audio.o] Error 1
    make[1]: Leaving directory `/home/jhernandez/Documents/aureal'
    make: *** [install20] Error 2

     
    • Anonymous - 2004-05-28

      insure that the kernel source is installed and i would use the 1.1.3.2 driver it's newer and less bugs. Hope that helps. I had to install the kernel source and gcc to get the compile to work. I just got it working today (5-28-2004).  its not easy but it's worth it when it works. Still got some bugs to work out. I am using Suse 8.0 with the 2.1.4 kernel.

       

Log in to post a comment.