LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 941|回复: 4

编译内核

[复制链接]
发表于 2005-2-25 00:07:01 | 显示全部楼层 |阅读模式
看了好多关于编译内核的贴子都是关于升极的,我有一块8810的声卡,听别人说要编译内核才能驱动,我查了好多,也没找到相关资料,有谁能教教我?
发表于 2005-2-25 14:17:28 | 显示全部楼层
你用的是什么主板?声卡是集成的还是独立的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-25 17:42:50 | 显示全部楼层
华硕CUBX主板,锐敖的8810声卡,这个芯片有驱动下载,但我怎么也装不上。
回复 支持 反对

使用道具 举报

发表于 2005-2-25 18:45:56 | 显示全部楼层
你在哪里下的驱动,把地址贴出来。你是下载的tar.gz样子的源代码安装吗?8810的驱动在make时要用make install10才行。

你的linux是什么发行版?内核的版本是多少?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-25 19:01:34 | 显示全部楼层
系统是rhel as 3,内核是本来的,我没有升过级,具体多少我不太清楚
驱动之家下的地址如下
http://www.mydrivers.com/dir15/d6138.htm
文件名是au88xx-1.0.5.tar.gz
安装时我也是按照readme里说的,在root下使用make install10安装
出错如下:
make install AUCHIP=AU8810
make[1]: Entering directory `/root/au88xx-1.0.4'
cc -D__KERNEL__ -DMODULE -DAU8810 -O -Wall -pipe -m486 -I/usr/src/linux/include -O2 -fomit-frame-pointer -c -o vortex.o vortex.c
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
In file included from vortex.c:44:
/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 vortex.c:58:
/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 vortex.c:58:
/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 vortex.c:58:
/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 vortex.c:58:
/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 vortex.c:59:
/usr/include/linux/delay.h:13:23: asm/delay.h: 没有那个文件或目录
In file included from vortex.c:61:
/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 vortex.c:64:
/usr/include/asm/io.h:4:2: warning: #warning <asm/io.h> is deprecated, use <sys/io.h> instead
In file included from vortex.c:66:
/usr/include/asm/spinlock.h:4:2: warning: #warning Unportable code! This header does not exist on all architectures
/usr/include/asm/spinlock.h:5:2: warning: #warning Including kernel headers in userspace!
vortex.c:67:25: asm/uaccess.h: 没有那个文件或目录
vortex.c: At top level:
vortex.c:206: syntax error before "spinlock_t"
vortex.c:206: warning: no semicolon at end of struct or union
vortex.c:210: syntax error before ':' token
vortex.c:211: syntax error before ':' token
vortex.c:212: syntax error before ':' token
vortex.c:213: warning: type defaults to `int' in declaration of `au_device_t'
vortex.c:213: warning: data definition has no type or storage class
vortex.c:221: syntax error before '*' token
vortex.c:221: warning: type defaults to `int' in declaration of `dev_head'
vortex.c:221: warning: data definition has no type or storage class
vortex.c:222: syntax error before '*' token
vortex.c:222: warning: type defaults to `int' in declaration of `dev_tail'
vortex.c:222: warning: data definition has no type or storage class
vortex.c:228: syntax error before '*' token
vortex.c:228: warning: type defaults to `int' in declaration of `find_device'
vortex.c:228: warning: data definition has no type or storage class
vortex.c:229: syntax error before '*' token
vortex.c:229: warning: type defaults to `int' in declaration of `find_device_core'
vortex.c:229: warning: data definition has no type or storage class
vortex.c:233: syntax error before "au_device_t"
vortex.c:234: syntax error before '*' token
vortex.c:237: syntax error before '*' token
vortex.c:238: syntax error before '*' token
vortex.c:248: warning: `struct inode' declared inside parameter list
vortex.c:249: warning: `struct vm_area_struct' declared inside parameter list
vortex.c:250: warning: `struct inode' declared inside parameter list
vortex.c:251: warning: `struct inode' declared inside parameter list
vortex.c:252: warning: `struct inode' declared inside parameter list
vortex.c:253: warning: `struct inode' declared inside parameter list
vortex.c:254: warning: `struct inode' declared inside parameter list
vortex.c:255: syntax error before '*' token
vortex.c:256: syntax error before '*' token
vortex.c:257: warning: `struct inode' declared inside parameter list
vortex.c:258: warning: `struct inode' declared inside parameter list
vortex.c:259: warning: `struct inode' declared inside parameter list
vortex.c:263: warning: `struct inode' declared inside parameter list
vortex.c:264: warning: `struct inode' declared inside parameter list
vortex.c:269: syntax error before '*' token
vortex.c:270: syntax error before '*' token
vortex.c:271: syntax error before '*' token
vortex.c:275: variable `audio_fops' has initializer but incomplete type
vortex.c:276: warning: excess elements in struct initializer
vortex.c:276: warning: (near initialization for `audio_fops')
vortex.c:277: warning: excess elements in struct initializer
vortex.c:277: warning: (near initialization for `audio_fops')
vortex.c:278: warning: excess elements in struct initializer
vortex.c:278: warning: (near initialization for `audio_fops')
vortex.c:279: warning: excess elements in struct initializer
vortex.c:279: warning: (near initialization for `audio_fops')
vortex.c:280: warning: excess elements in struct initializer
vortex.c:280: warning: (near initialization for `audio_fops')
vortex.c:281: warning: excess elements in struct initializer
vortex.c:281: warning: (near initialization for `audio_fops')
vortex.c:282: warning: excess elements in struct initializer
vortex.c:282: warning: (near initialization for `audio_fops')
vortex.c:283: warning: excess elements in struct initializer
vortex.c:283: warning: (near initialization for `audio_fops')
vortex.c:284: warning: excess elements in struct initializer
vortex.c:284: warning: (near initialization for `audio_fops')
vortex.c:286: warning: excess elements in struct initializer
vortex.c:286: warning: (near initialization for `audio_fops')
vortex.c:287: variable `mixer_fops' has initializer but incomplete type
vortex.c:288: warning: excess elements in struct initializer
vortex.c:288: warning: (near initialization for `mixer_fops')
vortex.c:289: warning: excess elements in struct initializer
vortex.c:289: warning: (near initialization for `mixer_fops')
vortex.c:290: warning: excess elements in struct initializer
vortex.c:290: warning: (near initialization for `mixer_fops')
vortex.c:291: warning: excess elements in struct initializer
vortex.c:291: warning: (near initialization for `mixer_fops')
vortex.c:292: warning: excess elements in struct initializer
vortex.c:292: warning: (near initialization for `mixer_fops')
vortex.c:293: warning: excess elements in struct initializer
vortex.c:293: warning: (near initialization for `mixer_fops')
vortex.c:294: warning: excess elements in struct initializer
vortex.c:294: warning: (near initialization for `mixer_fops')
vortex.c:295: warning: excess elements in struct initializer
vortex.c:295: warning: (near initialization for `mixer_fops')
vortex.c:296: warning: excess elements in struct initializer
vortex.c:296: warning: (near initialization for `mixer_fops')
vortex.c:298: warning: excess elements in struct initializer
vortex.c:298: warning: (near initialization for `mixer_fops')
vortex.c:299: variable `midi_fops' has initializer but incomplete type
vortex.c:300: warning: excess elements in struct initializer
vortex.c:300: warning: (near initialization for `midi_fops')
vortex.c:301: warning: excess elements in struct initializer
vortex.c:301: warning: (near initialization for `midi_fops')
vortex.c:302: warning: excess elements in struct initializer
vortex.c:302: warning: (near initialization for `midi_fops')
vortex.c:303: warning: excess elements in struct initializer
vortex.c:303: warning: (near initialization for `midi_fops')
vortex.c:304: warning: excess elements in struct initializer
vortex.c:304: warning: (near initialization for `midi_fops')
vortex.c:305: warning: excess elements in struct initializer
vortex.c:305: warning: (near initialization for `midi_fops')
vortex.c:306: warning: excess elements in struct initializer
vortex.c:306: warning: (near initialization for `midi_fops')
vortex.c:307: warning: excess elements in struct initializer
vortex.c:307: warning: (near initialization for `midi_fops')
vortex.c:308: warning: excess elements in struct initializer
vortex.c:308: warning: (near initialization for `midi_fops')
vortex.c:310: warning: excess elements in struct initializer
vortex.c:310: warning: (near initialization for `midi_fops')
vortex.c:311: variable `sndstat_fops' has initializer but incomplete type
vortex.c:312: warning: excess elements in struct initializer
vortex.c:312: warning: (near initialization for `sndstat_fops')
vortex.c:313: warning: excess elements in struct initializer
vortex.c:313: warning: (near initialization for `sndstat_fops')
vortex.c:314: warning: excess elements in struct initializer
vortex.c:314: warning: (near initialization for `sndstat_fops')
vortex.c:315: warning: excess elements in struct initializer
vortex.c:315: warning: (near initialization for `sndstat_fops')
vortex.c:316: warning: excess elements in struct initializer
vortex.c:316: warning: (near initialization for `sndstat_fops')
vortex.c:317: warning: excess elements in struct initializer
vortex.c:317: warning: (near initialization for `sndstat_fops')
vortex.c:318: warning: excess elements in struct initializer
vortex.c:318: warning: (near initialization for `sndstat_fops')
vortex.c:319: warning: excess elements in struct initializer
vortex.c:319: warning: (near initialization for `sndstat_fops')
vortex.c:320: warning: excess elements in struct initializer
vortex.c:320: warning: (near initialization for `sndstat_fops')
vortex.c:322: warning: excess elements in struct initializer
vortex.c:322: warning: (near initialization for `sndstat_fops')
vortex.c: In function `device_scan':
vortex.c:452: warning: implicit declaration of function `pci_present'
vortex.c:453: `ENODEV' undeclared (first use in this function)
vortex.c:453: (Each undeclared identifier is reported only once
vortex.c:453: for each function it appears in.)
vortex.c: In function `scan_id':
vortex.c:477: warning: implicit declaration of function `pci_find_device'
vortex.c:477: warning: assignment makes pointer from integer without a cast
vortex.c:484: dereferencing pointer to incomplete type
vortex.c:485: dereferencing pointer to incomplete type
vortex.c:486: dereferencing pointer to incomplete type
vortex.c:487: warning: implicit declaration of function `printk'
vortex.c:487: `KERN_WARNING' undeclared (first use in this function)
vortex.c:487: syntax error before string constant
vortex.c: In function `add_device':
vortex.c:498: `dev' undeclared (first use in this function)
vortex.c:505: syntax error before ')' token
vortex.c:507: `ENOMEM' undeclared (first use in this function)
vortex.c:508: warning: implicit declaration of function `memset'
vortex.c:512: warning: implicit declaration of function `init_waitqueue'
vortex.c:517: `KERN_WARNING' undeclared (first use in this function)
vortex.c:517: syntax error before string constant
vortex.c:518: warning: implicit declaration of function `kfree'
vortex.c:525: warning: passing arg 1 of `register_sound_dsp' from incompatible pointer type
vortex.c:527: syntax error before string constant
vortex.c:533: warning: passing arg 1 of `register_sound_mixer' from incompatible pointer type
vortex.c:535: syntax error before string constant
vortex.c:542: warning: passing arg 1 of `register_sound_midi' from incompatible pointer type
vortex.c:544: syntax error before string constant
vortex.c:553: warning: passing arg 1 of `register_sound_special' from incompatible pointer type
vortex.c:555: syntax error before string constant
vortex.c:568: warning: passing arg 1 of `register_sound_special' from incompatible pointer type
vortex.c:570: syntax error before string constant
vortex.c:570: syntax error before ')' token
vortex.c:573: warning: implicit declaration of function `request_irq'
vortex.c:573: `SA_SHIRQ' undeclared (first use in this function)
vortex.c:574: syntax error before string constant
vortex.c:594: syntax error before string constant
vortex.c:605: request for member `next' in something not a structure or union
vortex.c: In function `remove_devices':
vortex.c:613: `next_dev' undeclared (first use in this function)
vortex.c:614: `dev' undeclared (first use in this function)
vortex.c:621: warning: implicit declaration of function `free_irq'
vortex.c:630: syntax error before ')' token
vortex.c: At top level:
vortex.c:639: syntax error before '*' token
vortex.c:640: warning: return type defaults to `int'
vortex.c: In function `find_device':
vortex.c:641: `dev' undeclared (first use in this function)
vortex.c:642: `found_dev' undeclared (first use in this function)
vortex.c:642: syntax error before ')' token
vortex.c: At top level:
vortex.c:678: syntax error before '*' token
vortex.c:679: warning: return type defaults to `int'
vortex.c: In function `find_device_core':
vortex.c:680: `dev' undeclared (first use in this function)
vortex.c: At top level:
vortex.c:690: syntax error before "au_device_t"
vortex.c: In function `alloc_core':
vortex.c:693: `dev' undeclared (first use in this function)
vortex.c:695: `pcidev' undeclared (first use in this function)
vortex.c: In function `au_isr':
vortex.c:708: `dev' undeclared (first use in this function)
vortex.c:708: syntax error before ')' token
vortex.c:714: warning: implicit declaration of function `spin_lock'
vortex.c:722: warning: implicit declaration of function `spin_unlock'
vortex.c: In function `au_llseek':
vortex.c:743: `ESPIPE' undeclared (first use in this function)
vortex.c: In function `au_audio_read':
vortex.c:748: `dev' undeclared (first use in this function)
vortex.c:748: dereferencing pointer to incomplete type
vortex.c:758: `KERN_WARNING' undeclared (first use in this function)
vortex.c:758: syntax error before string constant
vortex.c:759: `ENXIO' undeclared (first use in this function)
vortex.c:764: dereferencing pointer to incomplete type
vortex.c:765: `ESPIPE' undeclared (first use in this function)
vortex.c:769: warning: implicit declaration of function `access_ok'
vortex.c:769: `VERIFY_WRITE' undeclared (first use in this function)
vortex.c:770: `EFAULT' undeclared (first use in this function)
vortex.c:791: dereferencing pointer to incomplete type
vortex.c:791: `O_NONBLOCK' undeclared (first use in this function)
vortex.c:792: `EAGAIN' undeclared (first use in this function)
vortex.c:793: warning: implicit declaration of function `interruptible_sleep_on'
vortex.c:794: warning: implicit declaration of function `signal_pending'
vortex.c:794: `current' undeclared (first use in this function)
vortex.c:795: `ERESTARTSYS' undeclared (first use in this function)
vortex.c: In function `au_audio_write':
vortex.c:804: `dev' undeclared (first use in this function)
vortex.c:804: dereferencing pointer to incomplete type
vortex.c:813: `KERN_WARNING' undeclared (first use in this function)
vortex.c:813: syntax error before string constant
vortex.c:814: `ENXIO' undeclared (first use in this function)
vortex.c:819: dereferencing pointer to incomplete type
vortex.c:820: `ESPIPE' undeclared (first use in this function)
vortex.c:824: `VERIFY_READ' undeclared (first use in this function)
vortex.c:825: `EFAULT' undeclared (first use in this function)
vortex.c:843: `EAGAIN' undeclared (first use in this function)
vortex.c:853: dereferencing pointer to incomplete type
vortex.c:853: `O_NONBLOCK' undeclared (first use in this function)
vortex.c:856: `current' undeclared (first use in this function)
vortex.c:857: `ERESTARTSYS' undeclared (first use in this function)
vortex.c: At top level:
vortex.c:887: warning: `struct inode' declared inside parameter list
vortex.c:888: conflicting types for `au_audio_ioctl'
vortex.c:248: previous declaration of `au_audio_ioctl'
vortex.c: In function `au_audio_ioctl':
vortex.c:889: `dev' undeclared (first use in this function)
vortex.c:889: dereferencing pointer to incomplete type
vortex.c:900: `KERN_WARNING' undeclared (first use in this function)
vortex.c:900: syntax error before string constant
vortex.c:901: `ENXIO' undeclared (first use in this function)
vortex.c:909: warning: implicit declaration of function `put_user'
vortex.c:913: `EINVAL' undeclared (first use in this function)
vortex.c:914: dereferencing pointer to incomplete type
vortex.c:914: `O_NONBLOCK' undeclared (first use in this function)
vortex.c:920: dereferencing pointer to incomplete type
vortex.c:940: warning: implicit declaration of function `get_user_ret'
vortex.c:940: `EFAULT' undeclared (first use in this function)
vortex.c:1030: warning: implicit declaration of function `copy_to_user'
vortex.c:1047: dereferencing pointer to incomplete type
vortex.c:1094: warning: passing arg 1 of `au_mixer_ioctl' from incompatible pointer type
vortex.c: At top level:
vortex.c:1097: warning: `struct vm_area_struct' declared inside parameter list
vortex.c:1098: conflicting types for `au_audio_mmap'
vortex.c:249: previous declaration of `au_audio_mmap'
vortex.c: In function `au_audio_mmap':
vortex.c:1099: `dev' undeclared (first use in this function)
vortex.c:1099: dereferencing pointer to incomplete type
vortex.c:1107: `KERN_WARNING' undeclared (first use in this function)
vortex.c:1107: syntax error before string constant
vortex.c:1108: `ENODEV' undeclared (first use in this function)
vortex.c:1111: dereferencing pointer to incomplete type
vortex.c:1112: `EINVAL' undeclared (first use in this function)
vortex.c:1113: dereferencing pointer to incomplete type
vortex.c:1113: dereferencing pointer to incomplete type
vortex.c:1115: dereferencing pointer to incomplete type
vortex.c:1115: `VM_WRITE' undeclared (first use in this function)
vortex.c:1121: warning: implicit declaration of function `remap_page_range'
vortex.c:1121: dereferencing pointer to incomplete type
vortex.c:1121: warning: implicit declaration of function `virt_to_phys'
vortex.c:1121: dereferencing pointer to incomplete type
vortex.c:1122: `EAGAIN' undeclared (first use in this function)
vortex.c:1125: dereferencing pointer to incomplete type
vortex.c:1125: `VM_READ' undeclared (first use in this function)
vortex.c:1131: dereferencing pointer to incomplete type
vortex.c:1131: dereferencing pointer to incomplete type
vortex.c: At top level:
vortex.c:1149: warning: `struct inode' declared inside parameter list
vortex.c:1150: conflicting types for `au_audio_open'
vortex.c:250: previous declaration of `au_audio_open'
vortex.c: In function `au_audio_open':
vortex.c:1151: `dev' undeclared (first use in this function)
vortex.c:1152: dereferencing pointer to incomplete type
vortex.c:1160: `KERN_WARNING' undeclared (first use in this function)
vortex.c:1160: syntax error before string constant
vortex.c:1161: `ENODEV' undeclared (first use in this function)
vortex.c:1167: syntax error before string constant
vortex.c:1168: `ENOMEM' undeclared (first use in this function)
vortex.c:1171: dereferencing pointer to incomplete type
vortex.c:1174: warning: implicit declaration of function `atomic_inc'
vortex.c:1174: union has no member named `usecount'
vortex.c: At top level:
vortex.c:1179: warning: `struct inode' declared inside parameter list
vortex.c:1180: conflicting types for `au_audio_release'
vortex.c:251: previous declaration of `au_audio_release'
vortex.c: In function `au_audio_release':
vortex.c:1181: `dev' undeclared (first use in this function)
vortex.c:1181: dereferencing pointer to incomplete type
vortex.c:1188: `KERN_WARNING' undeclared (first use in this function)
vortex.c:1188: syntax error before string constant
vortex.c:1189: `ENODEV' undeclared (first use in this function)
vortex.c:1193: dereferencing pointer to incomplete type
vortex.c:1193: `O_NONBLOCK' undeclared (first use in this function)
vortex.c:1204: warning: implicit declaration of function `atomic_dec'
vortex.c:1204: union has no member named `usecount'
vortex.c: In function `drain_playback':
vortex.c:1222: `current' undeclared (first use in this function)
vortex.c: At top level:
vortex.c:1227: syntax error before '*' token
vortex.c: In function `add_wave_device':
vortex.c:1232: `file' undeclared (first use in this function)
vortex.c:1237: `dev' undeclared (first use in this function)
vortex.c:1238: `EBUSY' undeclared (first use in this function)
vortex.c:1240: warning: implicit declaration of function `kmalloc'
vortex.c:1240: `GFP_KERNEL' undeclared (first use in this function)
vortex.c:1242: `ENOMEM' undeclared (first use in this function)
vortex.c:1250: `dev_type' undeclared (first use in this function)
vortex.c:1274: `KERN_WARNING' undeclared (first use in this function)
vortex.c:1274: syntax error before string constant
vortex.c:1280: syntax error before string constant
vortex.c:1288: syntax error before string constant
vortex.c:1294: syntax error before string constant
vortex.c:1301: warning: implicit declaration of function `spin_lock_irqsave'
vortex.c:1311: warning: implicit declaration of function `spin_unlock_irqrestore'
vortex.c: In function `get_frags':
vortex.c:1322: warning: implicit declaration of function `__get_free_pages'
vortex.c:1322: `GFP_KERNEL' undeclared (first use in this function)
vortex.c:1324: `ENOMEM' undeclared (first use in this function)
vortex.c:1330: warning: implicit declaration of function `MAP_NR'
vortex.c:1332: `PG_reserved' undeclared (first use in this function)
vortex.c:1332: `mem_map' undeclared (first use in this function)
vortex.c: In function `free_wave_device':
vortex.c:1350: `PG_reserved' undeclared (first use in this function)
vortex.c:1350: `mem_map' undeclared (first use in this function)
vortex.c:1351: warning: implicit declaration of function `free_pages'
vortex.c: At top level:
vortex.c:1367: syntax error before '*' token
vortex.c: In function `find_wave_device':
vortex.c:1369: `dev' undeclared (first use in this function)
vortex.c:1372: `file' undeclared (first use in this function)
vortex.c: At top level:
vortex.c:1379: syntax error before '*' token
vortex.c: In function `remove_wave_device':
vortex.c:1383: `dev' undeclared (first use in this function)
vortex.c:1386: `wdev' undeclared (first use in this function)
vortex.c: In function `set_data_format':
vortex.c:1422: `KERN_WARNING' undeclared (first use in this function)
vortex.c:1422: syntax error before string constant
vortex.c: In function `send_mem':
vortex.c:1520: warning: implicit declaration of function `copy_from_user'
vortex.c: At top level:
vortex.c:1539: syntax error before '*' token
vortex.c: In function `au_handle_timer':
vortex.c:1541: `dev' undeclared (first use in this function)
vortex.c:1571: warning: implicit declaration of function `wake_up_interruptible'
vortex.c: At top level:
vortex.c:1615: warning: `struct inode' declared inside parameter list
vortex.c:1616: conflicting types for `au_mixer_ioctl'
vortex.c:252: previous declaration of `au_mixer_ioctl'
vortex.c: In function `au_mixer_ioctl':
vortex.c:1617: `dev' undeclared (first use in this function)
vortex.c:1617: dereferencing pointer to incomplete type
vortex.c:1627: warning: implicit declaration of function `strncpy'
vortex.c:1631: `EFAULT' undeclared (first use in this function)
vortex.c:1646: `EINVAL' undeclared (first use in this function)
vortex.c:1684: `KERN_WARNING' undeclared (first use in this function)
vortex.c:1684: syntax error before string constant
vortex.c: At top level:
vortex.c:1707: syntax error before '*' token
vortex.c: In function `write_mixer':
vortex.c:1713: `val' undeclared (first use in this function)
vortex.c:1720: `chan' undeclared (first use in this function)
vortex.c:1723: `dev' undeclared (first use in this function)
vortex.c: At top level:
vortex.c:1825: warning: `struct inode' declared inside parameter list
vortex.c:1826: conflicting types for `au_mixer_open'
vortex.c:253: previous declaration of `au_mixer_open'
vortex.c: In function `au_mixer_open':
vortex.c:1827: `dev' undeclared (first use in this function)
vortex.c:1828: dereferencing pointer to incomplete type
vortex.c:1834: `KERN_WARNING' undeclared (first use in this function)
vortex.c:1834: syntax error before string constant
vortex.c:1835: `ENODEV' undeclared (first use in this function)
vortex.c:1837: dereferencing pointer to incomplete type
vortex.c:1840: union has no member named `usecount'
vortex.c: At top level:
vortex.c:1845: warning: `struct inode' declared inside parameter list
vortex.c:1846: conflicting types for `au_mixer_release'
vortex.c:254: previous declaration of `au_mixer_release'
vortex.c: In function `au_mixer_release':
vortex.c:1848: union has no member named `usecount'
vortex.c: At top level:
vortex.c:1853: syntax error before '*' token
vortex.c: In function `init_mixer':
vortex.c:1857: `dev' undeclared (first use in this function)
vortex.c: At top level:
vortex.c:1865: syntax error before '*' token
vortex.c: In function `set_rec_src':
vortex.c:1869: `recsrc' undeclared (first use in this function)
vortex.c:1896: `dev' undeclared (first use in this function)
vortex.c: At top level:
vortex.c:1903: warning: `struct inode' declared inside parameter list
vortex.c:1904: conflicting types for `au_midi_open'
vortex.c:257: previous declaration of `au_midi_open'
vortex.c: In function `au_midi_open':
vortex.c:1905: `dev' undeclared (first use in this function)
vortex.c:1906: dereferencing pointer to incomplete type
vortex.c:1907: dereferencing pointer to incomplete type
vortex.c:1908: dereferencing pointer to incomplete type
vortex.c:1915: `KERN_WARNING' undeclared (first use in this function)
vortex.c:1915: syntax error before string constant
vortex.c:1916: `ENODEV' undeclared (first use in this function)
vortex.c:1922: `EBUSY' undeclared (first use in this function)
vortex.c:1931: dereferencing pointer to incomplete type
vortex.c:1943: union has no member named `usecount'
vortex.c: At top level:
vortex.c:1948: warning: `struct inode' declared inside parameter list
vortex.c:1949: conflicting types for `au_midi_release'
vortex.c:258: previous declaration of `au_midi_release'
vortex.c: In function `au_midi_release':
vortex.c:1950: `dev' undeclared (first use in this function)
vortex.c:1950: dereferencing pointer to incomplete type
vortex.c:1958: union has no member named `usecount'
vortex.c: In function `au_midi_read':
vortex.c:1965: `dev' undeclared (first use in this function)
vortex.c:1965: dereferencing pointer to incomplete type
vortex.c:1973: dereferencing pointer to incomplete type
vortex.c:1974: `ESPIPE' undeclared (first use in this function)
vortex.c:1976: `VERIFY_WRITE' undeclared (first use in this function)
vortex.c:1977: `EFAULT' undeclared (first use in this function)
vortex.c:1989: dereferencing pointer to incomplete type
vortex.c:1989: `O_NONBLOCK' undeclared (first use in this function)
vortex.c:1990: `EAGAIN' undeclared (first use in this function)
vortex.c:1992: `current' undeclared (first use in this function)
vortex.c:1993: `ERESTARTSYS' undeclared (first use in this function)
vortex.c: In function `au_midi_write':
vortex.c:2012: `dev' undeclared (first use in this function)
vortex.c:2012: dereferencing pointer to incomplete type
vortex.c:2020: dereferencing pointer to incomplete type
vortex.c:2021: `ESPIPE' undeclared (first use in this function)
vortex.c:2023: `VERIFY_READ' undeclared (first use in this function)
vortex.c:2024: `EFAULT' undeclared (first use in this function)
vortex.c:2038: dereferencing pointer to incomplete type
vortex.c:2038: `O_NONBLOCK' undeclared (first use in this function)
vortex.c:2039: `EAGAIN' undeclared (first use in this function)
vortex.c:2041: `current' undeclared (first use in this function)
vortex.c:2042: `ERESTARTSYS' undeclared (first use in this function)
vortex.c: In function `au_midi_poll':
vortex.c:2064: `dev' undeclared (first use in this function)
vortex.c:2064: dereferencing pointer to incomplete type
vortex.c:2068: dereferencing pointer to incomplete type
vortex.c:2069: warning: implicit declaration of function `poll_wait'
vortex.c:2070: dereferencing pointer to incomplete type
vortex.c:2073: dereferencing pointer to incomplete type
vortex.c:2077: dereferencing pointer to incomplete type
vortex.c: At top level:
vortex.c:2085: warning: `struct inode' declared inside parameter list
vortex.c:2086: conflicting types for `au_midi_ioctl'
vortex.c:259: previous declaration of `au_midi_ioctl'
vortex.c:2091: syntax error before '*' token
vortex.c: In function `au_handle_midi':
vortex.c:2098: `dev' undeclared (first use in this function)
vortex.c: At top level:
vortex.c:2134: warning: `struct inode' declared inside parameter list
vortex.c:2135: conflicting types for `au_sndstat_open'
vortex.c:263: previous declaration of `au_sndstat_open'
vortex.c: In function `au_sndstat_open':
vortex.c:2139: union has no member named `usecount'
vortex.c: In function `au_sndstat_read':
vortex.c:2147: dereferencing pointer to incomplete type
vortex.c: In function `sndstat_file_read':
vortex.c:2166: warning: implicit declaration of function `__get_free_page'
vortex.c:2166: `GFP_KERNEL' undeclared (first use in this function)
vortex.c:2167: `ENOMEM' undeclared (first use in this function)
vortex.c:2201: `EFAULT' undeclared (first use in this function)
vortex.c:2210: warning: implicit declaration of function `free_page'
vortex.c: In function `sound_proc_get_info':
vortex.c:2218: `dev' undeclared (first use in this function)
vortex.c:2230: warning: implicit declaration of function `sprintf'
vortex.c: At top level:
vortex.c:2303: warning: `struct inode' declared inside parameter list
vortex.c:2304: conflicting types for `au_sndstat_release'
vortex.c:264: previous declaration of `au_sndstat_release'
vortex.c: In function `au_sndstat_release':
vortex.c:2308: union has no member named `usecount'
vortex.c: In function `linux_kmalloc':
vortex.c:2319: `GFP_KERNEL' undeclared (first use in this function)
vortex.c:2319: warning: return makes pointer from integer without a cast
vortex.c: In function `linux_ioremap':
vortex.c:2331: warning: implicit declaration of function `ioremap'
vortex.c:2331: warning: return makes pointer from integer without a cast
vortex.c: In function `linux_iounmap':
vortex.c:2336: warning: implicit declaration of function `iounmap'
vortex.c: In function `linux_udelay':
vortex.c:2341: warning: implicit declaration of function `udelay'
vortex.c: In function `linux_memcpy':
vortex.c:2365: warning: implicit declaration of function `memcpy'
vortex.c: In function `linux_virt_to_phys':
vortex.c:2370: warning: implicit declaration of function `virt_to_bus'
vortex.c: In function `linux_phys_to_virt':
vortex.c:2375: warning: implicit declaration of function `bus_to_virt'
vortex.c:2375: warning: return makes pointer from integer without a cast
vortex.c: In function `linux_acquire_device_spinlock':
vortex.c:2381: `dev' undeclared (first use in this function)
vortex.c: In function `linux_release_device_spinlock':
vortex.c:2395: `dev' undeclared (first use in this function)
vortex.c: In function `linux_init_timer':
vortex.c:2408: sizeof applied to an incomplete type
vortex.c:2408: `GFP_KERNEL' undeclared (first use in this function)
vortex.c:2412: dereferencing pointer to incomplete type
vortex.c:2413: dereferencing pointer to incomplete type
vortex.c: In function `linux_add_timer':
vortex.c:2422: dereferencing pointer to incomplete type
vortex.c:2422: `jiffies' undeclared (first use in this function)
vortex.c:2423: dereferencing pointer to incomplete type
vortex.c:2424: dereferencing pointer to incomplete type
vortex.c: In function `linux_jiffies':
vortex.c:2441: `jiffies' undeclared (first use in this function)
/usr/include/sys/io.h: At top level:
vortex.c:275: storage size of `audio_fops' isn't known
vortex.c:287: storage size of `mixer_fops' isn't known
vortex.c:299: storage size of `midi_fops' isn't known
vortex.c:311: storage size of `sndstat_fops' isn't known
make[1]: *** [vortex.o] Error 1
make[1]: Leaving directory `/root/au88xx-1.0.4'
make: *** [install10] Error 2
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表