|
发表于 2005-2-26 16:54:56
|
显示全部楼层
求助:
系统是redhat AS 3(内核2.4.21), 8810声卡,但在系统启动时并没有提示发现新设备,使用声卡检测也提示找不到声卡,
但在控制中心──》PCI和IO端口中可以看到有8810这个设备所占用的资源,
如IRQ5,9800-9807 8810,a000-a007 8810之类的。
我在上面所提到的网页中下载了最新的驱动程序au88xx-1.1.2.tar.gz,
由于使用make install-all不成功,在readme中查看安装方法,使用make install10来安装我的8810声卡
但出错信息如下:
make install AUCHIP=AU8810
make[1]: Entering directory `/software/aureal'
cc -D__KERNEL__ -DMODULE -DAU8810 -mpentium -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/include -c -o au_audio.o au_audio.c
`-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead.
In file included from au_vortex.h:50,
from au_audio.c:49:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
In file included from /usr/include/linux/sched.h:14,
from au_vortex.h:63,
from au_audio.c:49:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from au_vortex.h:63,
from au_audio.c:49:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from au_vortex.h:63,
from au_audio.c:49:
/usr/include/asm/signal.h:107: syntax error before "sigset_t"
/usr/include/asm/signal.h:110: syntax error before '}' token
In file included from /usr/include/linux/sched.h:81,
from au_vortex.h:63,
from au_audio.c:49:
/usr/include/linux/timer.h:45: syntax error before "spinlock_t"
/usr/include/linux/timer.h:53: syntax error before '}' token
/usr/include/linux/timer.h:67: syntax error before "tvec_base_t"
/usr/include/linux/timer.h:101: syntax error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: dereferencing pointer to incomplete type
In file included from au_vortex.h:64,
from au_audio.c:49:
/usr/include/linux/delay.h:13:23: asm/delay.h: 没有那个文件或目录
In file included from au_vortex.h:66,
from au_audio.c:49:
/usr/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h
In file included from au_vortex.h:69,
from au_audio.c:49:
/usr/include/asm/io.h:4:2: warning: #warning <asm/io.h> is deprecated, use <sys/io.h> instead
In file included from au_audio.c:49:
au_vortex.h:71:25: asm/uaccess.h: 没有那个文件或目录
In file included from au_audio.c:49:
au_vortex.h: At top level:
au_vortex.h:147: syntax error before "wait_queue_head_t"
au_vortex.h:147: warning: no semicolon at end of struct or union
au_vortex.h:164: syntax error before ':' token
au_vortex.h:165: syntax error before ':' token
au_vortex.h:166: syntax error before ':' token
au_vortex.h:167: syntax error before ':' token
au_vortex.h:168: warning: type defaults to `int' in declaration of `wave_stream_t'
au_vortex.h:168: warning: data definition has no type or storage class
au_vortex.h:178: syntax error before "wave_stream_t"
au_vortex.h:178: warning: no semicolon at end of struct or union
au_vortex.h:179: warning: type defaults to `int' in declaration of `record_stream'
au_vortex.h:179: warning: data definition has no type or storage class
au_vortex.h:180: warning: type defaults to `int' in declaration of `wave_device_t'
au_vortex.h:180: warning: data definition has no type or storage class
au_vortex.h:198: syntax error before "wait_queue_head_t"
au_vortex.h:198: warning: no semicolon at end of struct or union
au_vortex.h:199: warning: type defaults to `int' in declaration of `owait'
au_vortex.h:199: warning: data definition has no type or storage class
au_vortex.h:206: syntax error before '}' token
au_vortex.h:206: warning: type defaults to `int' in declaration of `midi_device_t'
au_vortex.h:206: warning: data definition has no type or storage class
au_vortex.h:225: syntax error before "spinlock_t"
au_vortex.h:225: warning: no semicolon at end of struct or union
au_vortex.h:226: warning: type defaults to `int' in declaration of `wave_head'
au_vortex.h:226: warning: data definition has no type or storage class
au_vortex.h:227: syntax error before '*' token
au_vortex.h:227: warning: type defaults to `int' in declaration of `wave_tail'
au_vortex.h:227: warning: data definition has no type or storage class
au_vortex.h:228: syntax error before "midi"
au_vortex.h:228: warning: type defaults to `int' in declaration of `midi'
au_vortex.h:228: warning: data definition has no type or storage class
au_vortex.h:229: syntax error before ':' token
au_vortex.h:230: syntax error before ':' token
au_vortex.h:231: syntax error before ':' token
au_vortex.h:232: warning: type defaults to `int' in declaration of `au_device_t'
au_vortex.h:232: warning: data definition has no type or storage class
au_vortex.h:253: syntax error before '*' token
au_vortex.h:254: syntax error before '*' token
au_vortex.h:255: syntax error before '*' token
au_vortex.h:256: syntax error before '*' token
au_vortex.h:257: syntax error before '*' token
au_vortex.h:261: syntax error before '*' token
au_vortex.h:262: syntax error before '*' token
au_vortex.h:263: syntax error before '*' token
au_vortex.h:267: syntax error before '*' token
au_vortex.h:268: syntax error before '*' token
au_vortex.h:269: warning: `struct inode' declared inside parameter list
au_vortex.h:273: syntax error before '*' token
au_vortex.h:274: syntax error before '*' token
au_vortex.h:278: syntax error before '*' token
au_vortex.h:278: warning: type defaults to `int' in declaration of `dev_head'
au_vortex.h:278: warning: data definition has no type or storage class
au_vortex.h:279: syntax error before '*' token
au_vortex.h:279: warning: type defaults to `int' in declaration of `dev_tail'
au_vortex.h:279: warning: data definition has no type or storage class
au_vortex.h:282: syntax error before '*' token
au_vortex.h:282: warning: type defaults to `int' in declaration of `find_device'
au_vortex.h:282: warning: data definition has no type or storage class
au_vortex.h:283: syntax error before '*' token
au_vortex.h:283: warning: type defaults to `int' in declaration of `find_device_by_pcidev'
au_vortex.h:283: warning: data definition has no type or storage class
au_vortex.h:284: syntax error before '*' token
au_vortex.h:285: syntax error before '*' token
au_vortex.h:392: syntax error before "au_device_t"
au_audio.c:55: warning: `struct inode' declared inside parameter list
au_audio.c:56: warning: `struct vm_area_struct' declared inside parameter list
au_audio.c:57: warning: `struct inode' declared inside parameter list
au_audio.c:58: warning: `struct inode' declared inside parameter list
au_audio.c:59: syntax error before '*' token
au_audio.c:64: variable `audio_fops' has initializer but incomplete type
au_audio.c:66: unknown field `owner' specified in initializer
au_audio.c:66: warning: excess elements in struct initializer
au_audio.c:66: warning: (near initialization for `audio_fops')
au_audio.c:67: unknown field `llseek' specified in initializer
au_audio.c:67: warning: excess elements in struct initializer
au_audio.c:67: warning: (near initialization for `audio_fops')
au_audio.c:68: unknown field `read' specified in initializer
au_audio.c:68: warning: excess elements in struct initializer
au_audio.c:68: warning: (near initialization for `audio_fops')
au_audio.c:69: unknown field `write' specified in initializer
au_audio.c:69: warning: excess elements in struct initializer
au_audio.c:69: warning: (near initialization for `audio_fops')
au_audio.c:70: unknown field `poll' specified in initializer
au_audio.c:70: warning: excess elements in struct initializer
au_audio.c:70: warning: (near initialization for `audio_fops')
au_audio.c:71: unknown field `ioctl' specified in initializer
au_audio.c:71: warning: excess elements in struct initializer
au_audio.c:71: warning: (near initialization for `audio_fops')
au_audio.c:72: unknown field `mmap' specified in initializer
au_audio.c:72: warning: excess elements in struct initializer
au_audio.c:72: warning: (near initialization for `audio_fops')
au_audio.c:73: unknown field `open' specified in initializer
au_audio.c:73: warning: excess elements in struct initializer
au_audio.c:73: warning: (near initialization for `audio_fops')
au_audio.c:74: unknown field `release' specified in initializer
au_audio.c:74: warning: excess elements in struct initializer
au_audio.c:74: warning: (near initialization for `audio_fops')
au_audio.c:96: syntax error before '*' token
au_audio.c:97: syntax error before '*' token
au_audio.c:98: syntax error before '*' token
au_audio.c:99: syntax error before '*' token
au_audio.c:99: syntax error before '*' token
au_audio.c:99: warning: type defaults to `int' in declaration of `find_wave_device'
au_audio.c:99: warning: data definition has no type or storage class
au_audio.c:100: syntax error before '*' token
au_audio.c:101: syntax error before '*' token
au_audio.c:102: syntax error before '*' token
au_audio.c:103: syntax error before '*' token
au_audio.c:104: syntax error before '*' token
au_audio.c:105: syntax error before '*' token
au_audio.c:106: syntax error before '*' token
au_audio.c:113: syntax error before '*' token
au_audio.c: In function `au_dsp_register':
au_audio.c:119: `dev' undeclared (first use in this function)
au_audio.c:119: (Each undeclared identifier is reported only once
au_audio.c:119: for each function it appears in.)
au_audio.c:119: warning: passing arg 1 of `register_sound_dsp' from incompatible pointer type
au_audio.c: At top level:
au_audio.c:123: syntax error before '*' token
au_audio.c: In function `au_dsp_unregister':
au_audio.c:126: `dev' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:130: syntax error before '*' token
au_audio.c: In function `au_audio_register':
au_audio.c:136: `dev' undeclared (first use in this function)
au_audio.c:136: warning: passing arg 1 of `register_sound_special' from incompatible pointer type
au_audio.c: At top level:
au_audio.c:140: syntax error before '*' token
au_audio.c: In function `au_audio_unregister':
au_audio.c:142: `dev' undeclared (first use in this function)
au_audio.c: In function `au_audio_read':
au_audio.c:148: `dev' undeclared (first use in this function)
au_audio.c:148: dereferencing pointer to incomplete type
au_audio.c:149: `wdev' undeclared (first use in this function)
au_audio.c:150: `stream' undeclared (first use in this function)
au_audio.c:158: warning: implicit declaration of function `printk'
au_audio.c:158: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:158: syntax error before string constant
au_audio.c:159: `ENXIO' undeclared (first use in this function)
au_audio.c:163: dereferencing pointer to incomplete type
au_audio.c:164: `ESPIPE' undeclared (first use in this function)
au_audio.c:167: warning: implicit declaration of function `access_ok'
au_audio.c:167: `VERIFY_WRITE' undeclared (first use in this function)
au_audio.c:168: `EFAULT' undeclared (first use in this function)
au_audio.c:184: warning: implicit declaration of function `spin_lock_irqsave'
au_audio.c:187: warning: implicit declaration of function `spin_unlock_irqrestore'
au_audio.c:191: dereferencing pointer to incomplete type
au_audio.c:191: `O_NONBLOCK' undeclared (first use in this function)
au_audio.c:192: `EAGAIN' undeclared (first use in this function)
au_audio.c:193: warning: implicit declaration of function `interruptible_sleep_on'
au_audio.c:194: warning: implicit declaration of function `signal_pending'
au_audio.c:194: `current' undeclared (first use in this function)
au_audio.c:195: `ERESTARTSYS' undeclared (first use in this function)
au_audio.c: In function `au_audio_write':
au_audio.c:203: `dev' undeclared (first use in this function)
au_audio.c:203: dereferencing pointer to incomplete type
au_audio.c:204: `wdev' undeclared (first use in this function)
au_audio.c:205: `stream' undeclared (first use in this function)
au_audio.c:212: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:212: syntax error before string constant
au_audio.c:213: `ENXIO' undeclared (first use in this function)
au_audio.c:218: dereferencing pointer to incomplete type
au_audio.c:219: `ESPIPE' undeclared (first use in this function)
au_audio.c:223: `VERIFY_READ' undeclared (first use in this function)
au_audio.c:224: `EFAULT' undeclared (first use in this function)
au_audio.c:248: `EAGAIN' undeclared (first use in this function)
au_audio.c:257: dereferencing pointer to incomplete type
au_audio.c:257: `O_NONBLOCK' undeclared (first use in this function)
au_audio.c:262: `current' undeclared (first use in this function)
au_audio.c:265: `ERESTARTSYS' undeclared (first use in this function)
au_audio.c: In function `au_audio_poll':
au_audio.c:296: `dev' undeclared (first use in this function)
au_audio.c:296: dereferencing pointer to incomplete type
au_audio.c:297: `wdev' undeclared (first use in this function)
au_audio.c:306: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:306: syntax error before string constant
au_audio.c:307: `ENXIO' undeclared (first use in this function)
au_audio.c:310: dereferencing pointer to incomplete type
au_audio.c:311: warning: implicit declaration of function `poll_wait'
au_audio.c:312: dereferencing pointer to incomplete type
au_audio.c:316: dereferencing pointer to incomplete type
au_audio.c:326: dereferencing pointer to incomplete type
au_audio.c: At top level:
au_audio.c:339: warning: `struct inode' declared inside parameter list
au_audio.c:340: conflicting types for `au_audio_ioctl'
au_audio.c:55: previous declaration of `au_audio_ioctl'
au_audio.c: In function `au_audio_ioctl':
au_audio.c:341: `dev' undeclared (first use in this function)
au_audio.c:341: dereferencing pointer to incomplete type
au_audio.c:342: `wdev' undeclared (first use in this function)
au_audio.c:343: `stream' undeclared (first use in this function)
au_audio.c:352: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:352: syntax error before string constant
au_audio.c:353: `ENXIO' undeclared (first use in this function)
au_audio.c:358: warning: implicit declaration of function `put_user'
au_audio.c:362: `EINVAL' undeclared (first use in this function)
au_audio.c:364: dereferencing pointer to incomplete type
au_audio.c:364: `O_NONBLOCK' undeclared (first use in this function)
au_audio.c:371: dereferencing pointer to incomplete type
au_audio.c:394: warning: implicit declaration of function `get_user'
au_audio.c:395: `EFAULT' undeclared (first use in this function)
au_audio.c:440: dereferencing pointer to incomplete type
au_audio.c:465: dereferencing pointer to incomplete type
au_audio.c:476: warning: implicit declaration of function `memset'
au_audio.c:514: warning: implicit declaration of function `copy_to_user'
au_audio.c:536: dereferencing pointer to incomplete type
au_audio.c:589: warning: passing arg 1 of `au_mixer_ioctl' from incompatible pointer type
au_audio.c: At top level:
au_audio.c:592: warning: `struct vm_area_struct' declared inside parameter list
au_audio.c:593: conflicting types for `au_audio_mmap'
au_audio.c:56: previous declaration of `au_audio_mmap'
au_audio.c: In function `au_audio_mmap':
au_audio.c:594: `dev' undeclared (first use in this function)
au_audio.c:594: dereferencing pointer to incomplete type
au_audio.c:595: `wdev' undeclared (first use in this function)
au_audio.c:602: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:602: syntax error before string constant
au_audio.c:603: `ENODEV' undeclared (first use in this function)
au_audio.c:607: dereferencing pointer to incomplete type
au_audio.c:611: `EINVAL' undeclared (first use in this function)
au_audio.c:612: dereferencing pointer to incomplete type
au_audio.c:612: dereferencing pointer to incomplete type
au_audio.c:614: dereferencing pointer to incomplete type
au_audio.c:614: `VM_WRITE' undeclared (first use in this function)
au_audio.c:615: `stream' undeclared (first use in this function)
au_audio.c:620: warning: implicit declaration of function `remap_page_range'
au_audio.c:620: dereferencing pointer to incomplete type
au_audio.c:620: warning: implicit declaration of function `virt_to_phys'
au_audio.c:620: dereferencing pointer to incomplete type
au_audio.c:621: `EAGAIN' undeclared (first use in this function)
au_audio.c:624: dereferencing pointer to incomplete type
au_audio.c:624: `VM_READ' undeclared (first use in this function)
au_audio.c:630: dereferencing pointer to incomplete type
au_audio.c:630: dereferencing pointer to incomplete type
au_audio.c: At top level:
au_audio.c:647: warning: `struct inode' declared inside parameter list
au_audio.c:648: conflicting types for `au_audio_open'
au_audio.c:57: previous declaration of `au_audio_open'
au_audio.c: In function `au_audio_open':
au_audio.c:649: `dev' undeclared (first use in this function)
au_audio.c:650: dereferencing pointer to incomplete type
au_audio.c:656: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:656: syntax error before string constant
au_audio.c:657: `ENODEV' undeclared (first use in this function)
au_audio.c:662: syntax error before string constant
au_audio.c:665: dereferencing pointer to incomplete type
au_audio.c: At top level:
au_audio.c:672: warning: `struct inode' declared inside parameter list
au_audio.c:673: conflicting types for `au_audio_release'
au_audio.c:58: previous declaration of `au_audio_release'
au_audio.c: In function `au_audio_release':
au_audio.c:674: `dev' undeclared (first use in this function)
au_audio.c:674: dereferencing pointer to incomplete type
au_audio.c:675: `wdev' undeclared (first use in this function)
au_audio.c:679: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:679: syntax error before string constant
au_audio.c:680: `ENODEV' undeclared (first use in this function)
au_audio.c:683: dereferencing pointer to incomplete type
au_audio.c:683: `O_NONBLOCK' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:696: syntax error before '*' token
au_audio.c: In function `drain_playback':
au_audio.c:699: `wdev' undeclared (first use in this function)
au_audio.c:709: `dev' undeclared (first use in this function)
au_audio.c:722: `nonblock' undeclared (first use in this function)
au_audio.c:725: `current' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:733: syntax error before '*' token
au_audio.c: In function `add_wave_device':
au_audio.c:735: `wdev' undeclared (first use in this function)
au_audio.c:738: `file' undeclared (first use in this function)
au_audio.c:743: `dev' undeclared (first use in this function)
au_audio.c:744: `EBUSY' undeclared (first use in this function)
au_audio.c:745: syntax error before ')' token
au_audio.c:747: `ENOMEM' undeclared (first use in this function)
au_audio.c:754: `dev_type' undeclared (first use in this function)
au_audio.c:768: warning: implicit declaration of function `init_waitqueue_head'
au_audio.c:783: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:783: syntax error before string constant
au_audio.c:789: syntax error before string constant
au_audio.c:796: syntax error before string constant
au_audio.c:802: syntax error before string constant
au_audio.c: At top level:
au_audio.c:821: syntax error before '*' token
au_audio.c: In function `get_frags':
au_audio.c:832: `stream' undeclared (first use in this function)
au_audio.c:832: warning: implicit declaration of function `__get_free_pages'
au_audio.c:832: `GFP_KERNEL' undeclared (first use in this function)
au_audio.c:834: `ENOMEM' undeclared (first use in this function)
au_audio.c:839: warning: implicit declaration of function `virt_to_page'
au_audio.c:839: warning: assignment makes pointer from integer without a cast
au_audio.c:840: warning: assignment makes pointer from integer without a cast
au_audio.c:840: increment of pointer to unknown structure
au_audio.c:840: arithmetic on pointer to an incomplete type
au_audio.c:841: `PG_reserved' undeclared (first use in this function)
au_audio.c:841: dereferencing pointer to incomplete type
au_audio.c:848: `count' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:856: syntax error before '*' token
au_audio.c: In function `free_wave_device':
au_audio.c:865: `wdev' undeclared (first use in this function)
au_audio.c:868: warning: assignment makes pointer from integer without a cast
au_audio.c:869: warning: assignment makes pointer from integer without a cast
au_audio.c:869: increment of pointer to unknown structure
au_audio.c:869: arithmetic on pointer to an incomplete type
au_audio.c:870: `PG_reserved' undeclared (first use in this function)
au_audio.c:870: dereferencing pointer to incomplete type
au_audio.c:876: warning: implicit declaration of function `free_pages'
au_audio.c:880: warning: assignment makes pointer from integer without a cast
au_audio.c:881: warning: assignment makes pointer from integer without a cast
au_audio.c:881: increment of pointer to unknown structure
au_audio.c:881: arithmetic on pointer to an incomplete type
au_audio.c:882: dereferencing pointer to incomplete type
au_audio.c:891: `dev' undeclared (first use in this function)
au_audio.c:900: warning: implicit declaration of function `kfree'
au_audio.c: At top level:
au_audio.c:903: syntax error before '*' token
au_audio.c:903: syntax error before '*' token
au_audio.c:904: warning: return type defaults to `int'
au_audio.c: In function `find_wave_device':
au_audio.c:906: `wdev' undeclared (first use in this function)
au_audio.c:909: `dev' undeclared (first use in this function)
au_audio.c:913: `file' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:922: syntax error before '*' token
au_audio.c: In function `remove_wave_device':
au_audio.c:925: `dev' undeclared (first use in this function)
au_audio.c:927: `wdev' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:945: syntax error before '*' token
au_audio.c: In function `set_data_format':
au_audio.c:947: `val' undeclared (first use in this function)
au_audio.c:952: `stream' undeclared (first use in this function)
au_audio.c:962: warning: deprecated use of label at end of compound statement
au_audio.c: At top level:
au_audio.c:965: syntax error before '*' token
au_audio.c: In function `set_asp_format':
au_audio.c:969: `stream' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:994: syntax error before '*' token
au_audio.c: In function `stop_wave':
au_audio.c:999: `stream' undeclared (first use in this function)
au_audio.c:1000: `dev' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:1013: syntax error before '*' token
au_audio.c: In function `receive_mem':
au_audio.c:1023: `stream' undeclared (first use in this function)
au_audio.c:1024: `dev' undeclared (first use in this function)
au_audio.c:1034: `max_size' undeclared (first use in this function)
au_audio.c:1036: `mem' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:1056: syntax error before '*' token
au_audio.c: In function `send_mem':
au_audio.c:1061: `stream' undeclared (first use in this function)
au_audio.c:1067: `size' undeclared (first use in this function)
au_audio.c:1070: warning: implicit declaration of function `copy_from_user'
au_audio.c:1070: `mem' undeclared (first use in this function)
au_audio.c:1083: `dev' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:1105: syntax error before '*' token
au_audio.c: In function `au_handle_timer':
au_audio.c:1107: `wdev' undeclared (first use in this function)
au_audio.c:1107: `dev' undeclared (first use in this function)
au_audio.c:1108: `stream' undeclared (first use in this function)
au_audio.c:1121: warning: implicit declaration of function `wake_up_interruptible'
au_audio.c: At top level:
au_audio.c:64: storage size of `audio_fops' isn't known
make[1]: *** [au_audio.o] Error 1
make[1]: Leaving directory `/software/aureal'
make: *** [install10] Error 2
make install AUCHIP=AU8810
make[1]: Entering directory `/software/aureal'
cc -D__KERNEL__ -DMODULE -DAU8810 -mpentium -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/include -c -o au_audio.o au_audio.c
`-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead.
In file included from au_vortex.h:50,
from au_audio.c:49:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
In file included from /usr/include/linux/sched.h:14,
from au_vortex.h:63,
from au_audio.c:49:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from au_vortex.h:63,
from au_audio.c:49:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from au_vortex.h:63,
from au_audio.c:49:
/usr/include/asm/signal.h:107: syntax error before "sigset_t"
/usr/include/asm/signal.h:110: syntax error before '}' token
In file included from /usr/include/linux/sched.h:81,
from au_vortex.h:63,
from au_audio.c:49:
/usr/include/linux/timer.h:45: syntax error before "spinlock_t"
/usr/include/linux/timer.h:53: syntax error before '}' token
/usr/include/linux/timer.h:67: syntax error before "tvec_base_t"
/usr/include/linux/timer.h:101: syntax error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: dereferencing pointer to incomplete type
In file included from au_vortex.h:64,
from au_audio.c:49:
/usr/include/linux/delay.h:13:23: asm/delay.h: 没有那个文件或目录
In file included from au_vortex.h:66,
from au_audio.c:49:
/usr/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h
In file included from au_vortex.h:69,
from au_audio.c:49:
/usr/include/asm/io.h:4:2: warning: #warning <asm/io.h> is deprecated, use <sys/io.h> instead
In file included from au_audio.c:49:
au_vortex.h:71:25: asm/uaccess.h: 没有那个文件或目录
In file included from au_audio.c:49:
au_vortex.h: At top level:
au_vortex.h:147: syntax error before "wait_queue_head_t"
au_vortex.h:147: warning: no semicolon at end of struct or union
au_vortex.h:164: syntax error before ':' token
au_vortex.h:165: syntax error before ':' token
au_vortex.h:166: syntax error before ':' token
au_vortex.h:167: syntax error before ':' token
au_vortex.h:168: warning: type defaults to `int' in declaration of `wave_stream_t'
au_vortex.h:168: warning: data definition has no type or storage class
au_vortex.h:178: syntax error before "wave_stream_t"
au_vortex.h:178: warning: no semicolon at end of struct or union
au_vortex.h:179: warning: type defaults to `int' in declaration of `record_stream'
au_vortex.h:179: warning: data definition has no type or storage class
au_vortex.h:180: warning: type defaults to `int' in declaration of `wave_device_t'
au_vortex.h:180: warning: data definition has no type or storage class
au_vortex.h:198: syntax error before "wait_queue_head_t"
au_vortex.h:198: warning: no semicolon at end of struct or union
au_vortex.h:199: warning: type defaults to `int' in declaration of `owait'
au_vortex.h:199: warning: data definition has no type or storage class
au_vortex.h:206: syntax error before '}' token
au_vortex.h:206: warning: type defaults to `int' in declaration of `midi_device_t'
au_vortex.h:206: warning: data definition has no type or storage class
au_vortex.h:225: syntax error before "spinlock_t"
au_vortex.h:225: warning: no semicolon at end of struct or union
au_vortex.h:226: warning: type defaults to `int' in declaration of `wave_head'
au_vortex.h:226: warning: data definition has no type or storage class
au_vortex.h:227: syntax error before '*' token
au_vortex.h:227: warning: type defaults to `int' in declaration of `wave_tail'
au_vortex.h:227: warning: data definition has no type or storage class
au_vortex.h:228: syntax error before "midi"
au_vortex.h:228: warning: type defaults to `int' in declaration of `midi'
au_vortex.h:228: warning: data definition has no type or storage class
au_vortex.h:229: syntax error before ':' token
au_vortex.h:230: syntax error before ':' token
au_vortex.h:231: syntax error before ':' token
au_vortex.h:232: warning: type defaults to `int' in declaration of `au_device_t'
au_vortex.h:232: warning: data definition has no type or storage class
au_vortex.h:253: syntax error before '*' token
au_vortex.h:254: syntax error before '*' token
au_vortex.h:255: syntax error before '*' token
au_vortex.h:256: syntax error before '*' token
au_vortex.h:257: syntax error before '*' token
au_vortex.h:261: syntax error before '*' token
au_vortex.h:262: syntax error before '*' token
au_vortex.h:263: syntax error before '*' token
au_vortex.h:267: syntax error before '*' token
au_vortex.h:268: syntax error before '*' token
au_vortex.h:269: warning: `struct inode' declared inside parameter list
au_vortex.h:273: syntax error before '*' token
au_vortex.h:274: syntax error before '*' token
au_vortex.h:278: syntax error before '*' token
au_vortex.h:278: warning: type defaults to `int' in declaration of `dev_head'
au_vortex.h:278: warning: data definition has no type or storage class
au_vortex.h:279: syntax error before '*' token
au_vortex.h:279: warning: type defaults to `int' in declaration of `dev_tail'
au_vortex.h:279: warning: data definition has no type or storage class
au_vortex.h:282: syntax error before '*' token
au_vortex.h:282: warning: type defaults to `int' in declaration of `find_device'
au_vortex.h:282: warning: data definition has no type or storage class
au_vortex.h:283: syntax error before '*' token
au_vortex.h:283: warning: type defaults to `int' in declaration of `find_device_by_pcidev'
au_vortex.h:283: warning: data definition has no type or storage class
au_vortex.h:284: syntax error before '*' token
au_vortex.h:285: syntax error before '*' token
au_vortex.h:392: syntax error before "au_device_t"
au_audio.c:55: warning: `struct inode' declared inside parameter list
au_audio.c:56: warning: `struct vm_area_struct' declared inside parameter list
au_audio.c:57: warning: `struct inode' declared inside parameter list
au_audio.c:58: warning: `struct inode' declared inside parameter list
au_audio.c:59: syntax error before '*' token
au_audio.c:64: variable `audio_fops' has initializer but incomplete type
au_audio.c:66: unknown field `owner' specified in initializer
au_audio.c:66: warning: excess elements in struct initializer
au_audio.c:66: warning: (near initialization for `audio_fops')
au_audio.c:67: unknown field `llseek' specified in initializer
au_audio.c:67: warning: excess elements in struct initializer
au_audio.c:67: warning: (near initialization for `audio_fops')
au_audio.c:68: unknown field `read' specified in initializer
au_audio.c:68: warning: excess elements in struct initializer
au_audio.c:68: warning: (near initialization for `audio_fops')
au_audio.c:69: unknown field `write' specified in initializer
au_audio.c:69: warning: excess elements in struct initializer
au_audio.c:69: warning: (near initialization for `audio_fops')
au_audio.c:70: unknown field `poll' specified in initializer
au_audio.c:70: warning: excess elements in struct initializer
au_audio.c:70: warning: (near initialization for `audio_fops')
au_audio.c:71: unknown field `ioctl' specified in initializer
au_audio.c:71: warning: excess elements in struct initializer
au_audio.c:71: warning: (near initialization for `audio_fops')
au_audio.c:72: unknown field `mmap' specified in initializer
au_audio.c:72: warning: excess elements in struct initializer
au_audio.c:72: warning: (near initialization for `audio_fops')
au_audio.c:73: unknown field `open' specified in initializer
au_audio.c:73: warning: excess elements in struct initializer
au_audio.c:73: warning: (near initialization for `audio_fops')
au_audio.c:74: unknown field `release' specified in initializer
au_audio.c:74: warning: excess elements in struct initializer
au_audio.c:74: warning: (near initialization for `audio_fops')
au_audio.c:96: syntax error before '*' token
au_audio.c:97: syntax error before '*' token
au_audio.c:98: syntax error before '*' token
au_audio.c:99: syntax error before '*' token
au_audio.c:99: syntax error before '*' token
au_audio.c:99: warning: type defaults to `int' in declaration of `find_wave_device'
au_audio.c:99: warning: data definition has no type or storage class
au_audio.c:100: syntax error before '*' token
au_audio.c:101: syntax error before '*' token
au_audio.c:102: syntax error before '*' token
au_audio.c:103: syntax error before '*' token
au_audio.c:104: syntax error before '*' token
au_audio.c:105: syntax error before '*' token
au_audio.c:106: syntax error before '*' token
au_audio.c:113: syntax error before '*' token
au_audio.c: In function `au_dsp_register':
au_audio.c:119: `dev' undeclared (first use in this function)
au_audio.c:119: (Each undeclared identifier is reported only once
au_audio.c:119: for each function it appears in.)
au_audio.c:119: warning: passing arg 1 of `register_sound_dsp' from incompatible pointer type
au_audio.c: At top level:
au_audio.c:123: syntax error before '*' token
au_audio.c: In function `au_dsp_unregister':
au_audio.c:126: `dev' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:130: syntax error before '*' token
au_audio.c: In function `au_audio_register':
au_audio.c:136: `dev' undeclared (first use in this function)
au_audio.c:136: warning: passing arg 1 of `register_sound_special' from incompatible pointer type
au_audio.c: At top level:
au_audio.c:140: syntax error before '*' token
au_audio.c: In function `au_audio_unregister':
au_audio.c:142: `dev' undeclared (first use in this function)
au_audio.c: In function `au_audio_read':
au_audio.c:148: `dev' undeclared (first use in this function)
au_audio.c:148: dereferencing pointer to incomplete type
au_audio.c:149: `wdev' undeclared (first use in this function)
au_audio.c:150: `stream' undeclared (first use in this function)
au_audio.c:158: warning: implicit declaration of function `printk'
au_audio.c:158: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:158: syntax error before string constant
au_audio.c:159: `ENXIO' undeclared (first use in this function)
au_audio.c:163: dereferencing pointer to incomplete type
au_audio.c:164: `ESPIPE' undeclared (first use in this function)
au_audio.c:167: warning: implicit declaration of function `access_ok'
au_audio.c:167: `VERIFY_WRITE' undeclared (first use in this function)
au_audio.c:168: `EFAULT' undeclared (first use in this function)
au_audio.c:184: warning: implicit declaration of function `spin_lock_irqsave'
au_audio.c:187: warning: implicit declaration of function `spin_unlock_irqrestore'
au_audio.c:191: dereferencing pointer to incomplete type
au_audio.c:191: `O_NONBLOCK' undeclared (first use in this function)
au_audio.c:192: `EAGAIN' undeclared (first use in this function)
au_audio.c:193: warning: implicit declaration of function `interruptible_sleep_on'
au_audio.c:194: warning: implicit declaration of function `signal_pending'
au_audio.c:194: `current' undeclared (first use in this function)
au_audio.c:195: `ERESTARTSYS' undeclared (first use in this function)
au_audio.c: In function `au_audio_write':
au_audio.c:203: `dev' undeclared (first use in this function)
au_audio.c:203: dereferencing pointer to incomplete type
au_audio.c:204: `wdev' undeclared (first use in this function)
au_audio.c:205: `stream' undeclared (first use in this function)
au_audio.c:212: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:212: syntax error before string constant
au_audio.c:213: `ENXIO' undeclared (first use in this function)
au_audio.c:218: dereferencing pointer to incomplete type
au_audio.c:219: `ESPIPE' undeclared (first use in this function)
au_audio.c:223: `VERIFY_READ' undeclared (first use in this function)
au_audio.c:224: `EFAULT' undeclared (first use in this function)
au_audio.c:248: `EAGAIN' undeclared (first use in this function)
au_audio.c:257: dereferencing pointer to incomplete type
au_audio.c:257: `O_NONBLOCK' undeclared (first use in this function)
au_audio.c:262: `current' undeclared (first use in this function)
au_audio.c:265: `ERESTARTSYS' undeclared (first use in this function)
au_audio.c: In function `au_audio_poll':
au_audio.c:296: `dev' undeclared (first use in this function)
au_audio.c:296: dereferencing pointer to incomplete type
au_audio.c:297: `wdev' undeclared (first use in this function)
au_audio.c:306: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:306: syntax error before string constant
au_audio.c:307: `ENXIO' undeclared (first use in this function)
au_audio.c:310: dereferencing pointer to incomplete type
au_audio.c:311: warning: implicit declaration of function `poll_wait'
au_audio.c:312: dereferencing pointer to incomplete type
au_audio.c:316: dereferencing pointer to incomplete type
au_audio.c:326: dereferencing pointer to incomplete type
au_audio.c: At top level:
au_audio.c:339: warning: `struct inode' declared inside parameter list
au_audio.c:340: conflicting types for `au_audio_ioctl'
au_audio.c:55: previous declaration of `au_audio_ioctl'
au_audio.c: In function `au_audio_ioctl':
au_audio.c:341: `dev' undeclared (first use in this function)
au_audio.c:341: dereferencing pointer to incomplete type
au_audio.c:342: `wdev' undeclared (first use in this function)
au_audio.c:343: `stream' undeclared (first use in this function)
au_audio.c:352: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:352: syntax error before string constant
au_audio.c:353: `ENXIO' undeclared (first use in this function)
au_audio.c:358: warning: implicit declaration of function `put_user'
au_audio.c:362: `EINVAL' undeclared (first use in this function)
au_audio.c:364: dereferencing pointer to incomplete type
au_audio.c:364: `O_NONBLOCK' undeclared (first use in this function)
au_audio.c:371: dereferencing pointer to incomplete type
au_audio.c:394: warning: implicit declaration of function `get_user'
au_audio.c:395: `EFAULT' undeclared (first use in this function)
au_audio.c:440: dereferencing pointer to incomplete type
au_audio.c:465: dereferencing pointer to incomplete type
au_audio.c:476: warning: implicit declaration of function `memset'
au_audio.c:514: warning: implicit declaration of function `copy_to_user'
au_audio.c:536: dereferencing pointer to incomplete type
au_audio.c:589: warning: passing arg 1 of `au_mixer_ioctl' from incompatible pointer type
au_audio.c: At top level:
au_audio.c:592: warning: `struct vm_area_struct' declared inside parameter list
au_audio.c:593: conflicting types for `au_audio_mmap'
au_audio.c:56: previous declaration of `au_audio_mmap'
au_audio.c: In function `au_audio_mmap':
au_audio.c:594: `dev' undeclared (first use in this function)
au_audio.c:594: dereferencing pointer to incomplete type
au_audio.c:595: `wdev' undeclared (first use in this function)
au_audio.c:602: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:602: syntax error before string constant
au_audio.c:603: `ENODEV' undeclared (first use in this function)
au_audio.c:607: dereferencing pointer to incomplete type
au_audio.c:611: `EINVAL' undeclared (first use in this function)
au_audio.c:612: dereferencing pointer to incomplete type
au_audio.c:612: dereferencing pointer to incomplete type
au_audio.c:614: dereferencing pointer to incomplete type
au_audio.c:614: `VM_WRITE' undeclared (first use in this function)
au_audio.c:615: `stream' undeclared (first use in this function)
au_audio.c:620: warning: implicit declaration of function `remap_page_range'
au_audio.c:620: dereferencing pointer to incomplete type
au_audio.c:620: warning: implicit declaration of function `virt_to_phys'
au_audio.c:620: dereferencing pointer to incomplete type
au_audio.c:621: `EAGAIN' undeclared (first use in this function)
au_audio.c:624: dereferencing pointer to incomplete type
au_audio.c:624: `VM_READ' undeclared (first use in this function)
au_audio.c:630: dereferencing pointer to incomplete type
au_audio.c:630: dereferencing pointer to incomplete type
au_audio.c: At top level:
au_audio.c:647: warning: `struct inode' declared inside parameter list
au_audio.c:648: conflicting types for `au_audio_open'
au_audio.c:57: previous declaration of `au_audio_open'
au_audio.c: In function `au_audio_open':
au_audio.c:649: `dev' undeclared (first use in this function)
au_audio.c:650: dereferencing pointer to incomplete type
au_audio.c:656: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:656: syntax error before string constant
au_audio.c:657: `ENODEV' undeclared (first use in this function)
au_audio.c:662: syntax error before string constant
au_audio.c:665: dereferencing pointer to incomplete type
au_audio.c: At top level:
au_audio.c:672: warning: `struct inode' declared inside parameter list
au_audio.c:673: conflicting types for `au_audio_release'
au_audio.c:58: previous declaration of `au_audio_release'
au_audio.c: In function `au_audio_release':
au_audio.c:674: `dev' undeclared (first use in this function)
au_audio.c:674: dereferencing pointer to incomplete type
au_audio.c:675: `wdev' undeclared (first use in this function)
au_audio.c:679: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:679: syntax error before string constant
au_audio.c:680: `ENODEV' undeclared (first use in this function)
au_audio.c:683: dereferencing pointer to incomplete type
au_audio.c:683: `O_NONBLOCK' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:696: syntax error before '*' token
au_audio.c: In function `drain_playback':
au_audio.c:699: `wdev' undeclared (first use in this function)
au_audio.c:709: `dev' undeclared (first use in this function)
au_audio.c:722: `nonblock' undeclared (first use in this function)
au_audio.c:725: `current' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:733: syntax error before '*' token
au_audio.c: In function `add_wave_device':
au_audio.c:735: `wdev' undeclared (first use in this function)
au_audio.c:738: `file' undeclared (first use in this function)
au_audio.c:743: `dev' undeclared (first use in this function)
au_audio.c:744: `EBUSY' undeclared (first use in this function)
au_audio.c:745: syntax error before ')' token
au_audio.c:747: `ENOMEM' undeclared (first use in this function)
au_audio.c:754: `dev_type' undeclared (first use in this function)
au_audio.c:768: warning: implicit declaration of function `init_waitqueue_head'
au_audio.c:783: `KERN_WARNING' undeclared (first use in this function)
au_audio.c:783: syntax error before string constant
au_audio.c:789: syntax error before string constant
au_audio.c:796: syntax error before string constant
au_audio.c:802: syntax error before string constant
au_audio.c: At top level:
au_audio.c:821: syntax error before '*' token
au_audio.c: In function `get_frags':
au_audio.c:832: `stream' undeclared (first use in this function)
au_audio.c:832: warning: implicit declaration of function `__get_free_pages'
au_audio.c:832: `GFP_KERNEL' undeclared (first use in this function)
au_audio.c:834: `ENOMEM' undeclared (first use in this function)
au_audio.c:839: warning: implicit declaration of function `virt_to_page'
au_audio.c:839: warning: assignment makes pointer from integer without a cast
au_audio.c:840: warning: assignment makes pointer from integer without a cast
au_audio.c:840: increment of pointer to unknown structure
au_audio.c:840: arithmetic on pointer to an incomplete type
au_audio.c:841: `PG_reserved' undeclared (first use in this function)
au_audio.c:841: dereferencing pointer to incomplete type
au_audio.c:848: `count' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:856: syntax error before '*' token
au_audio.c: In function `free_wave_device':
au_audio.c:865: `wdev' undeclared (first use in this function)
au_audio.c:868: warning: assignment makes pointer from integer without a cast
au_audio.c:869: warning: assignment makes pointer from integer without a cast
au_audio.c:869: increment of pointer to unknown structure
au_audio.c:869: arithmetic on pointer to an incomplete type
au_audio.c:870: `PG_reserved' undeclared (first use in this function)
au_audio.c:870: dereferencing pointer to incomplete type
au_audio.c:876: warning: implicit declaration of function `free_pages'
au_audio.c:880: warning: assignment makes pointer from integer without a cast
au_audio.c:881: warning: assignment makes pointer from integer without a cast
au_audio.c:881: increment of pointer to unknown structure
au_audio.c:881: arithmetic on pointer to an incomplete type
au_audio.c:882: dereferencing pointer to incomplete type
au_audio.c:891: `dev' undeclared (first use in this function)
au_audio.c:900: warning: implicit declaration of function `kfree'
au_audio.c: At top level:
au_audio.c:903: syntax error before '*' token
au_audio.c:903: syntax error before '*' token
au_audio.c:904: warning: return type defaults to `int'
au_audio.c: In function `find_wave_device':
au_audio.c:906: `wdev' undeclared (first use in this function)
au_audio.c:909: `dev' undeclared (first use in this function)
au_audio.c:913: `file' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:922: syntax error before '*' token
au_audio.c: In function `remove_wave_device':
au_audio.c:925: `dev' undeclared (first use in this function)
au_audio.c:927: `wdev' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:945: syntax error before '*' token
au_audio.c: In function `set_data_format':
au_audio.c:947: `val' undeclared (first use in this function)
au_audio.c:952: `stream' undeclared (first use in this function)
au_audio.c:962: warning: deprecated use of label at end of compound statement
au_audio.c: At top level:
au_audio.c:965: syntax error before '*' token
au_audio.c: In function `set_asp_format':
au_audio.c:969: `stream' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:994: syntax error before '*' token
au_audio.c: In function `stop_wave':
au_audio.c:999: `stream' undeclared (first use in this function)
au_audio.c:1000: `dev' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:1013: syntax error before '*' token
au_audio.c: In function `receive_mem':
au_audio.c:1023: `stream' undeclared (first use in this function)
au_audio.c:1024: `dev' undeclared (first use in this function)
au_audio.c:1034: `max_size' undeclared (first use in this function)
au_audio.c:1036: `mem' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:1056: syntax error before '*' token
au_audio.c: In function `send_mem':
au_audio.c:1061: `stream' undeclared (first use in this function)
au_audio.c:1067: `size' undeclared (first use in this function)
au_audio.c:1070: warning: implicit declaration of function `copy_from_user'
au_audio.c:1070: `mem' undeclared (first use in this function)
au_audio.c:1083: `dev' undeclared (first use in this function)
au_audio.c: At top level:
au_audio.c:1105: syntax error before '*' token
au_audio.c: In function `au_handle_timer':
au_audio.c:1107: `wdev' undeclared (first use in this function)
au_audio.c:1107: `dev' undeclared (first use in this function)
au_audio.c:1108: `stream' undeclared (first use in this function)
au_audio.c:1121: warning: implicit declaration of function `wake_up_interruptible'
au_audio.c: At top level:
au_audio.c:64: storage size of `audio_fops' isn't known
make[1]: *** [au_audio.o] Error 1
make[1]: Leaving directory `/software/aureal'
make: *** [install10] Error 2 |
|