板载声卡alsa驱动安装遇到困难

CPU/显卡/打印机/USB设备等硬件问题
回复
djy
帖子: 2
注册时间: 2006-11-09 14:15

板载声卡alsa驱动安装遇到困难

#1

帖子 djy » 2006-11-09 14:31

主板是昂达c51,声卡为板载声卡,在安装驱动时,遇到故障
1,下载alsa-driver-0.5.9和alsaconf-0.4.3b文件包
2分别将两个文件包解压到文件系统的temp文件夹中
3在终端中执行cd /home/djy/Desktop/alsa-driver-0.5.9
4执行./configue
5make install
djy@djy-desktop:~$ cd /tmp/alsa-driver-0.5.9
djy@djy-desktop:/tmp/alsa-driver-0.5.9$ ./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for linux/fs.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for directory with kernel source... /usr/src/linux
checking for kernel version... 0.0.0
checking for kernel module symbol versions... no
checking for PCI support in kernel... no
checking for SGI/MIPS (HAL2) architecture... no
checking for directory to store kernel modules... /lib/modules/0.0.0/misc
checking for debug level... none
checking for processor type... unknown
checking for SMP... no
checking for ISA PnP driver in kernel... no
checking for ISA PnP support... yes
checking for driver version... 0.5.9
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for which soundcards to compile driver for... all
creating ./config.status
creating Makefile.conf
creating snddevices
creating utils/alsa-driver.spec
creating cards.config
creating include/config.h
include/config.h is unchanged
creating include/config1.h
include/config1.h is unchanged
creating include/version.h
include/version.h is unchanged
djy@djy-desktop:/tmp/alsa-driver-0.5.9$ make install
make[1]: Entering directory `/tmp/alsa-driver-0.5.9/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
isapnp.c:27:26: error: linux/config.h: No such file or directory
isapnp.c:45:26: error: linux/module.h: No such file or directory
isapnp.c:48:26: error: linux/ioport.h: No such file or directory
isapnp.c:49:26: error: linux/string.h: No such file or directory
isapnp.c:50:26: error: linux/malloc.h: No such file or directory
isapnp.c:51:25: error: linux/delay.h: No such file or directory
isapnp.c:52:27: error: linux/proc_fs.h: No such file or directory
isapnp.c:54:21: error: asm/dma.h: No such file or directory
In file included from /usr/include/asm/irq.h:7,
from isapnp.c:55:
/usr/include/asm-i386/irq.h:15:25: error: irq_vectors.h: No such file or directory
/usr/include/asm-i386/irq.h:16:29: error: asm/thread_info.h: No such file or directory
isapnp.c:57:27: error: linux/vmalloc.h: No such file or directory
isapnp.c:59:24: error: linux/init.h: No such file or directory
isapnp.c:60:25: error: asm/uaccess.h: No such file or directory
In file included from isapnp.c:64:
isapnp.h:329: warning: ‘struct isapnp_card_id’ declared inside parameter list
isapnp.h:329: warning: its scope is only this definition or declaration, which is probably not what you want
isapnp.h:333: warning: ‘struct resource’ declared inside parameter list
isapnp.c:75: error: ‘NULL’ undeclared here (not in a function)
isapnp.c:89: error: expected declaration specifiers or ‘...’ before string constant
isapnp.c:89: warning: data definition has no type or storage class
isapnp.c:89: warning: type defaults to ‘int’ in declaration of ‘MODULE_AUTHOR’
isapnp.c:89: warning: function declaration isn’t a prototype
isapnp.c:90: error: expected declaration specifiers or ‘...’ before string constant
isapnp.c:90: warning: data definition has no type or storage class
isapnp.c:90: warning: type defaults to ‘int’ in declaration of ‘MODULE_DESCRIPTION’
isapnp.c:90: warning: function declaration isn’t a prototype
isapnp.c:92: error: expected ‘)’ before string constant
isapnp.c:93: error: expected ‘)’ before string constant
isapnp.c:94: error: expected ‘)’ before string constant
isapnp.c:95: error: expected ‘)’ before string constant
isapnp.c:96: error: expected ‘)’ before string constant
isapnp.c:97: error: expected ‘)’ before string constant
isapnp.c:98: error: expected ‘)’ before string constant
isapnp.c:99: error: expected ‘)’ before string constant
isapnp.c:100: error: expected ‘)’ before string constant
isapnp.c:101: error: expected ‘)’ before string constant
isapnp.c:102: error: expected ‘)’ before string constant
isapnp.c:103: error: expected ‘)’ before string constant
isapnp.c:104: error: expected ‘)’ before string constant
isapnp.c:105: error: expected ‘)’ before string constant
isapnp.c:106: error: expected ‘)’ before string constant
isapnp.c:107: error: expected ‘)’ before string constant
isapnp.c:108: error: expected ‘)’ before string constant
isapnp.c:109: error: expected ‘)’ before string constant
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: error: ‘GFP_KERNEL’ undeclared (first use in this function)
isapnp.c:222: error: (Each undeclared identifier is reported only once
isapnp.c:222: error: for each function it appears in.)
isapnp.c:222: warning: assignment makes pointer from integer without a cast
isapnp.c:225: warning: implicit declaration of function ‘memset’
isapnp.c:225: warning: incompatible implicit declaration of built-in function ‘memset’
isapnp.c: In function ‘isapnp_key’:
isapnp.c:234: warning: implicit declaration of function ‘mdelay’
isapnp.c: At top level:
isapnp.c:276: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_peek’
isapnp.c:301: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_next_rdp’
isapnp.c:328: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_isolate_rdp_select’
isapnp.c:357: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_isolate’
isapnp.c:423: error: storage class specified for parameter ‘isapnp_read_tag’
isapnp.c:424: warning: return type defaults to ‘int’
isapnp.c: In function ‘__initfunc’:
isapnp.c:427: warning: implicit declaration of function ‘isapnp_peek’
isapnp.c:431: error: ‘type’ undeclared (first use in this function)
isapnp.c:433: error: ‘size’ undeclared (first use in this function)
isapnp.c: At top level:
isapnp.c:452: error: storage class specified for parameter ‘isapnp_skip_bytes’
isapnp.c:453: warning: return type defaults to ‘int’
isapnp.c:453: error: conflicting types for ‘__initfunc’
isapnp.c:424: error: previous definition of ‘__initfunc’ was here
isapnp.c: In function ‘__initfunc’:
isapnp.c:454: error: ‘count’ undeclared (first use in this function)
isapnp.c: At top level:
isapnp.c:461: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_parse_device’
isapnp.c:487: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_build_resources’
isapnp.c:528: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_add_irq_resource’
isapnp.c:565: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_add_dma_resource’
isapnp.c:599: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_add_port_resource’
isapnp.c:636: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_add_fixed_port_resource’
isapnp.c:672: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_add_mem_resource’
isapnp.c:709: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_add_mem32_resource’
isapnp.c:742: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_add_fixed_mem32_resource’
isapnp.c:775: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_create_device’
isapnp.c:919: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_parse_resource_map’
isapnp.c:976: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_checksum’
isapnp.c:997: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘isapnp_build_device_list’
isapnp.c: In function ‘isapnp_cfg_begin’:
isapnp.c:1055: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function)
isapnp.c:1056: warning: implicit declaration of function ‘down’
isapnp.c:1056: error: ‘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: error: ‘isapnp_cfg_mutex’ undeclared (first use in this function)
isapnp.c:1075: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
isapnp.c: In function ‘isapnp_find_port’:
isapnp.c:1090: error: dereferencing pointer to incomplete type
isapnp.c: In function ‘isapnp_find_irq’:
isapnp.c:1108: error: dereferencing pointer to incomplete type
isapnp.c: In function ‘isapnp_find_dma’:
isapnp.c:1134: error: dereferencing pointer to incomplete type
isapnp.c: In function ‘isapnp_find_mem’:
isapnp.c:1151: error: dereferencing pointer to incomplete type
isapnp.c: In function ‘isapnp_find_mem32’:
isapnp.c:1168: error: dereferencing pointer to incomplete type
isapnp.c: In function ‘isapnp_find_card’:
isapnp.c:1191: error: dereferencing pointer to incomplete type
isapnp.c:1193: error: dereferencing pointer to incomplete type
isapnp.c:1194: error: dereferencing pointer to incomplete type
isapnp.c:1194: error: dereferencing pointer to incomplete type
isapnp.c: In function ‘isapnp_find_dev’:
isapnp.c:1212: error: dereferencing pointer to incomplete type
isapnp.c:1214: error: dereferencing pointer to incomplete type
isapnp.c:1215: error: dereferencing pointer to incomplete type
isapnp.c:1215: error: dereferencing pointer to incomplete type
isapnp.c:1217: error: ‘DEVICE_COUNT_COMPATIBLE’ undeclared (first use in this function)
isapnp.c:1218: error: dereferencing pointer to incomplete type
isapnp.c:1219: error: dereferencing pointer to incomplete type
isapnp.c:1224: error: dereferencing pointer to incomplete type
isapnp.c:1226: error: dereferencing pointer to incomplete type
isapnp.c:1228: error: dereferencing pointer to incomplete type
isapnp.c:1230: error: dereferencing pointer to incomplete type
isapnp.c:1231: error: dereferencing pointer to incomplete type
isapnp.c:1231: error: dereferencing pointer to incomplete type
isapnp.c:1234: error: dereferencing pointer to incomplete type
isapnp.c:1235: error: dereferencing pointer to incomplete type
isapnp.c: In function ‘isapnp_match_card’:
isapnp.c:1247: error: dereferencing pointer to incomplete type
isapnp.c:1247: error: dereferencing pointer to incomplete type
isapnp.c:1248: error: dereferencing pointer to incomplete type
isapnp.c:1248: error: ‘ISAPNP_ANY_ID’ undeclared (first use in this function)
isapnp.c:1248: error: dereferencing pointer to incomplete type
isapnp.c:1248: error: dereferencing pointer to incomplete type
isapnp.c:1249: error: dereferencing pointer to incomplete type
isapnp.c:1249: error: dereferencing pointer to incomplete type
isapnp.c:1249: error: dereferencing pointer to incomplete type
isapnp.c:1250: error: ‘ISAPNP_CARD_DEVS’ undeclared (first use in this function)
isapnp.c:1251: error: dereferencing pointer to incomplete type
isapnp.c:1252: error: dereferencing pointer to incomplete type
isapnp.c:1255: error: dereferencing pointer to incomplete type
isapnp.c:1256: error: dereferencing pointer to incomplete type
isapnp.c:1263: error: increment of pointer to unknown structure
isapnp.c:1263: error: arithmetic on pointer to an incomplete type
isapnp.c: At top level:
isapnp.c:1271: error: conflicting types for ‘isapnp_probe_cards’
isapnp.h:329: error: previous declaration of ‘isapnp_probe_cards’ was here
isapnp.c: In function ‘isapnp_probe_cards’:
isapnp.c:1278: error: dereferencing pointer to incomplete type
isapnp.c: In function ‘isapnp_dma_resource_flags’:
isapnp.c:1288: error: ‘IORESOURCE_DMA’ undeclared (first use in this function)
isapnp.c:1288: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c: In function ‘isapnp_mem_resource_flags’:
isapnp.c:1295: error: ‘IORESOURCE_MEM’ undeclared (first use in this function)
isapnp.c:1295: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c:1296: error: ‘IORESOURCE_MEM_WRITEABLE’ undeclared (first use in this function)
isapnp.c:1297: error: ‘IORESOURCE_READONLY’ undeclared (first use in this function)
isapnp.c:1298: error: ‘IORESOURCE_MEM_CACHEABLE’ undeclared (first use in this function)
isapnp.c:1299: error: ‘IORESOURCE_CACHEABLE’ undeclared (first use in this function)
isapnp.c:1300: error: ‘IORESOURCE_MEM_RANGELENGTH’ undeclared (first use in this function)
isapnp.c:1301: error: ‘IORESOURCE_RANGELENGTH’ undeclared (first use in this function)
isapnp.c:1302: error: ‘IORESOURCE_MEM_SHADOWABLE’ undeclared (first use in this function)
isapnp.c:1303: error: ‘IORESOURCE_SHADOWABLE’ undeclared (first use in this function)
isapnp.c: In function ‘isapnp_irq_resource_flags’:
isapnp.c:1309: error: ‘IORESOURCE_IRQ’ undeclared (first use in this function)
isapnp.c:1309: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c: In function ‘isapnp_port_resource_flags’:
isapnp.c:1314: error: ‘IORESOURCE_IO’ undeclared (first use in this function)
isapnp.c:1314: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c: In function ‘isapnp_config_prepare’:
isapnp.c:1332: error: dereferencing pointer to incomplete type
isapnp.c:1332: error: dereferencing pointer to incomplete type
isapnp.c:1334: error: ‘DEVICE_COUNT_IRQ’ undeclared (first use in this function)
isapnp.c:1335: error: dereferencing pointer to incomplete type
isapnp.c:1336: error: dereferencing pointer to incomplete type
isapnp.c:1337: error: dereferencing pointer to incomplete type
isapnp.c:1338: error: dereferencing pointer to incomplete type
isapnp.c:1340: error: ‘DEVICE_COUNT_DMA’ undeclared (first use in this function)
isapnp.c:1341: error: dereferencing pointer to incomplete type
isapnp.c:1342: error: dereferencing pointer to incomplete type
isapnp.c:1343: error: dereferencing pointer to incomplete type
isapnp.c:1344: error: dereferencing pointer to incomplete type
isapnp.c:1346: error: ‘DEVICE_COUNT_RESOURCE’ undeclared (first use in this function)
isapnp.c:1347: error: dereferencing pointer to incomplete type
isapnp.c:1348: error: dereferencing pointer to incomplete type
isapnp.c:1349: error: dereferencing pointer to incomplete type
isapnp.c:1350: error: dereferencing pointer to incomplete type
isapnp.c:1353: error: dereferencing pointer to incomplete type
isapnp.c:1357: error: dereferencing pointer to incomplete type
isapnp.c:1358: error: dereferencing pointer to incomplete type
isapnp.c:1359: error: dereferencing pointer to incomplete type
isapnp.c:1367: error: dereferencing pointer to incomplete type
isapnp.c:1368: error: dereferencing pointer to incomplete type
isapnp.c:1376: error: dereferencing pointer to incomplete type
isapnp.c:1377: error: dereferencing pointer to incomplete type
isapnp.c:1382: error: dereferencing pointer to incomplete type
isapnp.c:1383: error: dereferencing pointer to incomplete type
isapnp.c: At top level:
isapnp.c:1402: error: field ‘result’ has incomplete type
isapnp.c: In function ‘isapnp_alternative_switch’:
isapnp.c:1419: error: dereferencing pointer to incomplete type
isapnp.c:1419: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c:1443: error: dereferencing pointer to incomplete type
isapnp.c:1467: error: dereferencing pointer to incomplete type
isapnp.c:1491: error: dereferencing pointer to incomplete type
isapnp.c: In function ‘isapnp_check_port’:
isapnp.c:1522: warning: implicit declaration of function ‘check_region’
isapnp.c:1532: error: dereferencing pointer to incomplete type
isapnp.c:1533: error: dereferencing pointer to incomplete type
isapnp.c:1535: error: dereferencing pointer to incomplete type
isapnp.c:1536: error: dereferencing pointer to incomplete type
isapnp.c:1537: error: dereferencing pointer to incomplete type
isapnp.c:1550: error: dereferencing pointer to incomplete type
isapnp.c:1553: error: dereferencing pointer to incomplete type
isapnp.c:1554: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c: In function ‘isapnp_valid_port’:
isapnp.c:1584: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c: At top level:
isapnp.c:1614: warning: ‘struct pt_regs’ declared inside parameter list
isapnp.c: In function ‘isapnp_check_interrupt’:
isapnp.c:1629: error: dereferencing pointer to incomplete type
isapnp.c:1630: error: dereferencing pointer to incomplete type
isapnp.c:1631: error: dereferencing pointer to incomplete type
isapnp.c:1632: error: dereferencing pointer to incomplete type
isapnp.c:1636: warning: implicit declaration of function ‘request_irq’
isapnp.c:1636: error: ‘SA_INTERRUPT’ undeclared (first use in this function)
isapnp.c:1638: warning: implicit declaration of function ‘free_irq’
isapnp.c:1639: error: ‘DEVICE_COUNT_IRQ’ undeclared (first use in this function)
isapnp.c:1644: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c: In function ‘isapnp_valid_irq’:
isapnp.c:1664: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c: In function ‘isapnp_check_dma’:
isapnp.c:1708: error: dereferencing pointer to incomplete type
isapnp.c:1709: error: dereferencing pointer to incomplete type
isapnp.c:1710: error: dereferencing pointer to incomplete type
isapnp.c:1710: error: dereferencing pointer to incomplete type
isapnp.c:1714: warning: implicit declaration of function ‘request_dma’
isapnp.c:1716: warning: implicit declaration of function ‘free_dma’
isapnp.c:1721: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c: In function ‘isapnp_valid_dma’:
isapnp.c:1737: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c: In function ‘isapnp_check_mem’:
isapnp.c:1784: warning: implicit declaration of function ‘__check_region’
isapnp.c:1784: error: ‘iomem_resource’ undeclared (first use in this function)
isapnp.c:1788: error: dereferencing pointer to incomplete type
isapnp.c:1789: error: dereferencing pointer to incomplete type
isapnp.c:1791: error: dereferencing pointer to incomplete type
isapnp.c:1792: error: dereferencing pointer to incomplete type
isapnp.c:1793: error: dereferencing pointer to incomplete type
isapnp.c:1803: error: dereferencing pointer to incomplete type
isapnp.c:1809: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c: In function ‘isapnp_valid_mem’:
isapnp.c:1838: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c: In function ‘isapnp_check_valid’:
isapnp.c:1873: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c: In function ‘isapnp_config_activate’:
isapnp.c:1894: error: dereferencing pointer to incomplete type
isapnp.c:1896: warning: incompatible implicit declaration of built-in function ‘memset’
isapnp.c:1898: warning: implicit declaration of function ‘memcpy’
isapnp.c:1898: warning: incompatible implicit declaration of built-in function ‘memcpy’
isapnp.c:1898: error: invalid application of ‘sizeof’ to incomplete type ‘struct pci_dev’
isapnp.c:1901: error: dereferencing pointer to incomplete type
isapnp.c:1901: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c:1905: error: dereferencing pointer to incomplete type
isapnp.c:1909: error: dereferencing pointer to incomplete type
isapnp.c:1913: error: dereferencing pointer to incomplete type
isapnp.c:1941: error: dereferencing pointer to incomplete type
isapnp.c:1941: error: dereferencing pointer to incomplete type
isapnp.c:1942: error: dereferencing pointer to incomplete type
isapnp.c:1943: error: dereferencing pointer to incomplete type
isapnp.c:1944: error: dereferencing pointer to incomplete type
isapnp.c:1945: error: dereferencing pointer to incomplete type
isapnp.c:1946: error: dereferencing pointer to incomplete type
isapnp.c:1948: error: dereferencing pointer to incomplete type
isapnp.c:1950: error: dereferencing pointer to incomplete type
isapnp.c:1951: error: dereferencing pointer to incomplete type
isapnp.c:1952: error: dereferencing pointer to incomplete type
isapnp.c:1953: error: dereferencing pointer to incomplete type
isapnp.c:1958: error: dereferencing pointer to incomplete type
isapnp.c:1959: error: dereferencing pointer to incomplete type
isapnp.c:1960: error: dereferencing pointer to incomplete type
isapnp.c:1961: error: dereferencing pointer to incomplete type
isapnp.c:1962: error: dereferencing pointer to incomplete type
isapnp.c: In function ‘isapnp_config_deactivate’:
isapnp.c:1969: error: dereferencing pointer to incomplete type
isapnp.c:1971: error: dereferencing pointer to incomplete type
isapnp.c:1971: error: dereferencing pointer to incomplete type
isapnp.c:1972: error: dereferencing pointer to incomplete type
isapnp.c:1973: error: dereferencing pointer to incomplete type
isapnp.c: At top level:
isapnp.c:1981: error: conflicting types for ‘isapnp_resource_change’
isapnp.h:333: error: previous declaration of ‘isapnp_resource_change’ was here
isapnp.c: In function ‘isapnp_resource_change’:
isapnp.c:1984: error: dereferencing pointer to incomplete type
isapnp.c:1984: error: ‘IORESOURCE_AUTO’ undeclared (first use in this function)
isapnp.c:1985: error: dereferencing pointer to incomplete type
isapnp.c:1986: error: dereferencing pointer to incomplete type
isapnp.c: In function ‘isapnp_free_port’:
isapnp.c:2001: warning: implicit declaration of function ‘kfree’
isapnp.c: In function ‘isapnp_free_device’:
isapnp.c:2073: error: dereferencing pointer to incomplete type
isapnp.c:2074: error: dereferencing pointer to incomplete type
isapnp.c: In function ‘isapnp_free_all_resources’:
isapnp.c:2099: warning: implicit declaration of function ‘release_resource’
isapnp.c:2111: error: dereferencing pointer to incomplete type
isapnp.c:2112: error: dereferencing pointer to incomplete type
isapnp.c: At top level:
isapnp.c:2118: error: storage class specified for parameter ‘isapnp_do_reserve_irq’
isapnp.c:2119: warning: return type defaults to ‘int’
isapnp.c:2119: error: conflicting types for ‘__initfunc’
isapnp.c:424: error: previous definition of ‘__initfunc’ was here
isapnp.c: In function ‘__initfunc’:
isapnp.c:2122: error: ‘irq’ undeclared (first use in this function)
isapnp.c: At top level:
isapnp.c:2166: warning: data definition has no type or storage class
isapnp.c:2166: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2166: warning: parameter names (without types) in function declaration
isapnp.c:2167: warning: data definition has no type or storage class
isapnp.c:2167: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2167: warning: parameter names (without types) in function declaration
isapnp.c:2168: warning: data definition has no type or storage class
isapnp.c:2168: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2168: warning: parameter names (without types) in function declaration
isapnp.c:2169: warning: data definition has no type or storage class
isapnp.c:2169: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2169: warning: parameter names (without types) in function declaration
isapnp.c:2170: warning: data definition has no type or storage class
isapnp.c:2170: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2170: warning: parameter names (without types) in function declaration
isapnp.c:2171: warning: data definition has no type or storage class
isapnp.c:2171: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2171: warning: parameter names (without types) in function declaration
isapnp.c:2172: warning: data definition has no type or storage class
isapnp.c:2172: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2172: warning: parameter names (without types) in function declaration
isapnp.c:2173: warning: data definition has no type or storage class
isapnp.c:2173: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2173: warning: parameter names (without types) in function declaration
isapnp.c:2174: warning: data definition has no type or storage class
isapnp.c:2174: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2174: warning: parameter names (without types) in function declaration
isapnp.c:2175: warning: data definition has no type or storage class
isapnp.c:2175: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2175: warning: parameter names (without types) in function declaration
isapnp.c:2176: warning: data definition has no type or storage class
isapnp.c:2176: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2176: warning: parameter names (without types) in function declaration
isapnp.c:2177: warning: data definition has no type or storage class
isapnp.c:2177: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2177: warning: parameter names (without types) in function declaration
isapnp.c:2178: warning: data definition has no type or storage class
isapnp.c:2178: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2178: warning: parameter names (without types) in function declaration
isapnp.c:2179: warning: data definition has no type or storage class
isapnp.c:2179: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2179: warning: parameter names (without types) in function declaration
isapnp.c:2180: warning: data definition has no type or storage class
isapnp.c:2180: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2180: warning: parameter names (without types) in function declaration
isapnp.c:2181: warning: data definition has no type or storage class
isapnp.c:2181: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2181: warning: parameter names (without types) in function declaration
isapnp.c:2182: warning: data definition has no type or storage class
isapnp.c:2182: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2182: warning: parameter names (without types) in function declaration
isapnp.c:2183: warning: data definition has no type or storage class
isapnp.c:2183: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2183: warning: parameter names (without types) in function declaration
isapnp.c:2184: warning: data definition has no type or storage class
isapnp.c:2184: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
isapnp.c:2184: warning: parameter names (without types) in function declaration
isapnp.c:2187: warning: return type defaults to ‘int’
isapnp.c:2187: error: conflicting types for ‘__initfunc’
isapnp.c:424: error: previous definition of ‘__initfunc’ was here
isapnp.c: In function ‘__initfunc’:
isapnp.c:2194: warning: implicit declaration of function ‘printk’
isapnp.c:2209: warning: implicit declaration of function ‘request_region’
isapnp.c:2209: warning: assignment makes pointer from integer without a cast
isapnp.c:2219: warning: assignment makes pointer from integer without a cast
isapnp.c:2239: warning: implicit declaration of function ‘isapnp_isolate’
isapnp.c:2248: warning: assignment makes pointer from integer without a cast
isapnp.c:2253: warning: implicit declaration of function ‘isapnp_build_device_list’
isapnp.c:2255: error: dereferencing pointer to incomplete type
isapnp.c:2258: error: dereferencing pointer to incomplete type
isapnp.c:2259: error: dereferencing pointer to incomplete type
isapnp.c:2259: error: dereferencing pointer to incomplete type
isapnp.c:2262: error: dereferencing pointer to incomplete type
isapnp.c:2262: error: dereferencing pointer to incomplete type
isapnp.c:2263: error: dereferencing pointer to incomplete type
isapnp.c:2263: error: dereferencing pointer to incomplete type
make[1]: *** [isapnp.o] 错误 1
make[1]: Leaving directory `/tmp/alsa-driver-0.5.9/support'
make: *** [compile] 错误 1
djy@djy-desktop:/tmp/alsa-driver-0.5.9$
在这步出现问题,请高手指点,多谢了
回复