[realtek] Missing/unknown header files

Kamil Ince kamil@ince.net
Sat, 17 Jun 2000 02:07:09 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0016_01BFD800.BE9B1F60
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit

----- Original Message -----
From: <sharkey@ale.physics.sunysb.edu>
To: "kamil" <kamil@ince.net>
Cc: <linux-realtek@beowulf.org>
Sent: 17 June 2000 01:41
Subject: Re: [realtek] Missing/unknown header files


>
> It's better to keep replies on the mailing list rather than just sending
> them to me personally.

sorry, just used the next button on the webpage, has been some time since I was
using mailing list ;-)

I have attached the outputs for:
rtl.blubb: gcc -DMODULE -Wall -Wstrict-prototypes -O6 - rtl8139.c
pciscan.blubb:
gcc -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall -Wstrict-prototypes -O6 -c
pci-scan.c

again sorry, hate my helplessness

>
> > This message was sent from Geocrawler.com by "kamil" <kamil@ince.net>
> >
> > hmm, I wonder what I am missing?
> > I got:
> > kern_compat.h - Rev1.2 1999/09/30
> > pci-scan.c - v1.00 4/15/2000
> > pci-scan.h - v1.00 2000/04/08
> > rtl8139.c - v1.09 4/08/2000
> >
> > all my efforts to compile pci-scan.h or rtl8139.c
> > fail with bunch of warnings :-(
>
> Can you be more specific?  (And note: "warnings" shouldn't actually cause
> a compilation to fail.  The compilation should only fail if the compiler
> sees an error.)
>
> > running on SUSE with 2.2.14
> > trying to get D-Link DFE-530TX+ up
> >
> > anyone who can help??
> > TIA
> >
> > Geocrawler.com - The Knowledge Archive
>
> Eric
>

------=_NextPart_000_0016_01BFD800.BE9B1F60
Content-Type: application/octet-stream;
	name="rtl.blubb"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="rtl.blubb"

In file included from rtl8139.c:123:=0A=
kern_compat.h:149: redeclaration of `enum pci_id_flags_bits'=0A=
kern_compat.h:151: conflicting types for `PCI_USES_IO'=0A=
pci-scan.h:20: previous declaration of `PCI_USES_IO'=0A=
kern_compat.h:151: conflicting types for `PCI_USES_MEM'=0A=
pci-scan.h:20: previous declaration of `PCI_USES_MEM'=0A=
kern_compat.h:151: conflicting types for `PCI_USES_MASTER'=0A=
pci-scan.h:20: previous declaration of `PCI_USES_MASTER'=0A=
kern_compat.h:153: conflicting types for `PCI_ADDR0'=0A=
pci-scan.h:22: previous declaration of `PCI_ADDR0'=0A=
kern_compat.h:153: conflicting types for `PCI_ADDR1'=0A=
pci-scan.h:22: previous declaration of `PCI_ADDR1'=0A=
kern_compat.h:153: conflicting types for `PCI_ADDR2'=0A=
pci-scan.h:22: previous declaration of `PCI_ADDR2'=0A=
kern_compat.h:153: conflicting types for `PCI_ADDR3'=0A=
pci-scan.h:22: previous declaration of `PCI_ADDR3'=0A=
kern_compat.h:154: conflicting types for `PCI_ADDR_64BITS'=0A=
pci-scan.h:23: previous declaration of `PCI_ADDR_64BITS'=0A=
kern_compat.h:154: conflicting types for `PCI_NO_ACPI_WAKE'=0A=
pci-scan.h:23: previous declaration of `PCI_NO_ACPI_WAKE'=0A=
kern_compat.h:154: conflicting types for `PCI_NO_MIN_LATENCY'=0A=
pci-scan.h:23: previous declaration of `PCI_NO_MIN_LATENCY'=0A=
kern_compat.h:157: redefinition of `struct pci_id_info'=0A=
kern_compat.h:159: redefinition of `struct match_info'=0A=
kern_compat.h:168: redeclaration of `enum drv_id_flags'=0A=
kern_compat.h:169: conflicting types for `PCI_HOTSWAP'=0A=
pci-scan.h:38: previous declaration of `PCI_HOTSWAP'=0A=
kern_compat.h:171: redeclaration of `enum drv_pwr_action'=0A=
kern_compat.h:172: conflicting types for `DRV_NOOP'=0A=
pci-scan.h:41: previous declaration of `DRV_NOOP'=0A=
kern_compat.h:173: conflicting types for `DRV_ATTACH'=0A=
pci-scan.h:42: previous declaration of `DRV_ATTACH'=0A=
kern_compat.h:174: conflicting types for `DRV_SUSPEND'=0A=
pci-scan.h:43: previous declaration of `DRV_SUSPEND'=0A=
kern_compat.h:175: conflicting types for `DRV_RESUME'=0A=
pci-scan.h:44: previous declaration of `DRV_RESUME'=0A=
kern_compat.h:176: conflicting types for `DRV_DETACH'=0A=
pci-scan.h:45: previous declaration of `DRV_DETACH'=0A=
kern_compat.h:177: conflicting types for `DRV_PWR_WakeOn'=0A=
pci-scan.h:46: previous declaration of `DRV_PWR_WakeOn'=0A=
kern_compat.h:178: conflicting types for `DRV_PWR_DOWN'=0A=
pci-scan.h:47: previous declaration of `DRV_PWR_DOWN'=0A=
kern_compat.h:179: conflicting types for `DRV_PWR_UP'=0A=
pci-scan.h:48: previous declaration of `DRV_PWR_UP'=0A=
kern_compat.h:181: redeclaration of `enum acpi_pwr_state'=0A=
kern_compat.h:181: conflicting types for `ACPI_D0'=0A=
pci-scan.h:80: previous declaration of `ACPI_D0'=0A=
kern_compat.h:181: conflicting types for `ACPI_D1'=0A=
pci-scan.h:80: previous declaration of `ACPI_D1'=0A=
kern_compat.h:181: conflicting types for `ACPI_D2'=0A=
pci-scan.h:80: previous declaration of `ACPI_D2'=0A=
kern_compat.h:181: conflicting types for `ACPI_D3'=0A=
pci-scan.h:80: previous declaration of `ACPI_D3'=0A=
kern_compat.h:183: redefinition of `struct drv_id_info'=0A=
kern_compat.h:207: warning: static declaration for `acpi_wake' follows =
non-static=0A=
kern_compat.h:208: warning: static declaration for `acpi_set_pwr_state' =
follows non-static=0A=
kern_compat.h:241: warning: static declaration for `pci_drv_register' =
follows non-static=0A=
kern_compat.h:453: warning: static declaration for `pci_drv_unregister' =
follows non-static=0A=

------=_NextPart_000_0016_01BFD800.BE9B1F60
Content-Type: application/octet-stream;
	name="pciscan.blubb"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="pciscan.blubb"

In file included from pci-scan.c:62:=0A=
kern_compat.h:140: redefinition of `min_pci_latency'=0A=
pci-scan.c:29: `min_pci_latency' previously defined here=0A=
kern_compat.h:149: redeclaration of `enum pci_id_flags_bits'=0A=
kern_compat.h:151: conflicting types for `PCI_USES_IO'=0A=
pci-scan.h:20: previous declaration of `PCI_USES_IO'=0A=
kern_compat.h:151: conflicting types for `PCI_USES_MEM'=0A=
pci-scan.h:20: previous declaration of `PCI_USES_MEM'=0A=
kern_compat.h:151: conflicting types for `PCI_USES_MASTER'=0A=
pci-scan.h:20: previous declaration of `PCI_USES_MASTER'=0A=
kern_compat.h:153: conflicting types for `PCI_ADDR0'=0A=
pci-scan.h:22: previous declaration of `PCI_ADDR0'=0A=
kern_compat.h:153: conflicting types for `PCI_ADDR1'=0A=
pci-scan.h:22: previous declaration of `PCI_ADDR1'=0A=
kern_compat.h:153: conflicting types for `PCI_ADDR2'=0A=
pci-scan.h:22: previous declaration of `PCI_ADDR2'=0A=
kern_compat.h:153: conflicting types for `PCI_ADDR3'=0A=
pci-scan.h:22: previous declaration of `PCI_ADDR3'=0A=
kern_compat.h:154: conflicting types for `PCI_ADDR_64BITS'=0A=
pci-scan.h:23: previous declaration of `PCI_ADDR_64BITS'=0A=
kern_compat.h:154: conflicting types for `PCI_NO_ACPI_WAKE'=0A=
pci-scan.h:23: previous declaration of `PCI_NO_ACPI_WAKE'=0A=
kern_compat.h:154: conflicting types for `PCI_NO_MIN_LATENCY'=0A=
pci-scan.h:23: previous declaration of `PCI_NO_MIN_LATENCY'=0A=
kern_compat.h:157: redefinition of `struct pci_id_info'=0A=
kern_compat.h:159: redefinition of `struct match_info'=0A=
kern_compat.h:168: redeclaration of `enum drv_id_flags'=0A=
kern_compat.h:169: conflicting types for `PCI_HOTSWAP'=0A=
pci-scan.h:38: previous declaration of `PCI_HOTSWAP'=0A=
kern_compat.h:171: redeclaration of `enum drv_pwr_action'=0A=
kern_compat.h:172: conflicting types for `DRV_NOOP'=0A=
pci-scan.h:41: previous declaration of `DRV_NOOP'=0A=
kern_compat.h:173: conflicting types for `DRV_ATTACH'=0A=
pci-scan.h:42: previous declaration of `DRV_ATTACH'=0A=
kern_compat.h:174: conflicting types for `DRV_SUSPEND'=0A=
pci-scan.h:43: previous declaration of `DRV_SUSPEND'=0A=
kern_compat.h:175: conflicting types for `DRV_RESUME'=0A=
pci-scan.h:44: previous declaration of `DRV_RESUME'=0A=
kern_compat.h:176: conflicting types for `DRV_DETACH'=0A=
pci-scan.h:45: previous declaration of `DRV_DETACH'=0A=
kern_compat.h:177: conflicting types for `DRV_PWR_WakeOn'=0A=
pci-scan.h:46: previous declaration of `DRV_PWR_WakeOn'=0A=
kern_compat.h:178: conflicting types for `DRV_PWR_DOWN'=0A=
pci-scan.h:47: previous declaration of `DRV_PWR_DOWN'=0A=
kern_compat.h:179: conflicting types for `DRV_PWR_UP'=0A=
pci-scan.h:48: previous declaration of `DRV_PWR_UP'=0A=
kern_compat.h:181: redeclaration of `enum acpi_pwr_state'=0A=
kern_compat.h:181: conflicting types for `ACPI_D0'=0A=
pci-scan.h:80: previous declaration of `ACPI_D0'=0A=
kern_compat.h:181: conflicting types for `ACPI_D1'=0A=
pci-scan.h:80: previous declaration of `ACPI_D1'=0A=
kern_compat.h:181: conflicting types for `ACPI_D2'=0A=
pci-scan.h:80: previous declaration of `ACPI_D2'=0A=
kern_compat.h:181: conflicting types for `ACPI_D3'=0A=
pci-scan.h:80: previous declaration of `ACPI_D3'=0A=
kern_compat.h:183: redefinition of `struct drv_id_info'=0A=
kern_compat.h:207: warning: static declaration for `acpi_wake' follows =
non-static=0A=
kern_compat.h:208: warning: static declaration for `acpi_set_pwr_state' =
follows non-static=0A=
kern_compat.h:241: warning: static declaration for `pci_drv_register' =
follows non-static=0A=
kern_compat.h:453: warning: static declaration for `pci_drv_unregister' =
follows non-static=0A=
pci-scan.c:73: conflicting declarations of `register_cb_hook'=0A=
kern_compat.h:200: `register_cb_hook' previously declared here=0A=
pci-scan.c:74: conflicting declarations of `unregister_cb_hook'=0A=
kern_compat.h:201: `unregister_cb_hook' previously declared here=0A=
pci-scan.c:78: redefinition of `__module_parm_min_pci_latency'=0A=
kern_compat.h:204: `__module_parm_min_pci_latency' previously defined =
here=0A=
pci-scan.c:117: redefinition of `pci_drv_register'=0A=
kern_compat.h:241: `pci_drv_register' previously defined here=0A=
pci-scan.c:327: redefinition of `pci_drv_unregister'=0A=
kern_compat.h:453: `pci_drv_unregister' previously defined here=0A=
pci-scan.c:341: redefinition of `pci_find_capability'=0A=
kern_compat.h:468: `pci_find_capability' previously defined here=0A=
pci-scan.c:365: redefinition of `acpi_wake'=0A=
kern_compat.h:492: `acpi_wake' previously defined here=0A=
pci-scan.c:399: redefinition of `acpi_set_pwr_state'=0A=
kern_compat.h:526: `acpi_set_pwr_state' previously defined here=0A=

------=_NextPart_000_0016_01BFD800.BE9B1F60--