我要上网~~~~~~~~
XSEEDX
|
11#
发表于 2004-01-26 21:54
|
XSEEDX
|
11#
XSEEDX 发表于 2004-01-26 21:54
是
ftp://ftp.smlink.com/linux/unsupported/snapshots/slmodem-2.9.5-20Jan2004.tar.gz 还是 ftp://ftp.smlink.com/linux/unsupported/slmodem-2.9.5.tar.gz |
Ivn
|
12#
Ivn 发表于 2004-01-26 21:57
把两个都下来好了,
编译的时候需要系统安装有内核源代码. |
XSEEDX
|
13#
XSEEDX 发表于 2004-01-26 22:30
[root@SEED root]# dir
Desktop install.log.syslog slmodem-2.9.5.tar.gz gaim-0.64 minicom.log [root@SEED root]# gzip -dc slmodem-2.9.X.tar.gz | tar xf - gzip: slmodem-2.9.X.tar.gz: No such file or directory [root@SEED root]# gzip -dc slmodem-2.9.5.tar.gz | tar xf - [root@SEED root]# cd slmodem-2.9.2 bash: cd: slmodem-2.9.2: ûÓÐÄǸöÎļþ»òĿ¼ [root@SEED root]# [root@SEED root]# cd slmodem-2.9.5 [root@SEED slmodem-2.9.5]# make KERNEL_DIR=/include //*这里没复制完! /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:281: parse error before "pte" /usr/include/asm/pgtable.h: In function `pte_write': /usr/include/asm/pgtable.h:281: `pte' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:283: parse error before "pte_rdprotect" /usr/include/asm/pgtable.h:283: parse error before "pte" /usr/include/asm/pgtable.h: In function `pte_rdprotect': /usr/include/asm/pgtable.h:283: `pte' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:284: parse error before "pte_exprotect" /usr/include/asm/pgtable.h:284: parse error before "pte" /usr/include/asm/pgtable.h: In function `pte_exprotect': /usr/include/asm/pgtable.h:284: `pte' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:285: parse error before "pte_mkclean" /usr/include/asm/pgtable.h:285: parse error before "pte" /usr/include/asm/pgtable.h: In function `pte_mkclean': /usr/include/asm/pgtable.h:285: `pte' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:286: parse error before "pte_mkold" /usr/include/asm/pgtable.h:286: parse error before "pte" /usr/include/asm/pgtable.h: In function `pte_mkold': /usr/include/asm/pgtable.h:286: `pte' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:287: parse error before "pte_wrprotect" /usr/include/asm/pgtable.h:287: parse error before "pte" /usr/include/asm/pgtable.h: In function `pte_wrprotect': /usr/include/asm/pgtable.h:287: `pte' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:288: parse error before "pte_mkread" /usr/include/asm/pgtable.h:288: parse error before "pte" /usr/include/asm/pgtable.h: In function `pte_mkread': /usr/include/asm/pgtable.h:288: `pte' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:289: parse error before "pte_mkexec" /usr/include/asm/pgtable.h:289: parse error before "pte" /usr/include/asm/pgtable.h: In function `pte_mkexec': /usr/include/asm/pgtable.h:289: `pte' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:290: parse error before "pte_mkdirty" /usr/include/asm/pgtable.h:290: parse error before "pte" /usr/include/asm/pgtable.h: In function `pte_mkdirty': /usr/include/asm/pgtable.h:290: `pte' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:291: parse error before "pte_mkyoung" /usr/include/asm/pgtable.h:291: parse error before "pte" /usr/include/asm/pgtable.h: In function `pte_mkyoung': /usr/include/asm/pgtable.h:291: `pte' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:292: parse error before "pte_mkwrite" /usr/include/asm/pgtable.h:292: parse error before "pte" /usr/include/asm/pgtable.h: In function `pte_mkwrite': /usr/include/asm/pgtable.h:292: `pte' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:294: parse error before '*' token /usr/include/asm/pgtable.h: In function `ptep_test_and_clear_dirty': /usr/include/asm/pgtable.h:294: `ptep' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:295: parse error before '*' token /usr/include/asm/pgtable.h: In function `ptep_test_and_clear_young': /usr/include/asm/pgtable.h:295: `ptep' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:296: parse error before '*' token /usr/include/asm/pgtable.h: In function `ptep_set_wrprotect': /usr/include/asm/pgtable.h:296: `ptep' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:297: parse error before '*' token /usr/include/asm/pgtable.h: In function `ptep_mkdirty': /usr/include/asm/pgtable.h:297: `ptep' undeclared (first use in this function) /usr/include/asm/pgtable.h: At top level: /usr/include/asm/pgtable.h:309: parse error before "pte_modify" /usr/include/asm/pgtable.h:309: parse error before "pte" /usr/include/asm/pgtable.h: In function `pte_modify': /usr/include/asm/pgtable.h:311: `pte' undeclared (first use in this function) /usr/include/asm/pgtable.h:311: `PTE_MASK' undeclared (first use in this function) /usr/include/asm/pgtable.h:312: `newprot' undeclared (first use in this function) In file included from /usr/include/linux/highmem.h:5, from /usr/include/linux/pagemap.h:16, from /usr/include/linux/locks.h:8, from /usr/include/linux/devfs_fs_kernel.h:6, from amrmo_init.c:56: /usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: ûÓÐÄǸöÎļþ»òĿ¼ In file included from /usr/include/linux/highmem.h:5, from /usr/include/linux/pagemap.h:16, from /usr/include/linux/locks.h:8, from /usr/include/linux/devfs_fs_kernel.h:6, from amrmo_init.c:56: /usr/include/asm/pgalloc.h: At top level: /usr/include/asm/pgalloc.h:57: parse error before '*' token /usr/include/asm/pgalloc.h: In function `get_pgd_slow': /usr/include/asm/pgalloc.h:59: `pgd_t' undeclared (first use in this function) /usr/include/asm/pgalloc.h:59: `pgd' undeclared (first use in this function) /usr/include/asm/pgalloc.h:59: parse error before ')' token /usr/include/asm/pgalloc.h:62: `PAGE_OFFSET' undeclared (first use in this function) /usr/include/asm/pgalloc.h: At top level: /usr/include/asm/pgalloc.h:70: parse error before '*' token /usr/include/asm/pgalloc.h: In function `get_pgd_fast': /usr/include/asm/pgalloc.h:80: `pgd_t' undeclared (first use in this function) /usr/include/asm/pgalloc.h:80: parse error before ')' token /usr/include/asm/pgalloc.h: At top level: /usr/include/asm/pgalloc.h:83: parse error before '*' token /usr/include/asm/pgalloc.h: In function `free_pgd_fast': /usr/include/asm/pgalloc.h:85: `pgd' undeclared (first use in this function) /usr/include/asm/pgalloc.h: At top level: /usr/include/asm/pgalloc.h:90: parse error before '*' token /usr/include/asm/pgalloc.h: In function `free_pgd_slow': /usr/include/asm/pgalloc.h:99: `pgd' undeclared (first use in this function) /usr/include/asm/pgalloc.h: At top level: /usr/include/asm/pgalloc.h:103: parse error before '*' token /usr/include/asm/pgalloc.h: In function `pte_alloc_one': /usr/include/asm/pgalloc.h:105: `pte_t' undeclared (first use in this function) /usr/include/asm/pgalloc.h:105: `pte' undeclared (first use in this function) /usr/include/asm/pgalloc.h:109: parse error before ')' token /usr/include/asm/pgalloc.h: At top level: /usr/include/asm/pgalloc.h:118: parse error before '*' token /usr/include/asm/pgalloc.h: In function `pte_alloc_one_fast': /usr/include/asm/pgalloc.h:127: `pte_t' undeclared (first use in this function) /usr/include/asm/pgalloc.h:127: parse error before ')' token /usr/include/asm/pgalloc.h: At top level: /usr/include/asm/pgalloc.h:130: parse error before '*' token /usr/include/asm/pgalloc.h: In function `pte_free_fast': /usr/include/asm/pgalloc.h:132: `pte' undeclared (first use in this function) /usr/include/asm/pgalloc.h: At top level: /usr/include/asm/pgalloc.h:137: parse error before '*' token /usr/include/asm/pgalloc.h: In function `pte_free_slow': /usr/include/asm/pgalloc.h:139: `pte' undeclared (first use in this function) /usr/include/asm/pgalloc.h: In function `flush_tlb_mm': /usr/include/asm/pgalloc.h:183: `current' undeclared (first use in this function) /usr/include/asm/pgalloc.h: In function `flush_tlb_page': /usr/include/asm/pgalloc.h:190: dereferencing pointer to incomplete type /usr/include/asm/pgalloc.h:190: `current' undeclared (first use in this function) /usr/include/asm/pgalloc.h: In function `flush_tlb_range': /usr/include/asm/pgalloc.h:197: `current' undeclared (first use in this function) In file included from /usr/include/linux/pagemap.h:16, from /usr/include/linux/locks.h:8, from /usr/include/linux/devfs_fs_kernel.h:6, from amrmo_init.c:56: /usr/include/linux/highmem.h: In function `kmap': /usr/include/linux/highmem.h:68: dereferencing pointer to incomplete type In file included from /usr/include/linux/locks.h:8, from /usr/include/linux/devfs_fs_kernel.h:6, from amrmo_init.c:56: /usr/include/linux/pagemap.h: In function `page_cache_alloc': /usr/include/linux/pagemap.h:37: dereferencing pointer to incomplete type /usr/include/linux/pagemap.h: At top level: /usr/include/linux/pagemap.h:46: parse error before "spinlock_t" /usr/include/linux/pagemap.h:48: parse error before '}' token /usr/include/linux/pagemap.h:54: parse error before "page_cache_size" /usr/include/linux/pagemap.h: In function `_page_hashfn': /usr/include/linux/pagemap.h:72: sizeof applied to an incomplete type /usr/include/linux/pagemap.h:72: sizeof applied to an incomplete type /usr/include/linux/pagemap.h:72: sizeof applied to an incomplete type /usr/include/linux/pagemap.h:72: sizeof applied to an incomplete type In file included from /usr/include/linux/devfs_fs_kernel.h:6, from amrmo_init.c:56: /usr/include/linux/locks.h: In function `wait_on_buffer': /usr/include/linux/locks.h:19: `BH_Lock' undeclared (first use in this function) /usr/include/linux/locks.h:19: dereferencing pointer to incomplete type /usr/include/linux/locks.h:19: dereferencing pointer to incomplete type /usr/include/linux/locks.h: In function `lock_buffer': /usr/include/linux/locks.h:25: `BH_Lock' undeclared (first use in this function) /usr/include/linux/locks.h:25: dereferencing pointer to incomplete type /usr/include/linux/locks.h: In function `lock_super': /usr/include/linux/locks.h:39: dereferencing pointer to incomplete type /usr/include/linux/locks.h: In function `unlock_super': /usr/include/linux/locks.h:44: dereferencing pointer to incomplete type amrmo_init.c: At top level: amrmo_init.c:160: parse error before "spinlock_t" amrmo_init.c:160: warning: no semicolon at end of struct or union amrmo_init.c:161: warning: type defaults to `int' in declaration of `wait' amrmo_init.c:161: warning: data definition has no type or storage class amrmo_init.c:164: parse error before '}' token amrmo_init.c:203: elements of array `amrmo_pci_tbl' have incomplete type amrmo_init.c:204: warning: excess elements in struct initializer amrmo_init.c:204: warning: (near initialization for `amrmo_pci_tbl[0]') amrmo_init.c:204: warning: excess elements in struct initializer amrmo_init.c:204: warning: (near initialization for `amrmo_pci_tbl[0]') amrmo_init.c:205: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:205: warning: excess elements in struct initializer amrmo_init.c:205: warning: (near initialization for `amrmo_pci_tbl[0]') amrmo_init.c:205: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:205: warning: excess elements in struct initializer amrmo_init.c:205: warning: (near initialization for `amrmo_pci_tbl[0]') amrmo_init.c:205: warning: excess elements in struct initializer amrmo_init.c:205: warning: (near initialization for `amrmo_pci_tbl[0]') amrmo_init.c:205: warning: excess elements in struct initializer amrmo_init.c:205: warning: (near initialization for `amrmo_pci_tbl[0]') amrmo_init.c:205: warning: excess elements in struct initializer amrmo_init.c:205: warning: (near initialization for `amrmo_pci_tbl[0]') amrmo_init.c:206: warning: excess elements in struct initializer amrmo_init.c:206: warning: (near initialization for `amrmo_pci_tbl[1]') amrmo_init.c:206: warning: excess elements in struct initializer amrmo_init.c:206: warning: (near initialization for `amrmo_pci_tbl[1]') amrmo_init.c:207: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:207: warning: excess elements in struct initializer amrmo_init.c:207: warning: (near initialization for `amrmo_pci_tbl[1]') amrmo_init.c:207: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:207: warning: excess elements in struct initializer amrmo_init.c:207: warning: (near initialization for `amrmo_pci_tbl[1]') amrmo_init.c:207: warning: excess elements in struct initializer amrmo_init.c:207: warning: (near initialization for `amrmo_pci_tbl[1]') amrmo_init.c:207: warning: excess elements in struct initializer amrmo_init.c:207: warning: (near initialization for `amrmo_pci_tbl[1]') amrmo_init.c:207: warning: excess elements in struct initializer amrmo_init.c:207: warning: (near initialization for `amrmo_pci_tbl[1]') amrmo_init.c:208: warning: excess elements in struct initializer amrmo_init.c:208: warning: (near initialization for `amrmo_pci_tbl[2]') amrmo_init.c:208: warning: excess elements in struct initializer amrmo_init.c:208: warning: (near initialization for `amrmo_pci_tbl[2]') amrmo_init.c:209: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:209: warning: excess elements in struct initializer amrmo_init.c:209: warning: (near initialization for `amrmo_pci_tbl[2]') amrmo_init.c:209: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:209: warning: excess elements in struct initializer amrmo_init.c:209: warning: (near initialization for `amrmo_pci_tbl[2]') amrmo_init.c:209: warning: excess elements in struct initializer amrmo_init.c:209: warning: (near initialization for `amrmo_pci_tbl[2]') amrmo_init.c:209: warning: excess elements in struct initializer amrmo_init.c:209: warning: (near initialization for `amrmo_pci_tbl[2]') amrmo_init.c:209: warning: excess elements in struct initializer amrmo_init.c:209: warning: (near initialization for `amrmo_pci_tbl[2]') amrmo_init.c:210: warning: excess elements in struct initializer amrmo_init.c:210: warning: (near initialization for `amrmo_pci_tbl[3]') amrmo_init.c:210: warning: excess elements in struct initializer amrmo_init.c:210: warning: (near initialization for `amrmo_pci_tbl[3]') amrmo_init.c:211: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:211: warning: excess elements in struct initializer amrmo_init.c:211: warning: (near initialization for `amrmo_pci_tbl[3]') amrmo_init.c:211: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:211: warning: excess elements in struct initializer amrmo_init.c:211: warning: (near initialization for `amrmo_pci_tbl[3]') amrmo_init.c:211: warning: excess elements in struct initializer amrmo_init.c:211: warning: (near initialization for `amrmo_pci_tbl[3]') amrmo_init.c:211: warning: excess elements in struct initializer amrmo_init.c:211: warning: (near initialization for `amrmo_pci_tbl[3]') amrmo_init.c:211: warning: excess elements in struct initializer amrmo_init.c:211: warning: (near initialization for `amrmo_pci_tbl[3]') amrmo_init.c:212: warning: excess elements in struct initializer amrmo_init.c:212: warning: (near initialization for `amrmo_pci_tbl[4]') amrmo_init.c:212: warning: excess elements in struct initializer amrmo_init.c:212: warning: (near initialization for `amrmo_pci_tbl[4]') amrmo_init.c:213: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:213: warning: excess elements in struct initializer amrmo_init.c:213: warning: (near initialization for `amrmo_pci_tbl[4]') amrmo_init.c:213: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:213: warning: excess elements in struct initializer amrmo_init.c:213: warning: (near initialization for `amrmo_pci_tbl[4]') amrmo_init.c:213: warning: excess elements in struct initializer amrmo_init.c:213: warning: (near initialization for `amrmo_pci_tbl[4]') amrmo_init.c:213: warning: excess elements in struct initializer amrmo_init.c:213: warning: (near initialization for `amrmo_pci_tbl[4]') amrmo_init.c:213: warning: excess elements in struct initializer amrmo_init.c:213: warning: (near initialization for `amrmo_pci_tbl[4]') amrmo_init.c:214: warning: excess elements in struct initializer amrmo_init.c:214: warning: (near initialization for `amrmo_pci_tbl[5]') amrmo_init.c:214: warning: excess elements in struct initializer amrmo_init.c:214: warning: (near initialization for `amrmo_pci_tbl[5]') amrmo_init.c:215: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:215: warning: excess elements in struct initializer amrmo_init.c:215: warning: (near initialization for `amrmo_pci_tbl[5]') amrmo_init.c:215: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:215: warning: excess elements in struct initializer amrmo_init.c:215: warning: (near initialization for `amrmo_pci_tbl[5]') amrmo_init.c:215: warning: excess elements in struct initializer amrmo_init.c:215: warning: (near initialization for `amrmo_pci_tbl[5]') amrmo_init.c:215: warning: excess elements in struct initializer amrmo_init.c:215: warning: (near initialization for `amrmo_pci_tbl[5]') amrmo_init.c:215: warning: excess elements in struct initializer amrmo_init.c:215: warning: (near initialization for `amrmo_pci_tbl[5]') amrmo_init.c:216: warning: excess elements in struct initializer amrmo_init.c:216: warning: (near initialization for `amrmo_pci_tbl[6]') amrmo_init.c:216: warning: excess elements in struct initializer amrmo_init.c:216: warning: (near initialization for `amrmo_pci_tbl[6]') amrmo_init.c:217: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:217: warning: excess elements in struct initializer amrmo_init.c:217: warning: (near initialization for `amrmo_pci_tbl[6]') amrmo_init.c:217: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:217: warning: excess elements in struct initializer amrmo_init.c:217: warning: (near initialization for `amrmo_pci_tbl[6]') amrmo_init.c:217: warning: excess elements in struct initializer amrmo_init.c:217: warning: (near initialization for `amrmo_pci_tbl[6]') amrmo_init.c:217: warning: excess elements in struct initializer amrmo_init.c:217: warning: (near initialization for `amrmo_pci_tbl[6]') amrmo_init.c:217: warning: excess elements in struct initializer amrmo_init.c:217: warning: (near initialization for `amrmo_pci_tbl[6]') amrmo_init.c:220: warning: excess elements in struct initializer amrmo_init.c:220: warning: (near initialization for `amrmo_pci_tbl[7]') amrmo_init.c:221: warning: excess elements in struct initializer amrmo_init.c:221: warning: (near initialization for `amrmo_pci_tbl[7]') amrmo_init.c:222: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:222: warning: excess elements in struct initializer amrmo_init.c:222: warning: (near initialization for `amrmo_pci_tbl[7]') amrmo_init.c:222: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:222: warning: excess elements in struct initializer amrmo_init.c:222: warning: (near initialization for `amrmo_pci_tbl[7]') amrmo_init.c:222: warning: excess elements in struct initializer amrmo_init.c:222: warning: (near initialization for `amrmo_pci_tbl[7]') amrmo_init.c:222: warning: excess elements in struct initializer amrmo_init.c:222: warning: (near initialization for `amrmo_pci_tbl[7]') amrmo_init.c:222: warning: excess elements in struct initializer amrmo_init.c:222: warning: (near initialization for `amrmo_pci_tbl[7]') amrmo_init.c:223: warning: excess elements in struct initializer amrmo_init.c:223: warning: (near initialization for `amrmo_pci_tbl[8]') amrmo_init.c:223: warning: excess elements in struct initializer amrmo_init.c:223: warning: (near initialization for `amrmo_pci_tbl[8]') amrmo_init.c:224: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:224: warning: excess elements in struct initializer amrmo_init.c:224: warning: (near initialization for `amrmo_pci_tbl[8]') amrmo_init.c:224: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:224: warning: excess elements in struct initializer amrmo_init.c:224: warning: (near initialization for `amrmo_pci_tbl[8]') amrmo_init.c:224: warning: excess elements in struct initializer amrmo_init.c:224: warning: (near initialization for `amrmo_pci_tbl[8]') amrmo_init.c:224: warning: excess elements in struct initializer amrmo_init.c:224: warning: (near initialization for `amrmo_pci_tbl[8]') amrmo_init.c:224: warning: excess elements in struct initializer amrmo_init.c:224: warning: (near initialization for `amrmo_pci_tbl[8]') amrmo_init.c:225: warning: excess elements in struct initializer amrmo_init.c:225: warning: (near initialization for `amrmo_pci_tbl[9]') amrmo_init.c:225: warning: excess elements in struct initializer amrmo_init.c:225: warning: (near initialization for `amrmo_pci_tbl[9]') amrmo_init.c:226: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:226: warning: excess elements in struct initializer amrmo_init.c:226: warning: (near initialization for `amrmo_pci_tbl[9]') amrmo_init.c:226: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:226: warning: excess elements in struct initializer amrmo_init.c:226: warning: (near initialization for `amrmo_pci_tbl[9]') amrmo_init.c:226: warning: excess elements in struct initializer amrmo_init.c:226: warning: (near initialization for `amrmo_pci_tbl[9]') amrmo_init.c:226: warning: excess elements in struct initializer amrmo_init.c:226: warning: (near initialization for `amrmo_pci_tbl[9]') amrmo_init.c:226: warning: excess elements in struct initializer amrmo_init.c:226: warning: (near initialization for `amrmo_pci_tbl[9]') amrmo_init.c:227: warning: excess elements in struct initializer amrmo_init.c:227: warning: (near initialization for `amrmo_pci_tbl[10]') amrmo_init.c:227: warning: excess elements in struct initializer amrmo_init.c:227: warning: (near initialization for `amrmo_pci_tbl[10]') amrmo_init.c:228: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:228: warning: excess elements in struct initializer amrmo_init.c:228: warning: (near initialization for `amrmo_pci_tbl[10]') amrmo_init.c:228: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:228: warning: excess elements in struct initializer amrmo_init.c:228: warning: (near initialization for `amrmo_pci_tbl[10]') amrmo_init.c:228: warning: excess elements in struct initializer amrmo_init.c:228: warning: (near initialization for `amrmo_pci_tbl[10]') amrmo_init.c:228: warning: excess elements in struct initializer amrmo_init.c:228: warning: (near initialization for `amrmo_pci_tbl[10]') amrmo_init.c:228: warning: excess elements in struct initializer amrmo_init.c:228: warning: (near initialization for `amrmo_pci_tbl[10]') amrmo_init.c:229: warning: excess elements in struct initializer amrmo_init.c:229: warning: (near initialization for `amrmo_pci_tbl[11]') amrmo_init.c:229: warning: excess elements in struct initializer amrmo_init.c:229: warning: (near initialization for `amrmo_pci_tbl[11]') amrmo_init.c:230: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:230: warning: excess elements in struct initializer amrmo_init.c:230: warning: (near initialization for `amrmo_pci_tbl[11]') amrmo_init.c:230: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:230: warning: excess elements in struct initializer amrmo_init.c:230: warning: (near initialization for `amrmo_pci_tbl[11]') amrmo_init.c:230: warning: excess elements in struct initializer amrmo_init.c:230: warning: (near initialization for `amrmo_pci_tbl[11]') amrmo_init.c:230: warning: excess elements in struct initializer amrmo_init.c:230: warning: (near initialization for `amrmo_pci_tbl[11]') amrmo_init.c:230: warning: excess elements in struct initializer amrmo_init.c:230: warning: (near initialization for `amrmo_pci_tbl[11]') amrmo_init.c:231: warning: excess elements in struct initializer amrmo_init.c:231: warning: (near initialization for `amrmo_pci_tbl[12]') amrmo_init.c:231: warning: excess elements in struct initializer amrmo_init.c:231: warning: (near initialization for `amrmo_pci_tbl[12]') amrmo_init.c:232: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:232: warning: excess elements in struct initializer amrmo_init.c:232: warning: (near initialization for `amrmo_pci_tbl[12]') amrmo_init.c:232: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:232: warning: excess elements in struct initializer amrmo_init.c:232: warning: (near initialization for `amrmo_pci_tbl[12]') amrmo_init.c:232: warning: excess elements in struct initializer amrmo_init.c:232: warning: (near initialization for `amrmo_pci_tbl[12]') amrmo_init.c:232: warning: excess elements in struct initializer amrmo_init.c:232: warning: (near initialization for `amrmo_pci_tbl[12]') amrmo_init.c:232: warning: excess elements in struct initializer amrmo_init.c:232: warning: (near initialization for `amrmo_pci_tbl[12]') amrmo_init.c:233: warning: excess elements in struct initializer amrmo_init.c:233: warning: (near initialization for `amrmo_pci_tbl[13]') amrmo_init.c:233: warning: excess elements in struct initializer amrmo_init.c:233: warning: (near initialization for `amrmo_pci_tbl[13]') amrmo_init.c:234: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:234: warning: excess elements in struct initializer amrmo_init.c:234: warning: (near initialization for `amrmo_pci_tbl[13]') amrmo_init.c:234: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:234: warning: excess elements in struct initializer amrmo_init.c:234: warning: (near initialization for `amrmo_pci_tbl[13]') amrmo_init.c:234: warning: excess elements in struct initializer amrmo_init.c:234: warning: (near initialization for `amrmo_pci_tbl[13]') amrmo_init.c:234: warning: excess elements in struct initializer amrmo_init.c:234: warning: (near initialization for `amrmo_pci_tbl[13]') amrmo_init.c:234: warning: excess elements in struct initializer amrmo_init.c:234: warning: (near initialization for `amrmo_pci_tbl[13]') amrmo_init.c:235: warning: excess elements in struct initializer amrmo_init.c:235: warning: (near initialization for `amrmo_pci_tbl[14]') amrmo_init.c:235: warning: excess elements in struct initializer amrmo_init.c:235: warning: (near initialization for `amrmo_pci_tbl[14]') amrmo_init.c:236: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:236: warning: excess elements in struct initializer amrmo_init.c:236: warning: (near initialization for `amrmo_pci_tbl[14]') amrmo_init.c:236: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:236: warning: excess elements in struct initializer amrmo_init.c:236: warning: (near initialization for `amrmo_pci_tbl[14]') amrmo_init.c:236: warning: excess elements in struct initializer amrmo_init.c:236: warning: (near initialization for `amrmo_pci_tbl[14]') amrmo_init.c:236: warning: excess elements in struct initializer amrmo_init.c:236: warning: (near initialization for `amrmo_pci_tbl[14]') amrmo_init.c:236: warning: excess elements in struct initializer amrmo_init.c:236: warning: (near initialization for `amrmo_pci_tbl[14]') amrmo_init.c:237: warning: excess elements in struct initializer amrmo_init.c:237: warning: (near initialization for `amrmo_pci_tbl[15]') amrmo_init.c:237: warning: excess elements in struct initializer amrmo_init.c:237: warning: (near initialization for `amrmo_pci_tbl[15]') amrmo_init.c:238: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:238: warning: excess elements in struct initializer amrmo_init.c:238: warning: (near initialization for `amrmo_pci_tbl[15]') amrmo_init.c:238: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:238: warning: excess elements in struct initializer amrmo_init.c:238: warning: (near initialization for `amrmo_pci_tbl[15]') amrmo_init.c:238: warning: excess elements in struct initializer amrmo_init.c:238: warning: (near initialization for `amrmo_pci_tbl[15]') amrmo_init.c:238: warning: excess elements in struct initializer amrmo_init.c:238: warning: (near initialization for `amrmo_pci_tbl[15]') amrmo_init.c:238: warning: excess elements in struct initializer amrmo_init.c:238: warning: (near initialization for `amrmo_pci_tbl[15]') amrmo_init.c:239: warning: excess elements in struct initializer amrmo_init.c:239: warning: (near initialization for `amrmo_pci_tbl[16]') amrmo_init.c:239: warning: excess elements in struct initializer amrmo_init.c:239: warning: (near initialization for `amrmo_pci_tbl[16]') amrmo_init.c:240: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:240: warning: excess elements in struct initializer amrmo_init.c:240: warning: (near initialization for `amrmo_pci_tbl[16]') amrmo_init.c:240: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:240: warning: excess elements in struct initializer amrmo_init.c:240: warning: (near initialization for `amrmo_pci_tbl[16]') amrmo_init.c:240: warning: excess elements in struct initializer amrmo_init.c:240: warning: (near initialization for `amrmo_pci_tbl[16]') amrmo_init.c:240: warning: excess elements in struct initializer amrmo_init.c:240: warning: (near initialization for `amrmo_pci_tbl[16]') amrmo_init.c:240: warning: excess elements in struct initializer amrmo_init.c:240: warning: (near initialization for `amrmo_pci_tbl[16]') amrmo_init.c:241: warning: excess elements in struct initializer amrmo_init.c:241: warning: (near initialization for `amrmo_pci_tbl[17]') amrmo_init.c:241: warning: excess elements in struct initializer amrmo_init.c:241: warning: (near initialization for `amrmo_pci_tbl[17]') amrmo_init.c:242: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:242: warning: excess elements in struct initializer amrmo_init.c:242: warning: (near initialization for `amrmo_pci_tbl[17]') amrmo_init.c:242: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:242: warning: excess elements in struct initializer amrmo_init.c:242: warning: (near initialization for `amrmo_pci_tbl[17]') amrmo_init.c:242: warning: excess elements in struct initializer amrmo_init.c:242: warning: (near initialization for `amrmo_pci_tbl[17]') amrmo_init.c:242: warning: excess elements in struct initializer amrmo_init.c:242: warning: (near initialization for `amrmo_pci_tbl[17]') amrmo_init.c:242: warning: excess elements in struct initializer amrmo_init.c:242: warning: (near initialization for `amrmo_pci_tbl[17]') amrmo_init.c:243: warning: excess elements in struct initializer amrmo_init.c:243: warning: (near initialization for `amrmo_pci_tbl[18]') amrmo_init.c:243: warning: excess elements in struct initializer amrmo_init.c:243: warning: (near initialization for `amrmo_pci_tbl[18]') amrmo_init.c:244: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:244: warning: excess elements in struct initializer amrmo_init.c:244: warning: (near initialization for `amrmo_pci_tbl[18]') amrmo_init.c:244: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:244: warning: excess elements in struct initializer amrmo_init.c:244: warning: (near initialization for `amrmo_pci_tbl[18]') amrmo_init.c:244: warning: excess elements in struct initializer amrmo_init.c:244: warning: (near initialization for `amrmo_pci_tbl[18]') amrmo_init.c:244: warning: excess elements in struct initializer amrmo_init.c:244: warning: (near initialization for `amrmo_pci_tbl[18]') amrmo_init.c:244: warning: excess elements in struct initializer amrmo_init.c:244: warning: (near initialization for `amrmo_pci_tbl[18]') amrmo_init.c:245: warning: excess elements in struct initializer amrmo_init.c:245: warning: (near initialization for `amrmo_pci_tbl[19]') amrmo_init.c:245: warning: excess elements in struct initializer amrmo_init.c:245: warning: (near initialization for `amrmo_pci_tbl[19]') amrmo_init.c:246: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:246: warning: excess elements in struct initializer amrmo_init.c:246: warning: (near initialization for `amrmo_pci_tbl[19]') amrmo_init.c:246: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:246: warning: excess elements in struct initializer amrmo_init.c:246: warning: (near initialization for `amrmo_pci_tbl[19]') amrmo_init.c:246: warning: excess elements in struct initializer amrmo_init.c:246: warning: (near initialization for `amrmo_pci_tbl[19]') amrmo_init.c:246: warning: excess elements in struct initializer amrmo_init.c:246: warning: (near initialization for `amrmo_pci_tbl[19]') amrmo_init.c:246: warning: excess elements in struct initializer amrmo_init.c:246: warning: (near initialization for `amrmo_pci_tbl[19]') amrmo_init.c:251: warning: excess elements in struct initializer amrmo_init.c:251: warning: (near initialization for `amrmo_pci_tbl[20]') amrmo_init.c:251: warning: excess elements in struct initializer amrmo_init.c:251: warning: (near initialization for `amrmo_pci_tbl[20]') amrmo_init.c:252: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:252: warning: excess elements in struct initializer amrmo_init.c:252: warning: (near initialization for `amrmo_pci_tbl[20]') amrmo_init.c:252: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:252: warning: excess elements in struct initializer amrmo_init.c:252: warning: (near initialization for `amrmo_pci_tbl[20]') amrmo_init.c:252: warning: excess elements in struct initializer amrmo_init.c:252: warning: (near initialization for `amrmo_pci_tbl[20]') amrmo_init.c:252: warning: excess elements in struct initializer amrmo_init.c:252: warning: (near initialization for `amrmo_pci_tbl[20]') amrmo_init.c:252: warning: excess elements in struct initializer amrmo_init.c:252: warning: (near initialization for `amrmo_pci_tbl[20]') amrmo_init.c:253: warning: excess elements in struct initializer amrmo_init.c:253: warning: (near initialization for `amrmo_pci_tbl[21]') amrmo_init.c:253: warning: excess elements in struct initializer amrmo_init.c:253: warning: (near initialization for `amrmo_pci_tbl[21]') amrmo_init.c:254: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:254: warning: excess elements in struct initializer amrmo_init.c:254: warning: (near initialization for `amrmo_pci_tbl[21]') amrmo_init.c:254: `PCI_ANY_ID' undeclared here (not in a function) amrmo_init.c:254: warning: excess elements in struct initializer amrmo_init.c:254: warning: (near initialization for `amrmo_pci_tbl[21]') amrmo_init.c:254: warning: excess elements in struct initializer amrmo_init.c:254: warning: (near initialization for `amrmo_pci_tbl[21]') amrmo_init.c:254: warning: excess elements in struct initializer amrmo_init.c:254: warning: (near initialization for `amrmo_pci_tbl[21]') amrmo_init.c:254: warning: excess elements in struct initializer amrmo_init.c:254: warning: (near initialization for `amrmo_pci_tbl[21]') amrmo_init.c:255: warning: excess elements in struct initializer amrmo_init.c:255: warning: (near initialization for `amrmo_pci_tbl[22]') amrmo_init.c:258: sizeof applied to an incomplete type amrmo_init.c:271: parse error before "va_list" amrmo_init.c: In function `amrmo_vprintf': amrmo_init.c:278: `fmt' undeclared (first use in this function) amrmo_init.c:280: warning: implicit declaration of function `do_gettimeofday' amrmo_init.c:284: warning: implicit declaration of function `sprintf' amrmo_init.c:285: warning: implicit declaration of function `in_interrupt' amrmo_init.c:288: warning: implicit declaration of function `vsprintf' amrmo_init.c:288: `args' undeclared (first use in this function) amrmo_init.c:294: warning: implicit declaration of function `printk' amrmo_init.c:294: `KERN_DEBUG' undeclared (first use in this function) amrmo_init.c:294: parse error before string constant amrmo_init.c: In function `amrmo_debug_printf': amrmo_init.c:301: `va_list' undeclared (first use in this function) amrmo_init.c:301: parse error before "args" amrmo_init.c:303: warning: implicit declaration of function `va_start' amrmo_init.c:303: `args' undeclared (first use in this function) amrmo_init.c:305: warning: implicit declaration of function `va_end' amrmo_init.c: In function `amrmo_update_status': amrmo_init.c:319: warning: implicit declaration of function `spin_lock_irqsave' amrmo_init.c:319: dereferencing pointer to incomplete type amrmo_init.c:320: dereferencing pointer to incomplete type amrmo_init.c:321: warning: implicit declaration of function `wake_up' amrmo_init.c:321: dereferencing pointer to incomplete type amrmo_init.c:322: warning: implicit declaration of function `spin_unlock_irqrestore' amrmo_init.c:322: dereferencing pointer to incomplete type amrmo_init.c: At top level: amrmo_init.c:325: warning: `struct file' declared inside parameter list amrmo_init.c: In function `amrmo_read': amrmo_init.c:327: dereferencing pointer to incomplete type amrmo_init.c:330: warning: implicit declaration of function `access_ok' amrmo_init.c:330: `VERIFY_READ' undeclared (first use in this function) amrmo_init.c:332: dereferencing pointer to incomplete type amrmo_init.c:333: dereferencing pointer to incomplete type amrmo_init.c:334: dereferencing pointer to incomplete type amrmo_init.c:334: dereferencing pointer to incomplete type amrmo_init.c:335: warning: implicit declaration of function `copy_to_user' amrmo_init.c:335: dereferencing pointer to incomplete type amrmo_init.c: At top level: amrmo_init.c:339: warning: `struct file' declared inside parameter list amrmo_init.c: In function `amrmo_write': amrmo_init.c:341: dereferencing pointer to incomplete type amrmo_init.c:344: `VERIFY_WRITE' undeclared (first use in this function) amrmo_init.c:346: dereferencing pointer to incomplete type amrmo_init.c:347: dereferencing pointer to incomplete type amrmo_init.c:348: warning: implicit declaration of function `copy_from_user' amrmo_init.c:348: dereferencing pointer to incomplete type amrmo_init.c:349: dereferencing pointer to incomplete type amrmo_init.c:349: dereferencing pointer to incomplete type amrmo_init.c: At top level: amrmo_init.c:354: parse error before "poll_table" amrmo_init.c:354: warning: `struct file' declared inside parameter list amrmo_init.c: In function `amrmo_poll': amrmo_init.c:356: `file' undeclared (first use in this function) amrmo_init.c:359: warning: implicit declaration of function `poll_wait' amrmo_init.c:359: dereferencing pointer to incomplete type amrmo_init.c:360: dereferencing pointer to incomplete type amrmo_init.c:361: dereferencing pointer to incomplete type amrmo_init.c:363: dereferencing pointer to incomplete type amrmo_init.c:365: dereferencing pointer to incomplete type amrmo_init.c:367: dereferencing pointer to incomplete type amrmo_init.c:369: dereferencing pointer to incomplete type amrmo_init.c: At top level: amrmo_init.c:375: warning: `struct file' declared inside parameter list amrmo_init.c:375: warning: `struct inode' declared inside parameter list amrmo_init.c: In function `amrmo_ioctl': amrmo_init.c:377: dereferencing pointer to incomplete type amrmo_init.c:381: `KERN_DEBUG' undeclared (first use in this function) amrmo_init.c:381: parse error before string constant amrmo_init.c:385: dereferencing pointer to incomplete type amrmo_init.c:386: dereferencing pointer to incomplete type amrmo_init.c:387: dereferencing pointer to incomplete type amrmo_init.c:388: dereferencing pointer to incomplete type amrmo_init.c:389: warning: implicit declaration of function `put_user' amrmo_init.c:393: dereferencing pointer to incomplete type amrmo_init.c:394: dereferencing pointer to incomplete type amrmo_init.c:397: dereferencing pointer to incomplete type amrmo_init.c:398: dereferencing pointer to incomplete type amrmo_init.c:401: dereferencing pointer to incomplete type amrmo_init.c: At top level: amrmo_init.c:406: warning: `struct file' declared inside parameter list amrmo_init.c:406: warning: `struct inode' declared inside parameter list amrmo_init.c: In function `amrmo_open': amrmo_init.c:409: dereferencing pointer to incomplete type amrmo_init.c:415: `KERN_DEBUG' undeclared (first use in this function) amrmo_init.c:415: parse error before string constant amrmo_init.c:416: dereferencing pointer to incomplete type amrmo_init.c:418: dereferencing pointer to incomplete type amrmo_init.c:419: dereferencing pointer to incomplete type amrmo_init.c:421: union has no member named `usecount' amrmo_init.c:423: warning: implicit declaration of function `init_waitqueue_head' amrmo_init.c:423: dereferencing pointer to incomplete type amrmo_init.c: At top level: amrmo_init.c:427: warning: `struct file' declared inside parameter list amrmo_init.c:427: warning: `struct inode' declared inside parameter list amrmo_init.c: In function `amrmo_release': amrmo_init.c:429: dereferencing pointer to incomplete type amrmo_init.c:430: `KERN_DEBUG' undeclared (first use in this function) amrmo_init.c:430: parse error before string constant amrmo_init.c:431: dereferencing pointer to incomplete type amrmo_init.c:432: dereferencing pointer to incomplete type amrmo_init.c:433: dereferencing pointer to incomplete type amrmo_init.c:434: dereferencing pointer to incomplete type amrmo_init.c:436: union has no member named `usecount' amrmo_init.c: At top level: amrmo_init.c:441: variable `amrmo_fops' has initializer but incomplete type amrmo_init.c:442: unknown field `owner' specified in initializer amrmo_init.c:442: warning: excess elements in struct initializer amrmo_init.c:442: warning: (near initialization for `amrmo_fops') amrmo_init.c:443: unknown field `llseek' specified in initializer amrmo_init.c:443: `no_llseek' undeclared here (not in a function) amrmo_init.c:443: warning: excess elements in struct initializer amrmo_init.c:443: warning: (near initialization for `amrmo_fops') amrmo_init.c:444: unknown field `read' specified in initializer amrmo_init.c:444: warning: excess elements in struct initializer amrmo_init.c:444: warning: (near initialization for `amrmo_fops') amrmo_init.c:445: unknown field `write' specified in initializer amrmo_init.c:445: warning: excess elements in struct initializer amrmo_init.c:445: warning: (near initialization for `amrmo_fops') amrmo_init.c:446: unknown field `poll' specified in initializer amrmo_init.c:446: warning: excess elements in struct initializer amrmo_init.c:446: warning: (near initialization for `amrmo_fops') amrmo_init.c:447: unknown field `ioctl' specified in initializer amrmo_init.c:447: warning: excess elements in struct initializer amrmo_init.c:447: warning: (near initialization for `amrmo_fops') amrmo_init.c:448: unknown field `open' specified in initializer amrmo_init.c:448: warning: excess elements in struct initializer amrmo_init.c:448: warning: (near initialization for `amrmo_fops') amrmo_init.c:449: unknown field `release' specified in initializer amrmo_init.c:449: warning: excess elements in struct initializer amrmo_init.c:449: warning: (near initialization for `amrmo_fops') amrmo_init.c: In function `amrmo_pci_interrupt': amrmo_init.c:463: dereferencing pointer to incomplete type amrmo_init.c: In function `amrmo_pci_probe': amrmo_init.c:480: `KERN_INFO' undeclared (first use in this function) amrmo_init.c:480: parse error before string constant amrmo_init.c:484: warning: implicit declaration of function `pci_enable_device' amrmo_init.c:485: dereferencing pointer to incomplete type amrmo_init.c:488: warning: implicit declaration of function `kmalloc' amrmo_init.c:488: dereferencing pointer to incomplete type amrmo_init.c:488: `GFP_KERNEL' undeclared (first use in this function) amrmo_init.c:488: warning: assignment makes pointer from integer without a cast amrmo_init.c:490: warning: implicit declaration of function `pci_disable_device' amrmo_init.c:493: dereferencing pointer to incomplete type amrmo_init.c:495: dereferencing pointer to incomplete type amrmo_init.c:495: dereferencing pointer to incomplete type amrmo_init.c:496: dereferencing pointer to incomplete type amrmo_init.c:496: dereferencing pointer to incomplete type amrmo_init.c:497: dereferencing pointer to incomplete type amrmo_init.c:498: dereferencing pointer to incomplete type amrmo_init.c:498: dereferencing pointer to incomplete type amrmo_init.c:499: warning: implicit declaration of function `pci_resource_flags' amrmo_init.c:499: `IORESOURCE_MEM' undeclared (first use in this function) amrmo_init.c:500: dereferencing pointer to incomplete type amrmo_init.c:500: warning: implicit declaration of function `pci_resource_start' amrmo_init.c:501: dereferencing pointer to incomplete type amrmo_init.c:504: dereferencing pointer to incomplete type amrmo_init.c:505: dereferencing pointer to incomplete type amrmo_init.c:508: dereferencing pointer to incomplete type amrmo_init.c:509: dereferencing pointer to incomplete type amrmo_init.c:512: warning: implicit declaration of function `spin_lock_init' amrmo_init.c:512: dereferencing pointer to incomplete type amrmo_init.c:513: dereferencing pointer to incomplete type amrmo_init.c:515: dereferencing pointer to incomplete type amrmo_init.c:515: dereferencing pointer to incomplete type amrmo_init.c:516: dereferencing pointer to incomplete type amrmo_init.c:517: `KERN_ERR' undeclared (first use in this function) amrmo_init.c:517: parse error before string constant amrmo_init.c:519: warning: implicit declaration of function `kfree' amrmo_init.c:523: warning: implicit declaration of function `pci_set_master' amrmo_init.c:525: warning: implicit declaration of function `pci_request_regions' amrmo_init.c:525: dereferencing pointer to incomplete type amrmo_init.c:527: parse error before string constant amrmo_init.c:528: dereferencing pointer to incomplete type amrmo_init.c:534: warning: implicit declaration of function `request_irq' amrmo_init.c:534: dereferencing pointer to incomplete type amrmo_init.c:534: `SA_SHIRQ' undeclared (first use in this function) amrmo_init.c:535: dereferencing pointer to incomplete type amrmo_init.c:537: parse error before string constant amrmo_init.c:538: warning: implicit declaration of function `pci_release_regions' amrmo_init.c:539: dereferencing pointer to incomplete type amrmo_init.c:545: dereferencing pointer to incomplete type amrmo_init.c:547: parse error before string constant amrmo_init.c:548: warning: implicit declaration of function `free_irq' amrmo_init.c:548: dereferencing pointer to incomplete type amrmo_init.c:550: dereferencing pointer to incomplete type amrmo_init.c:558: dereferencing pointer to incomplete type amrmo_init.c:569: `KERN_DEBUG' undeclared (first use in this function) amrmo_init.c:569: parse error before string constant amrmo_init.c:571: parse error before string constant amrmo_init.c:574: warning: implicit declaration of function `pci_set_drvdata' amrmo_init.c:590: dereferencing pointer to incomplete type amrmo_init.c:592: dereferencing pointer to incomplete type amrmo_init.c: In function `amrmo_pci_remove': amrmo_init.c:600: warning: implicit declaration of function `pci_get_drvdata' amrmo_init.c:600: warning: initialization makes pointer from integer without a cast amrmo_init.c:601: `KERN_DEBUG' undeclared (first use in this function) amrmo_init.c:601: parse error before string constant amrmo_init.c:616: dereferencing pointer to incomplete type amrmo_init.c:617: dereferencing pointer to incomplete type amrmo_init.c:618: dereferencing pointer to incomplete type amrmo_init.c:620: dereferencing pointer to incomplete type amrmo_init.c: At top level: amrmo_init.c:628: variable `amrmo_pci_driver' has initializer but incomplete type amrmo_init.c:629: unknown field `name' specified in initializer amrmo_init.c:629: warning: excess elements in struct initializer amrmo_init.c:629: warning: (near initialization for `amrmo_pci_driver') amrmo_init.c:630: unknown field `id_table' specified in initializer amrmo_init.c:630: warning: excess elements in struct initializer amrmo_init.c:630: warning: (near initialization for `amrmo_pci_driver') amrmo_init.c:631: unknown field `probe' specified in initializer amrmo_init.c:631: warning: excess elements in struct initializer amrmo_init.c:631: warning: (near initialization for `amrmo_pci_driver') amrmo_init.c:632: unknown field `remove' specified in initializer amrmo_init.c:632: warning: excess elements in struct initializer amrmo_init.c:632: warning: (near initialization for `amrmo_pci_driver') amrmo_init.c: In function `amrmo_init': amrmo_init.c:652: warning: implicit declaration of function `pci_present' amrmo_init.c:656: `KERN_INFO' undeclared (first use in this function) amrmo_init.c:656: parse error before string constant amrmo_init.c:663: warning: implicit declaration of function `pci_for_each_dev' amrmo_init.c:663: parse error before '{' token amrmo_init.c: At top level: amrmo_init.c:673: parse error before "if" amrmo_init.c: In function `amrmo_exit': amrmo_init.c:704: `KERN_DEBUG' undeclared (first use in this function) amrmo_init.c:704: parse error before string constant amrmo_init.c:706: warning: implicit declaration of function `pci_unregister_driver' amrmo_init.c: At top level: amrmo_init.c:441: storage size of `amrmo_fops' isn't known amrmo_init.c:628: storage size of `amrmo_pci_driver' isn't known amrmo_init.c:441: warning: `amrmo_fops' defined but not used make[2]: *** [amrmo_init.o] Error 1 make[2]: Leaving directory `/root/slmodem-2.9.5/drivers' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/slmodem-2.9.5/drivers' make: *** [drivers] Error 2 [root@SEED slmodem-2.9.5]# make make -C modem all make[1]: Entering directory `/root/slmodem-2.9.5/modem' make[1]: Leaving directory `/root/slmodem-2.9.5/modem' make -C drivers KERNEL_DIR=/lib/modules/2.4.20-8/build make[1]: Entering directory `/root/slmodem-2.9.5/drivers' cc -I/lib/modules/2.4.20-8/build/include -o kernel-ver kernel-ver.c make all KERNEL_VER=2.4.20-8 make[2]: Entering directory `/root/slmodem-2.9.5/drivers' cc -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS --include /lib/modules/2.4.20-8/build/include/linux/modversions.h -I/lib/modules/2.4.20-8/build/include -I. -I./../modem -o amrmo_init.o -c amrmo_init.c cc -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS --include /lib/modules/2.4.20-8/build/include/linux/modversions.h -I/lib/modules/2.4.20-8/build/include -I. -I./../modem -o sysdep_amr.o -c sysdep_amr.c ld -r -o slamr.o amrmo_init.o sysdep_amr.o amrlibs.o cc -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS --include /lib/modules/2.4.20-8/build/include/linux/modversions.h -I/lib/modules/2.4.20-8/build/include -I. -I./../modem -o old_st7554.o -c old_st7554.c ld -r -o slusb.o old_st7554.o make[2]: Leaving directory `/root/slmodem-2.9.5/drivers' make[1]: Leaving directory `/root/slmodem-2.9.5/drivers' [root@SEED slmodem-2.9.5]# make install make -C modem all make[1]: Entering directory `/root/slmodem-2.9.5/modem' make[1]: Leaving directory `/root/slmodem-2.9.5/modem' make -C drivers KERNEL_DIR=/lib/modules/2.4.20-8/build make[1]: Entering directory `/root/slmodem-2.9.5/drivers' cc -I/lib/modules/2.4.20-8/build/include -o kernel-ver kernel-ver.c make all KERNEL_VER=2.4.20-8 make[2]: Entering directory `/root/slmodem-2.9.5/drivers' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/slmodem-2.9.5/drivers' make[1]: Leaving directory `/root/slmodem-2.9.5/drivers' make install -C drivers KERNEL_DIR=/lib/modules/2.4.20-8/build make[1]: Entering directory `/root/slmodem-2.9.5/drivers' cc -I/lib/modules/2.4.20-8/build/include -o kernel-ver kernel-ver.c mkdir -p /dev mknod -m 600 /dev/slamr0 c 212 0 ; mknod -m 600 /dev/slamr1 c 212 1 ; mknod -m 600 /dev/slamr2 c 212 2 ; mknod -m 600 /dev/slamr3 c 212 3 ; echo -n mknod: ¡®/dev/slamr0¡¯: ÎļþÒÑ´æÔÚ mknod: ¡®/dev/slamr1¡¯: ÎļþÒÑ´æÔÚ mknod: ¡®/dev/slamr2¡¯: ÎļþÒÑ´æÔÚ mknod: ¡®/dev/slamr3¡¯: ÎļþÒÑ´æÔÚ mknod -m 600 /dev/slusb0 c 213 0 ; mknod -m 600 /dev/slusb1 c 213 1 ; mknod -m 600 /dev/slusb2 c 213 2 ; mknod -m 600 /dev/slusb3 c 213 3 ; echo -n mknod: ¡®/dev/slusb0¡¯: ÎļþÒÑ´æÔÚ mknod: ¡®/dev/slusb1¡¯: ÎļþÒÑ´æÔÚ mknod: ¡®/dev/slusb2¡¯: ÎļþÒÑ´æÔÚ mknod: ¡®/dev/slusb3¡¯: ÎļþÒÑ´æÔÚ make install KERNEL_VER=2.4.20-8 make[2]: Entering directory `/root/slmodem-2.9.5/drivers' rm -f /lib/modules/2.4.20-8/misc/slmdm.o \ /lib/modules/2.4.20-8/misc/slfax.o \ /lib/modules/2.4.20-8/misc/slusb.o \ /lib/modules/2.4.20-8/misc/slamrmo.o \ /lib/modules/2.4.20-8/misc/slmodem.o # remove old 2.7,2.8 version install -D -m 644 slamr.o /lib/modules/2.4.20-8/misc/slamr.o install -D -m 644 slusb.o /lib/modules/2.4.20-8/misc/slusb.o cp /etc/modules.conf /etc/modules.conf.slamr && \ echo 'alias char-major-212 slamr' >> /etc/modules.conf && \ echo 'alias char-major-213 slusb' >> /etc/modules.conf /sbin/depmod -a make[2]: Leaving directory `/root/slmodem-2.9.5/drivers' make[1]: Leaving directory `/root/slmodem-2.9.5/drivers' install -D -m 755 modem/slmodemd /usr/sbin/slmodemd install -d -D -m 755 /var/lib/slmodem [root@SEED slmodem-2.9.5]# kppp Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Opener: received OpenLock Opener: received OpenDevice Opener: received RemoveLock //*ûÕÒµ½! 没找到! 然后我运行<互联网配向导>,还是找不到! |
Ivn
|
14#
Ivn 发表于 2004-01-26 23:45
首先你的编译方式不对
不是 make KERNEL_DIR=/include !! // 我用的也是 Rh9 , 我在自己的系统上编译了两个tar包, 也有错, 不过它生成了 sllmodemd 。 // 首先你要安装 内核源代码?!! 然后运行 make KERNEL_DIR=/usr/src/linux-2.4 编译最后有错误, 但是 modem 目录里有slimodemd 和 modem_test 程序,你运行 modem_test 程序检测一下! 更详细的你参考一下 README 文件。 // |
XSEEDX
|
15#
XSEEDX 发表于 2004-01-27 09:12
内核源代码?
怎么装阿?还需下载吗?我的是2.4的内核的!! 您能说说您的操作过程吗?也当学习学习阿! 谢谢了! |