Hi,
I downloaded the attached file from Realtek website and trying to install it as per the steps in the Read me file !!
while trying to ruh the command "make" I got the following error !!
Code:
r8169.c:426: warning: data definition has no type or storage class
r8169.c: In function `RTL8169_WRITE_GMII_REG':
r8169.c:466: warning: implicit declaration of function `writel'
r8169.c:467: warning: implicit declaration of function `udelay'
r8169.c:471: warning: implicit declaration of function `readl'
r8169.c: In function `rtl8169_phy_timer_t_handler':
r8169.c:531: error: dereferencing pointer to incomplete type
r8169.c:532: error: dereferencing pointer to incomplete type
r8169.c:537: warning: implicit declaration of function `readb'
r8169.c:538: error: dereferencing pointer to incomplete type
r8169.c:541: error: dereferencing pointer to incomplete type
r8169.c:542: error: dereferencing pointer to incomplete type
r8169.c:549: error: dereferencing pointer to incomplete type
r8169.c:556: warning: implicit declaration of function `mod_timer'
r8169.c:556: error: dereferencing pointer to incomplete type
r8169.c:556: error: `jiffies' undeclared (first use in this function)
r8169.c:556: error: (Each undeclared identifier is reported only once
r8169.c:556: error: for each function it appears in.)
r8169.c: At top level:
r8169.c:564: warning: "struct net_device" declared inside parameter list
r8169.c: In function `rtl8169_init_board':
r8169.c:580: warning: implicit declaration of function `init_etherdev'
r8169.c:580: error: dereferencing pointer to incomplete type
r8169.c:580: warning: assignment makes pointer from integer without a cast
r8169.c:582: warning: implicit declaration of function `printk'
r8169.c:582: error: `KERN_ERR' undeclared (first use in this function)
r8169.c:582: error: syntax error before string constant
r8169.c:583: error: `ENOMEM' undeclared (first use in this function)
r8169.c:587: error: dereferencing pointer to incomplete type
r8169.c:590: warning: implicit declaration of function `pci_enable_device'
r8169.c:594: warning: implicit declaration of function `pci_resource_start'
r8169.c:595: warning: implicit declaration of function `pci_resource_end'
r8169.c:596: warning: implicit declaration of function `pci_resource_flags'
r8169.c:597: warning: implicit declaration of function `pci_resource_len'
r8169.c:600: error: `IORESOURCE_MEM' undeclared (first use in this function)
r8169.c:601: error: syntax error before string constant
r8169.c:602: error: `ENODEV' undeclared (first use in this function)
r8169.c:608: error: syntax error before string constant
r8169.c:614: warning: implicit declaration of function `pci_request_regions'
r8169.c:614: error: dereferencing pointer to incomplete type
r8169.c:619: warning: implicit declaration of function `pci_set_master'
r8169.c:623: warning: implicit declaration of function `ioremap'
r8169.c:623: warning: assignment makes pointer from integer without a cast
r8169.c:625: error: syntax error before string constant
r8169.c:626: error: `EIO' undeclared (first use in this function)
r8169.c:632: warning: implicit declaration of function `writeb'
r8169.c:645: error: dereferencing pointer to incomplete type
r8169.c:645: error: dereferencing pointer to incomplete type
r8169.c:645: error: dereferencing pointer to incomplete type
r8169.c:645: error: dereferencing pointer to incomplete type
r8169.c:646: error: dereferencing pointer to incomplete type
r8169.c:646: error: dereferencing pointer to incomplete type
r8169.c:646: error: dereferencing pointer to incomplete type
r8169.c:646: error: dereferencing pointer to incomplete type
r8169.c:648: error: dereferencing pointer to incomplete type
r8169.c:649: error: dereferencing pointer to incomplete type
r8169.c:653: warning: implicit declaration of function `ARRAY_SIZE'
r8169.c:654: error: dereferencing pointer to incomplete type
r8169.c:654: error: request for member `mac_version' in something not a structur e or union
r8169.c:655: error: dereferencing pointer to incomplete type
r8169.c:661: error: `KERN_DEBUG' undeclared (first use in this function)
r8169.c:661: error: syntax error before string constant
r8169.c:662: error: dereferencing pointer to incomplete type
r8169.c:675: warning: implicit declaration of function `pci_release_regions'
r8169.c:678: warning: implicit declaration of function `unregister_netdev'
r8169.c:679: warning: implicit declaration of function `kfree'
r8169.c: In function `rtl8169_init_one':
r8169.c:706: warning: passing arg 2 of `rtl8169_init_board' from incompatible po inter type
r8169.c:711: error: dereferencing pointer to incomplete type
r8169.c:719: error: dereferencing pointer to incomplete type
r8169.c:722: error: dereferencing pointer to incomplete type
r8169.c:723: error: dereferencing pointer to incomplete type
r8169.c:724: error: dereferencing pointer to incomplete type
r8169.c:725: error: dereferencing pointer to incomplete type
r8169.c:726: error: dereferencing pointer to incomplete type
r8169.c:727: error: dereferencing pointer to incomplete type
r8169.c:728: error: dereferencing pointer to incomplete type
r8169.c:728: error: `HZ' undeclared (first use in this function)
r8169.c:729: error: dereferencing pointer to incomplete type
r8169.c:729: error: dereferencing pointer to incomplete type
r8169.c:730: error: dereferencing pointer to incomplete type
r8169.c:733: error: dereferencing pointer to incomplete type
r8169.c:734: error: dereferencing pointer to incomplete type
r8169.c:735: error: dereferencing pointer to incomplete type
r8169.c:737: warning: implicit declaration of function `spin_lock_init'
r8169.c:737: error: dereferencing pointer to incomplete type
r8169.c:739: error: dereferencing pointer to incomplete type
r8169.c:741: error: `KERN_DEBUG' undeclared (first use in this function)
r8169.c:741: error: syntax error before string constant
r8169.c:744: error: `KERN_INFO' undeclared (first use in this function)
r8169.c:744: error: syntax error before string constant
r8169.c:761: error: dereferencing pointer to incomplete type
r8169.c:763: warning: implicit declaration of function `pci_write_config_byte'
r8169.c:766: error: dereferencing pointer to incomplete type
r8169.c:780: error: syntax error before string constant
r8169.c:811: error: syntax error before string constant
r8169.c:833: error: syntax error before string constant
r8169.c:836: error: syntax error before string constant
r8169.c:849: error: syntax error before string constant
r8169.c: In function `rtl8169_remove_one':
r8169.c:866: error: dereferencing pointer to incomplete type
r8169.c:867: error: dereferencing pointer to incomplete type
r8169.c:873: warning: implicit declaration of function `iounmap'
r8169.c:873: error: dereferencing pointer to incomplete type
r8169.c:877: warning: implicit declaration of function `memset'
r8169.c:877: error: invalid application of `sizeof' to incomplete type `net_devi ce'
r8169.c:877: error: invalid application of `sizeof' to incomplete type `rtl8169_ private'
r8169.c:880: error: dereferencing pointer to incomplete type
r8169.c: At top level:
r8169.c:890: warning: "struct net_device" declared inside parameter list
r8169.c:891: error: conflicting types for 'rtl8169_open'
r8169.c:413: error: previous declaration of 'rtl8169_open' was here
Pls Help ....
Regards