|
:-( 我把有关的帖子都看了,modem安装还是失败了!
[root@localhost root]# lspci -v
00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host
Bridge (rev 03)
Subsystem: Giga-byte Technology: Unknown device 2560
Flags: bus master, fast devsel, latency 0
Memory at d0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [e4] #09 [4105]
Capabilities: [a0] AGP version 2.0
00:01.0 PCI bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset AGP Br
idge (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
Memory behind bridge: e8000000-e9ffffff
Prefetchable memory behind bridge: d8000000-e7ffffff
00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 02) (pro
g-if 00 [UHCI])
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: bus master, medium devsel, latency 0, IRQ 10
I/O ports at b800
00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 02) (pro
g-if 00 [UHCI])
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at b000
00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 02) (pro
g-if 00 [UHCI])
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at b400
00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 0
2) (prog-if 20 [EHCI])
Subsystem: Giga-byte Technology: Unknown device 5004
Flags: bus master, medium devsel, latency 0, IRQ 9
Memory at ec000000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 82) (pro
g-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: ea000000-ebffffff
00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 02)
Flags: bus master, medium devsel, latency 0
00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 02) (prog-if
8a [Master SecP PriP])
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: bus master, medium devsel, latency 0, IRQ 10
I/O ports at 01f0
I/O ports at 03f4
I/O ports at 0170
I/O ports at 0374
I/O ports at cc00
Memory at 10000000 (32-bit, non-prefetchable) [size=1K]
00:1f.3 SMBus: Intel Corp. 82801DB SMBus (rev 02)
Subsystem: Giga-byte Technology: Unknown device 24c2
Flags: medium devsel, IRQ 10
I/O ports at 5000
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 M
X440] (rev a3) (prog-if 00 [VGA])
Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 10
Memory at e8000000 (32-bit, non-prefetchable) [size=16M]
Memory at d8000000 (32-bit, prefetchable) [size=128M]
Memory at e0000000 (32-bit, prefetchable) [size=512K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0
02:02.0 Modem: Acer Laboratories Inc. [ALi]: Unknown device 5459 (prog -if 00 [Generic])
Subsystem: Meidensha Corporation: Unknown device 5459
Flags: bus master, medium devsel, latency 32, IRQ 5
Memory at eb008000 (32-bit, non-prefetchable) [size=4K]
I/O ports at a000 [size=256]
02:03.0 Multimedia audio controller: Yamaha Corporation YMF-724F [DS-1 udio Controller] (rev 03)
Subsystem: Yamaha Corporation DS-XG PCI Audio CODEC
Flags: bus master, medium devsel, latency 32, IRQ 10
Memory at eb000000 (32-bit, non-prefetchable) [size=32K]
Capabilities: [50] Power Management version 1
02:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029( AS)
Flags: medium devsel, IRQ 11
I/O ports at a400 [size=32]
Expansion ROM at <unassigned> [disabled] [size=16K]
小猫安装出错信息;
[root@localhost redhat8.0]# make
gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -IKERNEL_INCLUDES=/usr/src/linux-2.4.18-14/include/ -DMODVERSIONS --include KERNEL_INCLUDES=/usr/src/linux-2.4.18-14/include//linux/modversions.h -o amrmo_init.o -c amrmo_init.c
amrmo_init.c: KERNEL_INCLUDES=/usr/src/linux-2.4.18-14/include//linux/modversions.h: No such file or directory
amrmo_init.c:179: elements of array `amrmo_pci_tbl' have incomplete type
amrmo_init.c:180: warning: excess elements in struct initializer
amrmo_init.c:180: warning: (near initialization for `amrmo_pci_tbl[0]')
amrmo_init.c:180: warning: excess elements in struct initializer
amrmo_init.c:180: warning: (near initialization for `amrmo_pci_tbl[0]')
amrmo_init.c:181: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:181: warning: excess elements in struct initializer
amrmo_init.c:181: warning: (near initialization for `amrmo_pci_tbl[0]')
amrmo_init.c:181: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:181: warning: excess elements in struct initializer
amrmo_init.c:181: warning: (near initialization for `amrmo_pci_tbl[0]')
amrmo_init.c:181: warning: excess elements in struct initializer
amrmo_init.c:181: warning: (near initialization for `amrmo_pci_tbl[0]')
amrmo_init.c:181: warning: excess elements in struct initializer
amrmo_init.c:181: warning: (near initialization for `amrmo_pci_tbl[0]')
amrmo_init.c:181: warning: excess elements in struct initializer
amrmo_init.c:181: warning: (near initialization for `amrmo_pci_tbl[0]')
amrmo_init.c:182: warning: excess elements in struct initializer
amrmo_init.c:182: warning: (near initialization for `amrmo_pci_tbl[1]')
amrmo_init.c:182: warning: excess elements in struct initializer
amrmo_init.c:182: warning: (near initialization for `amrmo_pci_tbl[1]')
amrmo_init.c:183: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:183: warning: excess elements in struct initializer
amrmo_init.c:183: warning: (near initialization for `amrmo_pci_tbl[1]')
amrmo_init.c:183: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:183: warning: excess elements in struct initializer
amrmo_init.c:183: warning: (near initialization for `amrmo_pci_tbl[1]')
amrmo_init.c:183: warning: excess elements in struct initializer
amrmo_init.c:183: warning: (near initialization for `amrmo_pci_tbl[1]')
amrmo_init.c:183: warning: excess elements in struct initializer
amrmo_init.c:183: warning: (near initialization for `amrmo_pci_tbl[1]')
amrmo_init.c:183: warning: excess elements in struct initializer
amrmo_init.c:183: warning: (near initialization for `amrmo_pci_tbl[1]')
amrmo_init.c:184: warning: excess elements in struct initializer
amrmo_init.c:184: warning: (near initialization for `amrmo_pci_tbl[2]')
amrmo_init.c:184: warning: excess elements in struct initializer
amrmo_init.c:184: warning: (near initialization for `amrmo_pci_tbl[2]')
amrmo_init.c:185: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:185: warning: excess elements in struct initializer
amrmo_init.c:185: warning: (near initialization for `amrmo_pci_tbl[2]')
amrmo_init.c:185: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:185: warning: excess elements in struct initializer
amrmo_init.c:185: warning: (near initialization for `amrmo_pci_tbl[2]')
amrmo_init.c:185: warning: excess elements in struct initializer
amrmo_init.c:185: warning: (near initialization for `amrmo_pci_tbl[2]')
amrmo_init.c:185: warning: excess elements in struct initializer
amrmo_init.c:185: warning: (near initialization for `amrmo_pci_tbl[2]')
amrmo_init.c:185: warning: excess elements in struct initializer
amrmo_init.c:185: warning: (near initialization for `amrmo_pci_tbl[2]')
amrmo_init.c:186: warning: excess elements in struct initializer
amrmo_init.c:186: warning: (near initialization for `amrmo_pci_tbl[3]')
amrmo_init.c:186: warning: excess elements in struct initializer
amrmo_init.c:186: warning: (near initialization for `amrmo_pci_tbl[3]')
amrmo_init.c:187: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:187: warning: excess elements in struct initializer
amrmo_init.c:187: warning: (near initialization for `amrmo_pci_tbl[3]')
amrmo_init.c:187: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:187: warning: excess elements in struct initializer
amrmo_init.c:187: warning: (near initialization for `amrmo_pci_tbl[3]')
amrmo_init.c:187: warning: excess elements in struct initializer
amrmo_init.c:187: warning: (near initialization for `amrmo_pci_tbl[3]')
amrmo_init.c:187: warning: excess elements in struct initializer
amrmo_init.c:187: warning: (near initialization for `amrmo_pci_tbl[3]')
amrmo_init.c:187: warning: excess elements in struct initializer
amrmo_init.c:187: warning: (near initialization for `amrmo_pci_tbl[3]')
amrmo_init.c:188: warning: excess elements in struct initializer
amrmo_init.c:188: warning: (near initialization for `amrmo_pci_tbl[4]')
amrmo_init.c:188: warning: excess elements in struct initializer
amrmo_init.c:188: warning: (near initialization for `amrmo_pci_tbl[4]')
amrmo_init.c:189: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:189: warning: excess elements in struct initializer
amrmo_init.c:189: warning: (near initialization for `amrmo_pci_tbl[4]')
amrmo_init.c:189: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:189: warning: excess elements in struct initializer
amrmo_init.c:189: warning: (near initialization for `amrmo_pci_tbl[4]')
amrmo_init.c:189: warning: excess elements in struct initializer
amrmo_init.c:189: warning: (near initialization for `amrmo_pci_tbl[4]')
amrmo_init.c:189: warning: excess elements in struct initializer
amrmo_init.c:189: warning: (near initialization for `amrmo_pci_tbl[4]')
amrmo_init.c:189: warning: excess elements in struct initializer
amrmo_init.c:189: warning: (near initialization for `amrmo_pci_tbl[4]')
amrmo_init.c:190: warning: excess elements in struct initializer
amrmo_init.c:190: warning: (near initialization for `amrmo_pci_tbl[5]')
amrmo_init.c:190: warning: excess elements in struct initializer
amrmo_init.c:190: warning: (near initialization for `amrmo_pci_tbl[5]')
amrmo_init.c:191: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:191: warning: excess elements in struct initializer
amrmo_init.c:191: warning: (near initialization for `amrmo_pci_tbl[5]')
amrmo_init.c:191: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:191: warning: excess elements in struct initializer
amrmo_init.c:191: warning: (near initialization for `amrmo_pci_tbl[5]')
amrmo_init.c:191: warning: excess elements in struct initializer
amrmo_init.c:191: warning: (near initialization for `amrmo_pci_tbl[5]')
amrmo_init.c:191: warning: excess elements in struct initializer
amrmo_init.c:191: warning: (near initialization for `amrmo_pci_tbl[5]')
amrmo_init.c:191: warning: excess elements in struct initializer
amrmo_init.c:191: warning: (near initialization for `amrmo_pci_tbl[5]')
amrmo_init.c:192: warning: excess elements in struct initializer
amrmo_init.c:192: warning: (near initialization for `amrmo_pci_tbl[6]')
amrmo_init.c:192: warning: excess elements in struct initializer
amrmo_init.c:192: warning: (near initialization for `amrmo_pci_tbl[6]')
amrmo_init.c:193: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:193: warning: excess elements in struct initializer
amrmo_init.c:193: warning: (near initialization for `amrmo_pci_tbl[6]')
amrmo_init.c:193: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:193: warning: excess elements in struct initializer
amrmo_init.c:193: warning: (near initialization for `amrmo_pci_tbl[6]')
amrmo_init.c:193: warning: excess elements in struct initializer
amrmo_init.c:193: warning: (near initialization for `amrmo_pci_tbl[6]')
amrmo_init.c:193: warning: excess elements in struct initializer
amrmo_init.c:193: warning: (near initialization for `amrmo_pci_tbl[6]')
amrmo_init.c:193: warning: excess elements in struct initializer
amrmo_init.c:193: warning: (near initialization for `amrmo_pci_tbl[6]')
amrmo_init.c:194: warning: excess elements in struct initializer
amrmo_init.c:194: warning: (near initialization for `amrmo_pci_tbl[7]')
amrmo_init.c:194: warning: excess elements in struct initializer
amrmo_init.c:194: warning: (near initialization for `amrmo_pci_tbl[7]')
amrmo_init.c:195: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:195: warning: excess elements in struct initializer
amrmo_init.c:195: warning: (near initialization for `amrmo_pci_tbl[7]')
amrmo_init.c:195: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:195: warning: excess elements in struct initializer
amrmo_init.c:195: warning: (near initialization for `amrmo_pci_tbl[7]')
amrmo_init.c:195: warning: excess elements in struct initializer
amrmo_init.c:195: warning: (near initialization for `amrmo_pci_tbl[7]')
amrmo_init.c:195: warning: excess elements in struct initializer
amrmo_init.c:195: warning: (near initialization for `amrmo_pci_tbl[7]')
amrmo_init.c:195: warning: excess elements in struct initializer
amrmo_init.c:195: warning: (near initialization for `amrmo_pci_tbl[7]')
amrmo_init.c:196: warning: excess elements in struct initializer
amrmo_init.c:196: warning: (near initialization for `amrmo_pci_tbl[8]')
amrmo_init.c:196: warning: excess elements in struct initializer
amrmo_init.c:196: warning: (near initialization for `amrmo_pci_tbl[8]')
amrmo_init.c:197: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:197: warning: excess elements in struct initializer
amrmo_init.c:197: warning: (near initialization for `amrmo_pci_tbl[8]')
amrmo_init.c:197: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:197: warning: excess elements in struct initializer
amrmo_init.c:197: warning: (near initialization for `amrmo_pci_tbl[8]')
amrmo_init.c:197: warning: excess elements in struct initializer
amrmo_init.c:197: warning: (near initialization for `amrmo_pci_tbl[8]')
amrmo_init.c:197: warning: excess elements in struct initializer
amrmo_init.c:197: warning: (near initialization for `amrmo_pci_tbl[8]')
amrmo_init.c:197: warning: excess elements in struct initializer
amrmo_init.c:197: warning: (near initialization for `amrmo_pci_tbl[8]')
amrmo_init.c:198: warning: excess elements in struct initializer
amrmo_init.c:198: warning: (near initialization for `amrmo_pci_tbl[9]')
amrmo_init.c:198: warning: excess elements in struct initializer
amrmo_init.c:198: warning: (near initialization for `amrmo_pci_tbl[9]')
amrmo_init.c:199: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:199: warning: excess elements in struct initializer
amrmo_init.c:199: warning: (near initialization for `amrmo_pci_tbl[9]')
amrmo_init.c:199: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:199: warning: excess elements in struct initializer
amrmo_init.c:199: warning: (near initialization for `amrmo_pci_tbl[9]')
amrmo_init.c:199: warning: excess elements in struct initializer
amrmo_init.c:199: warning: (near initialization for `amrmo_pci_tbl[9]')
amrmo_init.c:199: warning: excess elements in struct initializer
amrmo_init.c:199: warning: (near initialization for `amrmo_pci_tbl[9]')
amrmo_init.c:199: warning: excess elements in struct initializer
amrmo_init.c:199: warning: (near initialization for `amrmo_pci_tbl[9]')
amrmo_init.c:200: warning: excess elements in struct initializer
amrmo_init.c:200: warning: (near initialization for `amrmo_pci_tbl[10]')
amrmo_init.c:200: warning: excess elements in struct initializer
amrmo_init.c:200: warning: (near initialization for `amrmo_pci_tbl[10]')
amrmo_init.c:201: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:201: warning: excess elements in struct initializer
amrmo_init.c:201: warning: (near initialization for `amrmo_pci_tbl[10]')
amrmo_init.c:201: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:201: warning: excess elements in struct initializer
amrmo_init.c:201: warning: (near initialization for `amrmo_pci_tbl[10]')
amrmo_init.c:201: warning: excess elements in struct initializer
amrmo_init.c:201: warning: (near initialization for `amrmo_pci_tbl[10]')
amrmo_init.c:201: warning: excess elements in struct initializer
amrmo_init.c:201: warning: (near initialization for `amrmo_pci_tbl[10]')
amrmo_init.c:201: warning: excess elements in struct initializer
amrmo_init.c:201: warning: (near initialization for `amrmo_pci_tbl[10]')
amrmo_init.c:202: warning: excess elements in struct initializer
amrmo_init.c:202: warning: (near initialization for `amrmo_pci_tbl[11]')
amrmo_init.c:202: warning: excess elements in struct initializer
amrmo_init.c:202: warning: (near initialization for `amrmo_pci_tbl[11]')
amrmo_init.c:203: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:203: warning: excess elements in struct initializer
amrmo_init.c:203: warning: (near initialization for `amrmo_pci_tbl[11]')
amrmo_init.c:203: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:203: warning: excess elements in struct initializer
amrmo_init.c:203: warning: (near initialization for `amrmo_pci_tbl[11]')
amrmo_init.c:203: warning: excess elements in struct initializer
amrmo_init.c:203: warning: (near initialization for `amrmo_pci_tbl[11]')
amrmo_init.c:203: warning: excess elements in struct initializer
amrmo_init.c:203: warning: (near initialization for `amrmo_pci_tbl[11]')
amrmo_init.c:203: warning: excess elements in struct initializer
amrmo_init.c:203: warning: (near initialization for `amrmo_pci_tbl[11]')
amrmo_init.c:204: warning: excess elements in struct initializer
amrmo_init.c:204: warning: (near initialization for `amrmo_pci_tbl[12]')
amrmo_init.c:204: warning: excess elements in struct initializer
amrmo_init.c:204: warning: (near initialization for `amrmo_pci_tbl[12]')
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[12]')
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[12]')
amrmo_init.c:205: warning: excess elements in struct initializer
amrmo_init.c:205: warning: (near initialization for `amrmo_pci_tbl[12]')
amrmo_init.c:205: warning: excess elements in struct initializer
amrmo_init.c:205: warning: (near initialization for `amrmo_pci_tbl[12]')
amrmo_init.c:205: warning: excess elements in struct initializer
amrmo_init.c:205: warning: (near initialization for `amrmo_pci_tbl[12]')
amrmo_init.c:206: warning: excess elements in struct initializer
amrmo_init.c:206: warning: (near initialization for `amrmo_pci_tbl[13]')
amrmo_init.c:206: warning: excess elements in struct initializer
amrmo_init.c:206: warning: (near initialization for `amrmo_pci_tbl[13]')
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[13]')
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[13]')
amrmo_init.c:207: warning: excess elements in struct initializer
amrmo_init.c:207: warning: (near initialization for `amrmo_pci_tbl[13]')
amrmo_init.c:207: warning: excess elements in struct initializer
amrmo_init.c:207: warning: (near initialization for `amrmo_pci_tbl[13]')
amrmo_init.c:207: warning: excess elements in struct initializer
amrmo_init.c:207: warning: (near initialization for `amrmo_pci_tbl[13]')
amrmo_init.c:210: warning: excess elements in struct initializer
amrmo_init.c:210: warning: (near initialization for `amrmo_pci_tbl[14]')
amrmo_init.c:210: warning: excess elements in struct initializer
amrmo_init.c:210: warning: (near initialization for `amrmo_pci_tbl[14]')
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[14]')
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[14]')
amrmo_init.c:211: warning: excess elements in struct initializer
amrmo_init.c:211: warning: (near initialization for `amrmo_pci_tbl[14]')
amrmo_init.c:211: warning: excess elements in struct initializer
amrmo_init.c:211: warning: (near initialization for `amrmo_pci_tbl[14]')
amrmo_init.c:211: warning: excess elements in struct initializer
amrmo_init.c:211: warning: (near initialization for `amrmo_pci_tbl[14]')
amrmo_init.c:212: warning: excess elements in struct initializer
amrmo_init.c:212: warning: (near initialization for `amrmo_pci_tbl[15]')
amrmo_init.c:212: warning: excess elements in struct initializer
amrmo_init.c:212: warning: (near initialization for `amrmo_pci_tbl[15]')
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[15]')
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[15]')
amrmo_init.c:213: warning: excess elements in struct initializer
amrmo_init.c:213: warning: (near initialization for `amrmo_pci_tbl[15]')
amrmo_init.c:213: warning: excess elements in struct initializer
amrmo_init.c:213: warning: (near initialization for `amrmo_pci_tbl[15]')
amrmo_init.c:213: warning: excess elements in struct initializer
amrmo_init.c:213: warning: (near initialization for `amrmo_pci_tbl[15]')
amrmo_init.c:214: warning: excess elements in struct initializer
amrmo_init.c:214: warning: (near initialization for `amrmo_pci_tbl[16]')
amrmo_init.c:214: warning: excess elements in struct initializer
amrmo_init.c:214: warning: (near initialization for `amrmo_pci_tbl[16]')
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[16]')
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[16]')
amrmo_init.c:215: warning: excess elements in struct initializer
amrmo_init.c:215: warning: (near initialization for `amrmo_pci_tbl[16]')
amrmo_init.c:215: warning: excess elements in struct initializer
amrmo_init.c:215: warning: (near initialization for `amrmo_pci_tbl[16]')
amrmo_init.c:215: warning: excess elements in struct initializer
amrmo_init.c:215: warning: (near initialization for `amrmo_pci_tbl[16]')
amrmo_init.c:220: warning: excess elements in struct initializer
amrmo_init.c:220: warning: (near initialization for `amrmo_pci_tbl[17]')
amrmo_init.c:220: warning: excess elements in struct initializer
amrmo_init.c:220: warning: (near initialization for `amrmo_pci_tbl[17]')
amrmo_init.c:221: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:221: warning: excess elements in struct initializer
amrmo_init.c:221: warning: (near initialization for `amrmo_pci_tbl[17]')
amrmo_init.c:221: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:221: warning: excess elements in struct initializer
amrmo_init.c:221: warning: (near initialization for `amrmo_pci_tbl[17]')
amrmo_init.c:221: warning: excess elements in struct initializer
amrmo_init.c:221: warning: (near initialization for `amrmo_pci_tbl[17]')
amrmo_init.c:221: warning: excess elements in struct initializer
amrmo_init.c:221: warning: (near initialization for `amrmo_pci_tbl[17]')
amrmo_init.c:221: warning: excess elements in struct initializer
amrmo_init.c:221: warning: (near initialization for `amrmo_pci_tbl[17]')
amrmo_init.c:222: warning: excess elements in struct initializer
amrmo_init.c:222: warning: (near initialization for `amrmo_pci_tbl[18]')
amrmo_init.c:225: sizeof applied to an incomplete type
amrmo_init.c: In function `amr_mod_usage_increase':
amrmo_init.c:229: warning: implicit declaration of function `atomic_inc'
amrmo_init.c:229: union has no member named `usecount'
amrmo_init.c: In function `amr_mod_usage_decrease':
amrmo_init.c:233: warning: implicit declaration of function `atomic_dec'
amrmo_init.c:233: union has no member named `usecount'
amrmo_init.c: At top level:
amrmo_init.c:236: warning: `struct pt_regs' declared inside parameter list
amrmo_init.c:236: warning: its scope is only this definition or declaration, which is probably not what you want
amrmo_init.c: In function `amrmo_probe':
amrmo_init.c:260: warning: implicit declaration of function `printk'
amrmo_init.c:260: `KERN_INFO' undeclared (first use in this function)
amrmo_init.c:260: (Each undeclared identifier is reported only once
amrmo_init.c:260: for each function it appears in.)
amrmo_init.c:260: parse error before string constant
amrmo_init.c:264: dereferencing pointer to incomplete type
amrmo_init.c:265: dereferencing pointer to incomplete type
amrmo_init.c:267: `KERN_WARNING' undeclared (first use in this function)
amrmo_init.c:267: parse error before string constant
amrmo_init.c:269: `ENODEV' undeclared (first use in this function)
amrmo_init.c:272: warning: implicit declaration of function `pci_enable_device'
amrmo_init.c:273: dereferencing pointer to incomplete type
amrmo_init.c:276: warning: implicit declaration of function `kmalloc'
amrmo_init.c:276: `GFP_KERNEL' undeclared (first use in this function)
amrmo_init.c:276: warning: assignment makes pointer from integer without a cast
amrmo_init.c:278: `ENOMEM' undeclared (first use in this function)
amrmo_init.c:279: warning: implicit declaration of function `memset'
amrmo_init.c:281: dereferencing pointer to incomplete type
amrmo_init.c:284: dereferencing pointer to incomplete type
amrmo_init.c:285: warning: implicit declaration of function `pci_resource_flags'
amrmo_init.c:285: `IORESOURCE_MEM' undeclared (first use in this function)
amrmo_init.c:286: warning: implicit declaration of function `pci_resource_start'
amrmo_init.c:298: dereferencing pointer to incomplete type
amrmo_init.c:302: warning: implicit declaration of function `kfree'
amrmo_init.c:306: warning: implicit declaration of function `pci_set_master'
amrmo_init.c:308: warning: implicit declaration of function `pci_request_regions'
amrmo_init.c:309: `KERN_ERR' undeclared (first use in this function)
amrmo_init.c:309: parse error before string constant
amrmo_init.c:312: warning: implicit declaration of function `request_irq'
amrmo_init.c:312: `SA_SHIRQ' undeclared (first use in this function)
amrmo_init.c:313: parse error before string constant
amrmo_init.c:314: warning: implicit declaration of function `pci_release_regions'
amrmo_init.c:318: warning: implicit declaration of function `pci_set_drvdata'
amrmo_init.c:324: warning: implicit declaration of function `pci_disable_device'
amrmo_init.c: In function `amrmo_remove':
amrmo_init.c:330: warning: implicit declaration of function `pci_get_drvdata'
amrmo_init.c:330: warning: initialization makes pointer from integer without a cast
amrmo_init.c:332: warning: implicit declaration of function `free_irq'
amrmo_init.c:335: `NULL' undeclared (first use in this function)
amrmo_init.c: At top level:
amrmo_init.c:352: variable `amrmo_pci_driver' has initializer but incomplete type
amrmo_init.c:353: unknown field `name' specified in initializer
amrmo_init.c:353: warning: excess elements in struct initializer
amrmo_init.c:353: warning: (near initialization for `amrmo_pci_driver')
amrmo_init.c:354: unknown field `id_table' specified in initializer
amrmo_init.c:354: warning: excess elements in struct initializer
amrmo_init.c:354: warning: (near initialization for `amrmo_pci_driver')
amrmo_init.c:355: unknown field `probe' specified in initializer
amrmo_init.c:355: warning: excess elements in struct initializer
amrmo_init.c:355: warning: (near initialization for `amrmo_pci_driver')
amrmo_init.c:356: unknown field `remove' specified in initializer
amrmo_init.c:356: warning: excess elements in struct initializer
amrmo_init.c:356: warning: (near initialization for `amrmo_pci_driver')
amrmo_init.c: In function `amrmo_init':
amrmo_init.c:366: warning: implicit declaration of function `pci_present'
amrmo_init.c:367: `ENODEV' undeclared (first use in this function)
amrmo_init.c:369: `KERN_INFO' undeclared (first use in this function)
amrmo_init.c:369: parse error before string constant
amrmo_init.c:373: warning: implicit declaration of function `pci_for_each_dev'
amrmo_init.c:373: parse error before '{' token
amrmo_init.c:379: dereferencing pointer to incomplete type
amrmo_init.c:379: dereferencing pointer to incomplete type
amrmo_init.c:380: dereferencing pointer to incomplete type
amrmo_init.c:381: dereferencing pointer to incomplete type
amrmo_init.c:381: `NULL' undeclared (first use in this function)
amrmo_init.c: At top level:
amrmo_init.c:383: parse error before '}' token
amrmo_init.c: In function `amrmo_exit':
amrmo_init.c:395: warning: implicit declaration of function `pci_unregister_driver'
amrmo_init.c: At top level:
amrmo_init.c:352: storage size of `amrmo_pci_driver' isn't known
make: *** [amrmo_init.o] Error 1
[root@localhost redhat8.0]# make install-amr
gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -IKERNEL_INCLUDES=/usr/src/linux-2.4.18-14/include/ -DMODVERSIONS --include KERNEL_INCLUDES=/usr/src/linux-2.4.18-14/include//linux/modversions.h -o kernel-ver.o -c kernel-ver.c
kernel-ver.c: KERNEL_INCLUDES=/usr/src/linux-2.4.18-14/include//linux/modversions.h: No such file or directory
make: *** [kernel-ver.o] Error 1
[root@localhost redhat8.0]# make clean
rm -f slamrmo.o slusb.o slmdm.o slfax.o mdm_init.o mdm_sltty.o mdm_country.o fax_init.o amrmo_init.o usb_st7554.o editme.o sysdep.o sysdep_linux.o sysdep_pci.o kernel-ver kernel-ver.o
rm -f *.modules
[root@localhost redhat8.0]# make
gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -IKERNEL_INCLUDES=/usr/src/linux-2.4.18-14/include/ -DMODVERSIONS --include KERNEL_INCLUDES=/usr/src/linux-2.4.18-14/include//linux/modversions.h -o amrmo_init.o -c amrmo_init.c
amrmo_init.c: KERNEL_INCLUDES=/usr/src/linux-2.4.18-14/include//linux/modversions.h: No such file or directory
amrmo_init.c:179: elements of array `amrmo_pci_tbl' have incomplete type
amrmo_init.c:180: warning: excess elements in struct initializer
amrmo_init.c:180: warning: (near initialization for `amrmo_pci_tbl[0]')
amrmo_init.c:180: warning: excess elements in struct initializer
amrmo_init.c:180: warning: (near initialization for `amrmo_pci_tbl[0]')
amrmo_init.c:181: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:181: warning: excess elements in struct initializer
amrmo_init.c:181: warning: (near initialization for `amrmo_pci_tbl[0]')
amrmo_init.c:181: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:181: warning: excess elements in struct initializer
amrmo_init.c:181: warning: (near initialization for `amrmo_pci_tbl[0]')
amrmo_init.c:181: warning: excess elements in struct initializer
amrmo_init.c:181: warning: (near initialization for `amrmo_pci_tbl[0]')
amrmo_init.c:181: warning: excess elements in struct initializer
amrmo_init.c:181: warning: (near initialization for `amrmo_pci_tbl[0]')
amrmo_init.c:181: warning: excess elements in struct initializer
amrmo_init.c:181: warning: (near initialization for `amrmo_pci_tbl[0]')
amrmo_init.c:182: warning: excess elements in struct initializer
amrmo_init.c:182: warning: (near initialization for `amrmo_pci_tbl[1]')
amrmo_init.c:182: warning: excess elements in struct initializer
amrmo_init.c:182: warning: (near initialization for `amrmo_pci_tbl[1]')
amrmo_init.c:183: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:183: warning: excess elements in struct initializer
amrmo_init.c:183: warning: (near initialization for `amrmo_pci_tbl[1]')
amrmo_init.c:183: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:183: warning: excess elements in struct initializer
amrmo_init.c:183: warning: (near initialization for `amrmo_pci_tbl[1]')
amrmo_init.c:183: warning: excess elements in struct initializer
amrmo_init.c:183: warning: (near initialization for `amrmo_pci_tbl[1]')
amrmo_init.c:183: warning: excess elements in struct initializer
amrmo_init.c:183: warning: (near initialization for `amrmo_pci_tbl[1]')
amrmo_init.c:183: warning: excess elements in struct initializer
amrmo_init.c:183: warning: (near initialization for `amrmo_pci_tbl[1]')
amrmo_init.c:184: warning: excess elements in struct initializer
amrmo_init.c:184: warning: (near initialization for `amrmo_pci_tbl[2]')
amrmo_init.c:184: warning: excess elements in struct initializer
amrmo_init.c:184: warning: (near initialization for `amrmo_pci_tbl[2]')
amrmo_init.c:185: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:185: warning: excess elements in struct initializer
amrmo_init.c:185: warning: (near initialization for `amrmo_pci_tbl[2]')
amrmo_init.c:185: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:185: warning: excess elements in struct initializer
amrmo_init.c:185: warning: (near initialization for `amrmo_pci_tbl[2]')
amrmo_init.c:185: warning: excess elements in struct initializer
amrmo_init.c:185: warning: (near initialization for `amrmo_pci_tbl[2]')
amrmo_init.c:185: warning: excess elements in struct initializer
amrmo_init.c:185: warning: (near initialization for `amrmo_pci_tbl[2]')
amrmo_init.c:185: warning: excess elements in struct initializer
amrmo_init.c:185: warning: (near initialization for `amrmo_pci_tbl[2]')
amrmo_init.c:186: warning: excess elements in struct initializer
amrmo_init.c:186: warning: (near initialization for `amrmo_pci_tbl[3]')
amrmo_init.c:186: warning: excess elements in struct initializer
amrmo_init.c:186: warning: (near initialization for `amrmo_pci_tbl[3]')
amrmo_init.c:187: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:187: warning: excess elements in struct initializer
amrmo_init.c:187: warning: (near initialization for `amrmo_pci_tbl[3]')
amrmo_init.c:187: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:187: warning: excess elements in struct initializer
amrmo_init.c:187: warning: (near initialization for `amrmo_pci_tbl[3]')
amrmo_init.c:187: warning: excess elements in struct initializer
amrmo_init.c:187: warning: (near initialization for `amrmo_pci_tbl[3]')
amrmo_init.c:187: warning: excess elements in struct initializer
amrmo_init.c:187: warning: (near initialization for `amrmo_pci_tbl[3]')
amrmo_init.c:187: warning: excess elements in struct initializer
amrmo_init.c:187: warning: (near initialization for `amrmo_pci_tbl[3]')
amrmo_init.c:188: warning: excess elements in struct initializer
amrmo_init.c:188: warning: (near initialization for `amrmo_pci_tbl[4]')
amrmo_init.c:188: warning: excess elements in struct initializer
amrmo_init.c:188: warning: (near initialization for `amrmo_pci_tbl[4]')
amrmo_init.c:189: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:189: warning: excess elements in struct initializer
amrmo_init.c:189: warning: (near initialization for `amrmo_pci_tbl[4]')
amrmo_init.c:189: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:189: warning: excess elements in struct initializer
amrmo_init.c:189: warning: (near initialization for `amrmo_pci_tbl[4]')
amrmo_init.c:189: warning: excess elements in struct initializer
amrmo_init.c:189: warning: (near initialization for `amrmo_pci_tbl[4]')
amrmo_init.c:189: warning: excess elements in struct initializer
amrmo_init.c:189: warning: (near initialization for `amrmo_pci_tbl[4]')
amrmo_init.c:189: warning: excess elements in struct initializer
amrmo_init.c:189: warning: (near initialization for `amrmo_pci_tbl[4]')
amrmo_init.c:190: warning: excess elements in struct initializer
amrmo_init.c:190: warning: (near initialization for `amrmo_pci_tbl[5]')
amrmo_init.c:190: warning: excess elements in struct initializer
amrmo_init.c:190: warning: (near initialization for `amrmo_pci_tbl[5]')
amrmo_init.c:191: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:191: warning: excess elements in struct initializer
amrmo_init.c:191: warning: (near initialization for `amrmo_pci_tbl[5]')
amrmo_init.c:191: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:191: warning: excess elements in struct initializer
amrmo_init.c:191: warning: (near initialization for `amrmo_pci_tbl[5]')
amrmo_init.c:191: warning: excess elements in struct initializer
amrmo_init.c:191: warning: (near initialization for `amrmo_pci_tbl[5]')
amrmo_init.c:191: warning: excess elements in struct initializer
amrmo_init.c:191: warning: (near initialization for `amrmo_pci_tbl[5]')
amrmo_init.c:191: warning: excess elements in struct initializer
amrmo_init.c:191: warning: (near initialization for `amrmo_pci_tbl[5]')
amrmo_init.c:192: warning: excess elements in struct initializer
amrmo_init.c:192: warning: (near initialization for `amrmo_pci_tbl[6]')
amrmo_init.c:192: warning: excess elements in struct initializer
amrmo_init.c:192: warning: (near initialization for `amrmo_pci_tbl[6]')
amrmo_init.c:193: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:193: warning: excess elements in struct initializer
amrmo_init.c:193: warning: (near initialization for `amrmo_pci_tbl[6]')
amrmo_init.c:193: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:193: warning: excess elements in struct initializer
amrmo_init.c:193: warning: (near initialization for `amrmo_pci_tbl[6]')
amrmo_init.c:193: warning: excess elements in struct initializer
amrmo_init.c:193: warning: (near initialization for `amrmo_pci_tbl[6]')
amrmo_init.c:193: warning: excess elements in struct initializer
amrmo_init.c:193: warning: (near initialization for `amrmo_pci_tbl[6]')
amrmo_init.c:193: warning: excess elements in struct initializer
amrmo_init.c:193: warning: (near initialization for `amrmo_pci_tbl[6]')
amrmo_init.c:194: warning: excess elements in struct initializer
amrmo_init.c:194: warning: (near initialization for `amrmo_pci_tbl[7]')
amrmo_init.c:194: warning: excess elements in struct initializer
amrmo_init.c:194: warning: (near initialization for `amrmo_pci_tbl[7]')
amrmo_init.c:195: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:195: warning: excess elements in struct initializer
amrmo_init.c:195: warning: (near initialization for `amrmo_pci_tbl[7]')
amrmo_init.c:195: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:195: warning: excess elements in struct initializer
amrmo_init.c:195: warning: (near initialization for `amrmo_pci_tbl[7]')
amrmo_init.c:195: warning: excess elements in struct initializer
amrmo_init.c:195: warning: (near initialization for `amrmo_pci_tbl[7]')
amrmo_init.c:195: warning: excess elements in struct initializer
amrmo_init.c:195: warning: (near initialization for `amrmo_pci_tbl[7]')
amrmo_init.c:195: warning: excess elements in struct initializer
amrmo_init.c:195: warning: (near initialization for `amrmo_pci_tbl[7]')
amrmo_init.c:196: warning: excess elements in struct initializer
amrmo_init.c:196: warning: (near initialization for `amrmo_pci_tbl[8]')
amrmo_init.c:196: warning: excess elements in struct initializer
amrmo_init.c:196: warning: (near initialization for `amrmo_pci_tbl[8]')
amrmo_init.c:197: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:197: warning: excess elements in struct initializer
amrmo_init.c:197: warning: (near initialization for `amrmo_pci_tbl[8]')
amrmo_init.c:197: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:197: warning: excess elements in struct initializer
amrmo_init.c:197: warning: (near initialization for `amrmo_pci_tbl[8]')
amrmo_init.c:197: warning: excess elements in struct initializer
amrmo_init.c:197: warning: (near initialization for `amrmo_pci_tbl[8]')
amrmo_init.c:197: warning: excess elements in struct initializer
amrmo_init.c:197: warning: (near initialization for `amrmo_pci_tbl[8]')
amrmo_init.c:197: warning: excess elements in struct initializer
amrmo_init.c:197: warning: (near initialization for `amrmo_pci_tbl[8]')
amrmo_init.c:198: warning: excess elements in struct initializer
amrmo_init.c:198: warning: (near initialization for `amrmo_pci_tbl[9]')
amrmo_init.c:198: warning: excess elements in struct initializer
amrmo_init.c:198: warning: (near initialization for `amrmo_pci_tbl[9]')
amrmo_init.c:199: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:199: warning: excess elements in struct initializer
amrmo_init.c:199: warning: (near initialization for `amrmo_pci_tbl[9]')
amrmo_init.c:199: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:199: warning: excess elements in struct initializer
amrmo_init.c:199: warning: (near initialization for `amrmo_pci_tbl[9]')
amrmo_init.c:199: warning: excess elements in struct initializer
amrmo_init.c:199: warning: (near initialization for `amrmo_pci_tbl[9]')
amrmo_init.c:199: warning: excess elements in struct initializer
amrmo_init.c:199: warning: (near initialization for `amrmo_pci_tbl[9]')
amrmo_init.c:199: warning: excess elements in struct initializer
amrmo_init.c:199: warning: (near initialization for `amrmo_pci_tbl[9]')
amrmo_init.c:200: warning: excess elements in struct initializer
amrmo_init.c:200: warning: (near initialization for `amrmo_pci_tbl[10]')
amrmo_init.c:200: warning: excess elements in struct initializer
amrmo_init.c:200: warning: (near initialization for `amrmo_pci_tbl[10]')
amrmo_init.c:201: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:201: warning: excess elements in struct initializer
amrmo_init.c:201: warning: (near initialization for `amrmo_pci_tbl[10]')
amrmo_init.c:201: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:201: warning: excess elements in struct initializer
amrmo_init.c:201: warning: (near initialization for `amrmo_pci_tbl[10]')
amrmo_init.c:201: warning: excess elements in struct initializer
amrmo_init.c:201: warning: (near initialization for `amrmo_pci_tbl[10]')
amrmo_init.c:201: warning: excess elements in struct initializer
amrmo_init.c:201: warning: (near initialization for `amrmo_pci_tbl[10]')
amrmo_init.c:201: warning: excess elements in struct initializer
amrmo_init.c:201: warning: (near initialization for `amrmo_pci_tbl[10]')
amrmo_init.c:202: warning: excess elements in struct initializer
amrmo_init.c:202: warning: (near initialization for `amrmo_pci_tbl[11]')
amrmo_init.c:202: warning: excess elements in struct initializer
amrmo_init.c:202: warning: (near initialization for `amrmo_pci_tbl[11]')
amrmo_init.c:203: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:203: warning: excess elements in struct initializer
amrmo_init.c:203: warning: (near initialization for `amrmo_pci_tbl[11]')
amrmo_init.c:203: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:203: warning: excess elements in struct initializer
amrmo_init.c:203: warning: (near initialization for `amrmo_pci_tbl[11]')
amrmo_init.c:203: warning: excess elements in struct initializer
amrmo_init.c:203: warning: (near initialization for `amrmo_pci_tbl[11]')
amrmo_init.c:203: warning: excess elements in struct initializer
amrmo_init.c:203: warning: (near initialization for `amrmo_pci_tbl[11]')
amrmo_init.c:203: warning: excess elements in struct initializer
amrmo_init.c:203: warning: (near initialization for `amrmo_pci_tbl[11]')
amrmo_init.c:204: warning: excess elements in struct initializer
amrmo_init.c:204: warning: (near initialization for `amrmo_pci_tbl[12]')
amrmo_init.c:204: warning: excess elements in struct initializer
amrmo_init.c:204: warning: (near initialization for `amrmo_pci_tbl[12]')
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[12]')
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[12]')
amrmo_init.c:205: warning: excess elements in struct initializer
amrmo_init.c:205: warning: (near initialization for `amrmo_pci_tbl[12]')
amrmo_init.c:205: warning: excess elements in struct initializer
amrmo_init.c:205: warning: (near initialization for `amrmo_pci_tbl[12]')
amrmo_init.c:205: warning: excess elements in struct initializer
amrmo_init.c:205: warning: (near initialization for `amrmo_pci_tbl[12]')
amrmo_init.c:206: warning: excess elements in struct initializer
amrmo_init.c:206: warning: (near initialization for `amrmo_pci_tbl[13]')
amrmo_init.c:206: warning: excess elements in struct initializer
amrmo_init.c:206: warning: (near initialization for `amrmo_pci_tbl[13]')
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[13]')
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[13]')
amrmo_init.c:207: warning: excess elements in struct initializer
amrmo_init.c:207: warning: (near initialization for `amrmo_pci_tbl[13]')
amrmo_init.c:207: warning: excess elements in struct initializer
amrmo_init.c:207: warning: (near initialization for `amrmo_pci_tbl[13]')
amrmo_init.c:207: warning: excess elements in struct initializer
amrmo_init.c:207: warning: (near initialization for `amrmo_pci_tbl[13]')
amrmo_init.c:210: warning: excess elements in struct initializer
amrmo_init.c:210: warning: (near initialization for `amrmo_pci_tbl[14]')
amrmo_init.c:210: warning: excess elements in struct initializer
amrmo_init.c:210: warning: (near initialization for `amrmo_pci_tbl[14]')
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[14]')
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[14]')
amrmo_init.c:211: warning: excess elements in struct initializer
amrmo_init.c:211: warning: (near initialization for `amrmo_pci_tbl[14]')
amrmo_init.c:211: warning: excess elements in struct initializer
amrmo_init.c:211: warning: (near initialization for `amrmo_pci_tbl[14]')
amrmo_init.c:211: warning: excess elements in struct initializer
amrmo_init.c:211: warning: (near initialization for `amrmo_pci_tbl[14]')
amrmo_init.c:212: warning: excess elements in struct initializer
amrmo_init.c:212: warning: (near initialization for `amrmo_pci_tbl[15]')
amrmo_init.c:212: warning: excess elements in struct initializer
amrmo_init.c:212: warning: (near initialization for `amrmo_pci_tbl[15]')
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[15]')
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[15]')
amrmo_init.c:213: warning: excess elements in struct initializer
amrmo_init.c:213: warning: (near initialization for `amrmo_pci_tbl[15]')
amrmo_init.c:213: warning: excess elements in struct initializer
amrmo_init.c:213: warning: (near initialization for `amrmo_pci_tbl[15]')
amrmo_init.c:213: warning: excess elements in struct initializer
amrmo_init.c:213: warning: (near initialization for `amrmo_pci_tbl[15]')
amrmo_init.c:214: warning: excess elements in struct initializer
amrmo_init.c:214: warning: (near initialization for `amrmo_pci_tbl[16]')
amrmo_init.c:214: warning: excess elements in struct initializer
amrmo_init.c:214: warning: (near initialization for `amrmo_pci_tbl[16]')
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[16]')
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[16]')
amrmo_init.c:215: warning: excess elements in struct initializer
amrmo_init.c:215: warning: (near initialization for `amrmo_pci_tbl[16]')
amrmo_init.c:215: warning: excess elements in struct initializer
amrmo_init.c:215: warning: (near initialization for `amrmo_pci_tbl[16]')
amrmo_init.c:215: warning: excess elements in struct initializer
amrmo_init.c:215: warning: (near initialization for `amrmo_pci_tbl[16]')
amrmo_init.c:220: warning: excess elements in struct initializer
amrmo_init.c:220: warning: (near initialization for `amrmo_pci_tbl[17]')
amrmo_init.c:220: warning: excess elements in struct initializer
amrmo_init.c:220: warning: (near initialization for `amrmo_pci_tbl[17]')
amrmo_init.c:221: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:221: warning: excess elements in struct initializer
amrmo_init.c:221: warning: (near initialization for `amrmo_pci_tbl[17]')
amrmo_init.c:221: `PCI_ANY_ID' undeclared here (not in a function)
amrmo_init.c:221: warning: excess elements in struct initializer
amrmo_init.c:221: warning: (near initialization for `amrmo_pci_tbl[17]')
amrmo_init.c:221: warning: excess elements in struct initializer
amrmo_init.c:221: warning: (near initialization for `amrmo_pci_tbl[17]')
amrmo_init.c:221: warning: excess elements in struct initializer
amrmo_init.c:221: warning: (near initialization for `amrmo_pci_tbl[17]')
amrmo_init.c:221: warning: excess elements in struct initializer
amrmo_init.c:221: warning: (near initialization for `amrmo_pci_tbl[17]')
amrmo_init.c:222: warning: excess elements in struct initializer
amrmo_init.c:222: warning: (near initialization for `amrmo_pci_tbl[18]')
amrmo_init.c:225: sizeof applied to an incomplete type
amrmo_init.c: In function `amr_mod_usage_increase':
amrmo_init.c:229: warning: implicit declaration of function `atomic_inc'
amrmo_init.c:229: union has no member named `usecount'
amrmo_init.c: In function `amr_mod_usage_decrease':
amrmo_init.c:233: warning: implicit declaration of function `atomic_dec'
amrmo_init.c:233: union has no member named `usecount'
amrmo_init.c: At top level:
amrmo_init.c:236: warning: `struct pt_regs' declared inside parameter list
amrmo_init.c:236: warning: its scope is only this definition or declaration, which is probably not what you want
amrmo_init.c: In function `amrmo_probe':
amrmo_init.c:260: warning: implicit declaration of function `printk'
amrmo_init.c:260: `KERN_INFO' undeclared (first use in this function)
amrmo_init.c:260: (Each undeclared identifier is reported only once
amrmo_init.c:260: for each function it appears in.)
amrmo_init.c:260: parse error before string constant
amrmo_init.c:264: dereferencing pointer to incomplete type
amrmo_init.c:265: dereferencing pointer to incomplete type
amrmo_init.c:267: `KERN_WARNING' undeclared (first use in this function)
amrmo_init.c:267: parse error before string constant
amrmo_init.c:269: `ENODEV' undeclared (first use in this function)
amrmo_init.c:272: warning: implicit declaration of function `pci_enable_device'
amrmo_init.c:273: dereferencing pointer to incomplete type
amrmo_init.c:276: warning: implicit declaration of function `kmalloc'
amrmo_init.c:276: `GFP_KERNEL' undeclared (first use in this function)
amrmo_init.c:276: warning: assignment makes pointer from integer without a cast
amrmo_init.c:278: `ENOMEM' undeclared (first use in this function)
amrmo_init.c:279: warning: implicit declaration of function `memset'
amrmo_init.c:281: dereferencing pointer to incomplete type
amrmo_init.c:284: dereferencing pointer to incomplete type
amrmo_init.c:285: warning: implicit declaration of function `pci_resource_flags'
amrmo_init.c:285: `IORESOURCE_MEM' undeclared (first use in this function)
amrmo_init.c:286: warning: implicit declaration of function `pci_resource_start'
amrmo_init.c:298: dereferencing pointer to incomplete type
amrmo_init.c:302: warning: implicit declaration of function `kfree'
amrmo_init.c:306: warning: implicit declaration of function `pci_set_master'
amrmo_init.c:308: warning: implicit declaration of function `pci_request_regions'
amrmo_init.c:309: `KERN_ERR' undeclared (first use in this function)
amrmo_init.c:309: parse error before string constant
amrmo_init.c:312: warning: implicit declaration of function `request_irq'
amrmo_init.c:312: `SA_SHIRQ' undeclared (first use in this function)
amrmo_init.c:313: parse error before string constant
amrmo_init.c:314: warning: implicit declaration of function `pci_release_regions'
amrmo_init.c:318: warning: implicit declaration of function `pci_set_drvdata'
amrmo_init.c:324: warning: implicit declaration of function `pci_disable_device'
amrmo_init.c: In function `amrmo_remove':
amrmo_init.c:330: warning: implicit declaration of function `pci_get_drvdata'
amrmo_init.c:330: warning: initialization makes pointer from integer without a cast
amrmo_init.c:332: warning: implicit declaration of function `free_irq'
amrmo_init.c:335: `NULL' undeclared (first use in this function)
amrmo_init.c: At top level:
amrmo_init.c:352: variable `amrmo_pci_driver' has initializer but incomplete type
amrmo_init.c:353: unknown field `name' specified in initializer
amrmo_init.c:353: warning: excess elements in struct initializer
amrmo_init.c:353: warning: (near initialization for `amrmo_pci_driver')
amrmo_init.c:354: unknown field `id_table' specified in initializer
amrmo_init.c:354: warning: excess elements in struct initializer
amrmo_init.c:354: warning: (near initialization for `amrmo_pci_driver')
amrmo_init.c:355: unknown field `probe' specified in initializer
amrmo_init.c:355: warning: excess elements in struct initializer
amrmo_init.c:355: warning: (near initialization for `amrmo_pci_driver')
amrmo_init.c:356: unknown field `remove' specified in initializer
amrmo_init.c:356: warning: excess elements in struct initializer
amrmo_init.c:356: warning: (near initialization for `amrmo_pci_driver')
amrmo_init.c: In function `amrmo_init':
amrmo_init.c:366: warning: implicit declaration of function `pci_present'
amrmo_init.c:367: `ENODEV' undeclared (first use in this function)
amrmo_init.c:369: `KERN_INFO' undeclared (first use in this function)
amrmo_init.c:369: parse error before string constant
amrmo_init.c:373: warning: implicit declaration of function `pci_for_each_dev'
amrmo_init.c:373: parse error before '{' token
amrmo_init.c:379: dereferencing pointer to incomplete type
amrmo_init.c:379: dereferencing pointer to incomplete type
amrmo_init.c:380: dereferencing pointer to incomplete type
amrmo_init.c:381: dereferencing pointer to incomplete type
amrmo_init.c:381: `NULL' undeclared (first use in this function)
amrmo_init.c: At top level:
amrmo_init.c:383: parse error before '}' token
amrmo_init.c: In function `amrmo_exit':
amrmo_init.c:395: warning: implicit declaration of function `pci_unregister_driver'
amrmo_init.c: At top level:
amrmo_init.c:352: storage size of `amrmo_pci_driver' isn't known
make: *** [amrmo_init.o] Error 1
帮助文档 :
Smart Link Ltd.
http://www.smlink.com
Apr 12, 2002
Smart Link Soft Modem for Linux
-------------------------------
Introduction
============
This is Smart Link Soft Modem for Linux version 2.X. It provides
full-featured 56K Voice Fax Modem.
Features
========
Modem: V.92, V.90, V.34, V.32bis, V.23, V.22, V.21, Bell 103/212.
Flow control: V.42, MNP 2-4.
Compression: V.44, V.42bis, MNP5.
Fax: Class 1.
Voice: ADPCM voice compression, Digital Answering Machine.
Requirements
============
CPU: Intel Pentium II, Celron. AMD K6, Cyrix 400MHz or higher.
Memory: 64MB (may work also with 32MB).
OS: Linux 2.4 series.
Supported Hardware
==================
HAMR5600 based AMR/CNR/MDC/ACR modem cards on the following Southbridge
chips:
- Intel ICH0, ICH2
- Via 686A, 686B, 8231, 8233
- SiS 630
- ALI 1535.
SmartPCI56, SmartPCI561 based PCI modem cards.
SmartUSB56 based USB modem.
Installation
============
1. Unpack tar.gz package file:
$ gzip -dc slmdm-2.X.X.tar.gz | tar xf -
2. 'cd' to package directory:
$ cd slmdm-2.X.X
3. Review and edit (if need) 'Makefile'.
Note: Probably you will want to correct in Makefile path to your
local linux kernel header files:
KERNEL_INCLUDES=/path/to/linux/include
Another way is to pass command line the parameter while
running 'make':
$ make KERNEL_INCLUDES=/path/to/linux/include ...
4. Run 'make' command to compile package:
$ make
5. Install.
If you are going to use AMR/CNR/PCI modem type (as superuser):
# make install-amr
, or
# make install-usb
if you are going to use USB modem.
It will install:
- modem kernel modules slmdm.o (modem core), slfax.o (fax)
into '/lib/modules/<kernel-version>/misc' directory
(standard linux modules' directory).
- hardware specific kernel module slamrmo.o (for AMR/CNR/PCI) or
slusb.o (for USB) into '/lib/modules/<kernel-version>/misc'
directory (standard linux modules' directory).
- country settings data file 'country.dat' into directory '/etc'.
Also it will:
- create character tty device entry '/dev/ttySL0' with major
number 212 and symbolic link 'dev/modem'.
- config you '/etc/modules.conf' file in order to provide
possibility for loading the modem modules into kernel on demand
automatically by kmod, when you are going to use them.
Note: currently you cannot use both AMR/CNR/PCI and USB Modems.
6. Config modem country.
You can configure your current country by using module parameters
'country' or 'country_code'.
Add 'options' directive line to file '/etc/modules.conf':
options slmdm country=<MyCountry>
, for example
options slmdm country=USA
, or use module parameter while module loading:
# modprobe slmdm country=<MyCountry>
Use 'slver -c' to see list of all supported countries and their
codes (utility 'slver' may be found in package directory).
Note: Command ATI7 shows installed country setting.
7. Using the modem.
Installation will automatically create character tty device entry
'/dev/ttySL0' with major number 212 and symbolic link '/dev/modem'.
Use one of them as modem device for your dialing application.
8. Uninstallation.
In package directory just type:
# make uninstall
Using RPM
=========
1. Build SRPM and RPM from tar.gz package:
In order to build RPM and SRPM run command:
# rpm -ta slmdm-2.X.X.tar.gz
It will build in your RPM directory:
- slmdm-2.X.X-Y.src.rpm - Source SRPM package
- slmdm-2.X.X-Y.i386.rpm - Core Modem RPM package
- slmdm-amr-2.X.X-Y.i386.rpm - AMR/CNR/PCI Modem driver
- slmdm-usb-2.X.X-Y.i386.rpm - USB Modem driver
2. Install
To install Modem core package run:
# rpm -i /path/to/slmdm-2.X.X-Y.i386.rpm
To install Modem hw driver run:
# rpm -i /path/to/slmdm-amr-2.X.X-Y.i386.rpm
if you are going to use AMR/CNR/PCI Modem, or
# rpm -i /path/to/slmdm-usb-2.X.X-Y.i386.rpm
if you are going to use SmartUSB56 Modem.
Note: currently you cannot install and use both AMR/CNR/PCI and USB Modems.
3. Uninstall.
# rpm -e slmdm slmdm-<amr|usb>
Getting Started
===============
After successful installation and configuration modules will be loaded on
demand if you are using 'kmod' in linux kernel.
Also you can load modules by hand:
# modprobe slamrmo
if you are using AMR/CNR/PCI modem, or
# modprobe slusb
if you are using SmartUSB56 Modem.
Troubleshooting
===============
If you get an error message during installation/configuration or loading
the modules try to see it in FAQ file.
Please report the problem to your modem provider or to us
([email protected]).
Customization
=============
Look at 'editme.c' file in package directory.
Feedback
========
Please send any feedbacks to Smart Link. See the Smart Link
web site for contact information (www.smlink.com) or to
[email protected].
各位老大救我...... |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|