Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13804 - Gentoo-sources-2.4.20-r1 3c59x.c error
Summary: Gentoo-sources-2.4.20-r1 3c59x.c error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-12 17:39 UTC by Wouter Coppens
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wouter Coppens 2003-01-12 17:39:09 UTC
The module 3c59x.c won't compile. 

Last error:
3c59x.c:367: warning: excess elements in struct initializer
3c59x.c:367: warning: (near initialization for `pci_tbl[38]')
3c59x.c:367: extra brace group at end of initializer
3c59x.c:367: (near initialization for `pci_tbl[38]')
3c59x.c:367: warning: excess elements in struct initializer
3c59x.c:367: warning: (near initialization for `pci_tbl[38]')
3c59x.c:368: `PCI_USES_MASTER' undeclared here (not in a function)
3c59x.c:368: `PCI_USES_IO' undeclared here (not in a function)
3c59x.c:368: `PCI_ADDR0' undeclared here (not in a function)
3c59x.c:368: warning: excess elements in struct initializer
3c59x.c:368: warning: (near initialization for `pci_tbl[38]')
3c59x.c:368: warning: excess elements in struct initializer
3c59x.c:368: warning: (near initialization for `pci_tbl[38]')
3c59x.c:368: warning: excess elements in struct initializer
3c59x.c:368: warning: (near initialization for `pci_tbl[38]')
3c59x.c:369: warning: excess elements in struct initializer
3c59x.c:369: warning: (near initialization for `pci_tbl[39]')
3c59x.c:372: variable `vortex_drv_id' has initializer but incomplete type
3c59x.c:373: warning: excess elements in struct initializer
3c59x.c:373: warning: (near initialization for `vortex_drv_id')
3c59x.c:373: `PCI_HOTSWAP' undeclared here (not in a function)
3c59x.c:373: warning: excess elements in struct initializer
3c59x.c:373: warning: (near initialization for `vortex_drv_id')
3c59x.c:373: warning: excess elements in struct initializer
3c59x.c:373: warning: (near initialization for `vortex_drv_id')
3c59x.c:373: warning: excess elements in struct initializer
3c59x.c:373: warning: (near initialization for `vortex_drv_id')
3c59x.c:374: warning: excess elements in struct initializer
3c59x.c:374: warning: (near initialization for `vortex_drv_id')
3c59x.c:374: warning: excess elements in struct initializer
3c59x.c:374: warning: (near initialization for `vortex_drv_id')
3c59x.c: In function `init_module':
3c59x.c:743: warning: implicit declaration of function `pci_drv_register'
3c59x.c: In function `vortex_probe1':
3c59x.c:821: invalid use of undefined type `struct pci_id_info'
3c59x.c:848: invalid use of undefined type `struct pci_id_info'
3c59x.c:1045: invalid use of undefined type `struct pci_id_info'
3c59x.c: In function `vortex_open':
3c59x.c:1067: warning: implicit declaration of function `acpi_wake'
3c59x.c: In function `start_operation1':
3c59x.c:1365: warning: implicit declaration of function `netif_start_tx_queue'
3c59x.c: In function `vortex_tx_timeout':
3c59x.c:1572: warning: implicit declaration of function `netif_unpause_tx_queue'
3c59x.c: In function `vortex_error':
3c59x.c:1621: `NETIF_MSG_MISC' undeclared (first use in this function)
3c59x.c:1621: (Each undeclared identifier is reported only once
3c59x.c:1621: for each function it appears in.)
3c59x.c: In function `vortex_start_xmit':
3c59x.c:1706: warning: implicit declaration of function `netif_pause_tx_queue'
3c59x.c:1721: warning: implicit declaration of function `netif_stop_tx_queue'
3c59x.c:1726: warning: implicit declaration of function `dev_free_skb'
3c59x.c: In function `vortex_interrupt':
3c59x.c:1885: warning: implicit declaration of function `netif_resume_tx_queue'
3c59x.c:1905: warning: implicit declaration of function `dev_free_skb_irq'
3c59x.c: In function `vortex_ioctl':
3c59x.c:2350: `SIOCGPARAMS' undeclared (first use in this function)
3c59x.c:2356: `SIOCSPARAMS' undeclared (first use in this function)
3c59x.c: In function `pwr_event':
3c59x.c:2538: `DRV_ATTACH' undeclared (first use in this function)
3c59x.c:2541: `DRV_SUSPEND' undeclared (first use in this function)
3c59x.c:2547: `DRV_RESUME' undeclared (first use in this function)
3c59x.c:2556: `DRV_DETACH' undeclared (first use in this function)
3c59x.c:2563: invalid use of undefined type `struct pci_id_info'
3c59x.c:2580: `DRV_PWR_WakeOn' undeclared (first use in this function)
3c59x.c:2589: warning: implicit declaration of function `acpi_set_pwr_state'
3c59x.c:2589: `ACPI_D3' undeclared (first use in this function)
3c59x.c: In function `cleanup_module':
3c59x.c:2604: warning: implicit declaration of function `pci_drv_unregister'
3c59x.c:2618: invalid use of undefined type `struct pci_id_info'
3c59x.c: At top level:
3c59x.c:372: storage size of `vortex_drv_id' isn't known
make[2]: *** [3c59x.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r1/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r1/drivers'
make: *** [_mod_drivers] Error 2
Comment 1 Brandon Low (RETIRED) gentoo-dev 2003-01-12 17:47:53 UTC
fixing... bad last minute patch for that driver.