QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1252|回复: 3

我在RH9下安装ALSA出现的问题..为什么会这样呢.谢谢

[复制链接]
发表于 2005-6-24 23:16:10 | 显示全部楼层 |阅读模式
[root@localhost alsa-driver-0.5.8]# make install
make[1]: Entering directory `/home/gas2000/source/alsa-driver-0.5.8/support'
gcc   -DALSA_BUILD -D__KERNEL__ -O2  -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -DEXPORT_SYMTAB -c isapnp.c
In file included from /usr/include/linux/module.h:20,
                 from isapnp.c:45:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
In file included from isapnp.c:49:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from isapnp.c:50:
/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 /usr/include/linux/sched.h:14,
                 from /usr/include/linux/delay.h:12,
                 from isapnp.c:51:
/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 /usr/include/linux/delay.h:12,
                 from isapnp.c:51:
/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 /usr/include/linux/delay.h:12,
                 from isapnp.c:51:
/usr/include/asm/signal.h:107: parse error before "sigset_t"
/usr/include/asm/signal.h:110: parse error before '}' token
In file included from /usr/include/linux/sched.h:81,
                 from /usr/include/linux/delay.h:12,
                 from isapnp.c:51:
/usr/include/linux/timer.h:45: parse error before "spinlock_t"
/usr/include/linux/timer.h:53: parse error before '}' token
/usr/include/linux/timer.h:67: parse error before "tvec_base_t"
/usr/include/linux/timer.h:101: parse 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 isapnp.c:51:
/usr/include/linux/delay.h:13:23: asm/delay.h: 没有那个文件或目录
In file included from isapnp.c:52:
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:70: parse error before "atomic_t"
/usr/include/linux/proc_fs.h:73: parse error before '}' token
/usr/include/linux/proc_fs.h:203: parse error before "void"
In file included from isapnp.c:54:
/usr/include/asm/dma.h:138: parse error before "dma_spin_lock"
In file included from isapnp.c:54:
/usr/include/asm/dma.h:298:2: warning: #warning Using kernel headers in userspace!
isapnp.c:57:27: linux/vmalloc.h: 没有那个文件或目录
isapnp.c:60:25: asm/uaccess.h: 没有那个文件或目录
In file included from isapnp.c:64:
isapnp.h:329: warning: `struct isapnp_card_id' declared inside parameter list
isapnp.c:143: warning: type defaults to `int' in declaration of `DECLARE_MUTEX'
isapnp.c:143: warning: parameter names (without types) in function declaration
isapnp.c: In function `write_address':
isapnp.c:163: warning: implicit declaration of function `udelay'
isapnp.c: In function `isapnp_alloc':
isapnp.c:222: warning: implicit declaration of function `kmalloc'
isapnp.c:222: `GFP_KERNEL' undeclared (first use in this function)
isapnp.c:222: (Each undeclared identifier is reported only once
isapnp.c:222: for each function it appears in.)
isapnp.c:222: warning: assignment makes pointer from integer without a cast
isapnp.c: At top level:
isapnp.c:423: storage class specified for parameter `isapnp_read_tag'
isapnp.c:424: warning: return type defaults to `int'
isapnp.c: In function `__initfunc':
isapnp.c:431: `type' undeclared (first use in this function)
isapnp.c:433: `size' undeclared (first use in this function)
isapnp.c: At top level:
isapnp.c:452: storage class specified for parameter `isapnp_skip_bytes'
isapnp.c:453: warning: return type defaults to `int'
isapnp.c:453: conflicting types for `__initfunc'
isapnp.c:424: previous declaration of `__initfunc'
isapnp.c: In function `__initfunc':
isapnp.c:454: `count' undeclared (first use in this function)
isapnp.c: In function `isapnp_parse_device':
isapnp.c:467: sizeof applied to an incomplete type
isapnp.c:470: dereferencing pointer to incomplete type
isapnp.c:471: dereferencing pointer to incomplete type
isapnp.c:472: dereferencing pointer to incomplete type
isapnp.c:473: dereferencing pointer to incomplete type
isapnp.c:474: dereferencing pointer to incomplete type
isapnp.c:476: dereferencing pointer to incomplete type
isapnp.c:477: dereferencing pointer to incomplete type
isapnp.c:478: dereferencing pointer to incomplete type
isapnp.c:479: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_build_resources':
isapnp.c:494: warning: assignment from incompatible pointer type
isapnp.c:495: dereferencing pointer to incomplete type
isapnp.c:508: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_add_irq_resource':
isapnp.c:542: warning: implicit declaration of function `kfree'
isapnp.c: In function `isapnp_create_device':
isapnp.c:785: dereferencing pointer to incomplete type
isapnp.c:787: dereferencing pointer to incomplete type
isapnp.c:793: warning: implicit declaration of function `isapnp_read_tag'
isapnp.c:804: dereferencing pointer to incomplete type
isapnp.c:805: dereferencing pointer to incomplete type
isapnp.c:817: `DEVICE_COUNT_COMPATIBLE' undeclared (first use in this function)
isapnp.c:819: dereferencing pointer to incomplete type
isapnp.c:820: dereferencing pointer to incomplete type
isapnp.c:875: dereferencing pointer to incomplete type
isapnp.c:877: dereferencing pointer to incomplete type
isapnp.c:878: dereferencing pointer to incomplete type
isapnp.c:902: warning: implicit declaration of function `isapnp_skip_bytes'
isapnp.c:905: warning: implicit declaration of function `printk'
isapnp.c:905: dereferencing pointer to incomplete type
isapnp.c:905: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_parse_resource_map':
isapnp.c:932: dereferencing pointer to incomplete type
isapnp.c:933: dereferencing pointer to incomplete type
isapnp.c:946: dereferencing pointer to incomplete type
isapnp.c:948: dereferencing pointer to incomplete type
isapnp.c:949: dereferencing pointer to incomplete type
isapnp.c:964: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_build_device_list':
isapnp.c:1018: sizeof applied to an incomplete type
isapnp.c:1020: dereferencing pointer to incomplete type
isapnp.c:1021: dereferencing pointer to incomplete type
isapnp.c:1022: dereferencing pointer to incomplete type
isapnp.c:1023: dereferencing pointer to incomplete type
isapnp.c:1028: dereferencing pointer to incomplete type
isapnp.c:1032: dereferencing pointer to incomplete type
isapnp.c:1035: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_cfg_begin':
isapnp.c:1055: warning: implicit declaration of function `atomic_inc'
isapnp.c:1055: union has no member named `usecount'
isapnp.c:1056: warning: implicit declaration of function `down'
isapnp.c:1056: `isapnp_cfg_mutex' undeclared (first use in this function)
isapnp.c: In function `isapnp_cfg_end':
isapnp.c:1074: warning: implicit declaration of function `up'
isapnp.c:1074: `isapnp_cfg_mutex' undeclared (first use in this function)
isapnp.c:1075: warning: implicit declaration of function `atomic_dec'
isapnp.c:1075: union has no member named `usecount'
isapnp.c: In function `isapnp_find_port':
isapnp.c:1090: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_find_irq':
isapnp.c:1108: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_find_dma':
isapnp.c:1134: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_find_mem':
isapnp.c:1151: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_find_mem32':
isapnp.c:1168: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_find_card':
isapnp.c:1191: dereferencing pointer to incomplete type
isapnp.c:1193: dereferencing pointer to incomplete type
isapnp.c:1194: dereferencing pointer to incomplete type
isapnp.c:1194: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_find_dev':
isapnp.c:1212: dereferencing pointer to incomplete type
isapnp.c:1214: dereferencing pointer to incomplete type
isapnp.c:1215: dereferencing pointer to incomplete type
isapnp.c:1215: dereferencing pointer to incomplete type
isapnp.c:1217: `DEVICE_COUNT_COMPATIBLE' undeclared (first use in this function)
isapnp.c:1218: dereferencing pointer to incomplete type
isapnp.c:1219: dereferencing pointer to incomplete type
isapnp.c:1224: dereferencing pointer to incomplete type
isapnp.c:1226: dereferencing pointer to incomplete type
isapnp.c:1228: dereferencing pointer to incomplete type
isapnp.c:1230: dereferencing pointer to incomplete type
isapnp.c:1231: dereferencing pointer to incomplete type
isapnp.c:1231: dereferencing pointer to incomplete type
isapnp.c:1234: dereferencing pointer to incomplete type
isapnp.c:1235: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_match_card':
isapnp.c:1247: dereferencing pointer to incomplete type
isapnp.c:1247: dereferencing pointer to incomplete type
isapnp.c:1248: dereferencing pointer to incomplete type
isapnp.c:1248: `ISAPNP_ANY_ID' undeclared (first use in this function)
isapnp.c:1248: dereferencing pointer to incomplete type
isapnp.c:1248: dereferencing pointer to incomplete type
isapnp.c:1249: dereferencing pointer to incomplete type
isapnp.c:1249: dereferencing pointer to incomplete type
isapnp.c:1249: dereferencing pointer to incomplete type
isapnp.c:1250: `ISAPNP_CARD_DEVS' undeclared (first use in this function)
isapnp.c:1251: dereferencing pointer to incomplete type
isapnp.c:1252: dereferencing pointer to incomplete type
isapnp.c:1255: dereferencing pointer to incomplete type
isapnp.c:1256: dereferencing pointer to incomplete type
isapnp.c:1263: increment of pointer to unknown structure
isapnp.c:1263: arithmetic on pointer to an incomplete type
isapnp.c: At top level:
isapnp.c:1271: conflicting types for `isapnp_probe_cards'
isapnp.h:329: previous declaration of `isapnp_probe_cards'
isapnp.c: In function `isapnp_probe_cards':
isapnp.c:1278: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_config_prepare':
isapnp.c:1332: dereferencing pointer to incomplete type
isapnp.c:1332: dereferencing pointer to incomplete type
isapnp.c:1334: `DEVICE_COUNT_IRQ' undeclared (first use in this function)
isapnp.c:1335: dereferencing pointer to incomplete type
isapnp.c:1336: dereferencing pointer to incomplete type
isapnp.c:1337: dereferencing pointer to incomplete type
isapnp.c:1338: dereferencing pointer to incomplete type
isapnp.c:1340: `DEVICE_COUNT_DMA' undeclared (first use in this function)
isapnp.c:1341: dereferencing pointer to incomplete type
isapnp.c:1342: dereferencing pointer to incomplete type
isapnp.c:1343: dereferencing pointer to incomplete type
isapnp.c:1344: dereferencing pointer to incomplete type
isapnp.c:1346: `DEVICE_COUNT_RESOURCE' undeclared (first use in this function)
isapnp.c:1347: dereferencing pointer to incomplete type
isapnp.c:1348: dereferencing pointer to incomplete type
isapnp.c:1349: dereferencing pointer to incomplete type
isapnp.c:1350: dereferencing pointer to incomplete type
isapnp.c:1353: dereferencing pointer to incomplete type
isapnp.c:1357: dereferencing pointer to incomplete type
isapnp.c:1358: dereferencing pointer to incomplete type
isapnp.c:1359: dereferencing pointer to incomplete type
isapnp.c:1367: dereferencing pointer to incomplete type
isapnp.c:1368: dereferencing pointer to incomplete type
isapnp.c:1376: dereferencing pointer to incomplete type
isapnp.c:1377: dereferencing pointer to incomplete type
isapnp.c:1382: dereferencing pointer to incomplete type
isapnp.c:1383: dereferencing pointer to incomplete type
isapnp.c: At top level:
isapnp.c:1402: field `result' has incomplete type
isapnp.c: In function `isapnp_alternative_switch':
isapnp.c:1419: dereferencing pointer to incomplete type
isapnp.c:1443: dereferencing pointer to incomplete type
isapnp.c:1467: dereferencing pointer to incomplete type
isapnp.c:1491: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_check_port':
isapnp.c:1532: dereferencing pointer to incomplete type
isapnp.c:1533: dereferencing pointer to incomplete type
isapnp.c:1535: dereferencing pointer to incomplete type
isapnp.c:1536: dereferencing pointer to incomplete type
isapnp.c:1537: dereferencing pointer to incomplete type
isapnp.c:1550: dereferencing pointer to incomplete type
isapnp.c:1553: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_check_interrupt':
isapnp.c:1629: dereferencing pointer to incomplete type
isapnp.c:1630: dereferencing pointer to incomplete type
isapnp.c:1631: dereferencing pointer to incomplete type
isapnp.c:1632: dereferencing pointer to incomplete type
isapnp.c:1636: warning: implicit declaration of function `request_irq'
isapnp.c:1638: warning: implicit declaration of function `free_irq'
isapnp.c:1639: `DEVICE_COUNT_IRQ' undeclared (first use in this function)
isapnp.c: In function `isapnp_check_dma':
isapnp.c:1708: dereferencing pointer to incomplete type
isapnp.c:1709: dereferencing pointer to incomplete type
isapnp.c:1710: dereferencing pointer to incomplete type
isapnp.c:1710: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_check_mem':
isapnp.c:1788: dereferencing pointer to incomplete type
isapnp.c:1789: dereferencing pointer to incomplete type
isapnp.c:1791: dereferencing pointer to incomplete type
isapnp.c:1792: dereferencing pointer to incomplete type
isapnp.c:1793: dereferencing pointer to incomplete type
isapnp.c:1803: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_config_activate':
isapnp.c:1894: dereferencing pointer to incomplete type
isapnp.c:1898: sizeof applied to an incomplete type
isapnp.c:1901: dereferencing pointer to incomplete type
isapnp.c:1905: dereferencing pointer to incomplete type
isapnp.c:1909: dereferencing pointer to incomplete type
isapnp.c:1913: dereferencing pointer to incomplete type
isapnp.c:1941: dereferencing pointer to incomplete type
isapnp.c:1941: dereferencing pointer to incomplete type
isapnp.c:1942: dereferencing pointer to incomplete type
isapnp.c:1943: dereferencing pointer to incomplete type
isapnp.c:1944: dereferencing pointer to incomplete type
isapnp.c:1945: dereferencing pointer to incomplete type
isapnp.c:1946: dereferencing pointer to incomplete type
isapnp.c:1948: dereferencing pointer to incomplete type
isapnp.c:1950: dereferencing pointer to incomplete type
isapnp.c:1951: dereferencing pointer to incomplete type
isapnp.c:1952: dereferencing pointer to incomplete type
isapnp.c:1953: dereferencing pointer to incomplete type
isapnp.c:1958: dereferencing pointer to incomplete type
isapnp.c:1959: dereferencing pointer to incomplete type
isapnp.c:1960: dereferencing pointer to incomplete type
isapnp.c:1961: dereferencing pointer to incomplete type
isapnp.c:1962: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_config_deactivate':
isapnp.c:1969: dereferencing pointer to incomplete type
isapnp.c:1971: dereferencing pointer to incomplete type
isapnp.c:1971: dereferencing pointer to incomplete type
isapnp.c:1972: dereferencing pointer to incomplete type
isapnp.c:1973: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_free_device':
isapnp.c:2073: dereferencing pointer to incomplete type
isapnp.c:2074: dereferencing pointer to incomplete type
isapnp.c: In function `isapnp_free_all_resources':
isapnp.c:2111: dereferencing pointer to incomplete type
isapnp.c:2112: dereferencing pointer to incomplete type
isapnp.c: At top level:
isapnp.c:2118: storage class specified for parameter `isapnp_do_reserve_irq'
isapnp.c:2119: warning: return type defaults to `int'
isapnp.c:2119: conflicting types for `__initfunc'
isapnp.c:453: previous declaration of `__initfunc'
isapnp.c: In function `__initfunc':
isapnp.c:2122: `irq' undeclared (first use in this function)
isapnp.c: At top level:
isapnp.c:2166: parse error before "config_must_be_included_before_module"
isapnp.c:2166: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2166: warning: data definition has no type or storage class
isapnp.c:2167: parse error before "config_must_be_included_before_module"
isapnp.c:2167: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2167: warning: data definition has no type or storage class
isapnp.c:2168: parse error before "config_must_be_included_before_module"
isapnp.c:2168: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2168: warning: data definition has no type or storage class
isapnp.c:2169: parse error before "config_must_be_included_before_module"
isapnp.c:2169: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2169: warning: data definition has no type or storage class
isapnp.c:2170: parse error before "config_must_be_included_before_module"
isapnp.c:2170: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2170: warning: data definition has no type or storage class
isapnp.c:2171: parse error before "config_must_be_included_before_module"
isapnp.c:2171: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2171: warning: data definition has no type or storage class
isapnp.c:2172: parse error before "config_must_be_included_before_module"
isapnp.c:2172: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2172: warning: data definition has no type or storage class
isapnp.c:2173: parse error before "config_must_be_included_before_module"
isapnp.c:2173: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2173: warning: data definition has no type or storage class
isapnp.c:2174: parse error before "config_must_be_included_before_module"
isapnp.c:2174: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2174: warning: data definition has no type or storage class
isapnp.c:2175: parse error before "config_must_be_included_before_module"
isapnp.c:2175: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2175: warning: data definition has no type or storage class
isapnp.c:2176: parse error before "config_must_be_included_before_module"
isapnp.c:2176: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2176: warning: data definition has no type or storage class
isapnp.c:2177: parse error before "config_must_be_included_before_module"
isapnp.c:2177: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2177: warning: data definition has no type or storage class
isapnp.c:2178: parse error before "config_must_be_included_before_module"
isapnp.c:2178: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2178: warning: data definition has no type or storage class
isapnp.c:2179: parse error before "config_must_be_included_before_module"
isapnp.c:2179: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2179: warning: data definition has no type or storage class
isapnp.c:2180: parse error before "config_must_be_included_before_module"
isapnp.c:2180: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2180: warning: data definition has no type or storage class
isapnp.c:2181: parse error before "config_must_be_included_before_module"
isapnp.c:2181: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2181: warning: data definition has no type or storage class
isapnp.c:2182: parse error before "config_must_be_included_before_module"
isapnp.c:2182: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2182: warning: data definition has no type or storage class
isapnp.c:2183: parse error before "config_must_be_included_before_module"
isapnp.c:2183: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2183: warning: data definition has no type or storage class
isapnp.c:2184: parse error before "config_must_be_included_before_module"
isapnp.c:2184: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
isapnp.c:2184: warning: data definition has no type or storage class
isapnp.c:2187: warning: return type defaults to `int'
isapnp.c:2187: conflicting types for `__initfunc'
isapnp.c:2119: previous declaration of `__initfunc'
isapnp.c: In function `__initfunc':
isapnp.c:2255: dereferencing pointer to incomplete type
isapnp.c:2258: dereferencing pointer to incomplete type
isapnp.c:2259: dereferencing pointer to incomplete type
isapnp.c:2259: dereferencing pointer to incomplete type
isapnp.c:2262: dereferencing pointer to incomplete type
isapnp.c:2262: dereferencing pointer to incomplete type
isapnp.c:2263: dereferencing pointer to incomplete type
isapnp.c:2263: dereferencing pointer to incomplete type
isapnp.c: At top level:
isapnp.c:143: warning: `DECLARE_MUTEX' declared `static' but never defined
make[1]: *** [isapnp.o] Error 1
make[1]: Leaving directory `/home/gas2000/source/alsa-driver-0.5.8/support'
make: *** [compile] Error 1
[root@localhost alsa-driver-0.5.8]#
 楼主| 发表于 2005-6-25 09:47:22 | 显示全部楼层
高手帮帮忙啊
回复

使用道具 举报

发表于 2005-6-26 02:57:04 | 显示全部楼层
你用的alsa太老了,0.5.8阿
回复

使用道具 举报

发表于 2005-10-9 15:08:41 | 显示全部楼层
你没有装好所要的编译工具
用你的安装光盘再装一次开程式发库
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-23 23:29 , Processed in 0.037704 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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