LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-30-2007, 05:13 AM   #1
adelshehri
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
installing Realtek 8169 NIC on Redhat ...?


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
 
Old 08-30-2007, 06:49 AM   #2
adelshehri
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Sorry I forgot to attahc the file ......

but it is in the below link

http://www.opendrivers.com/freedownl...-download.html

Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian not seeing my Realtek 8169 nic teh_zero Linux - Networking 7 05-05-2007 06:32 PM
Realtek 8169 NIC Not Recognised dodgydodgy Linux - Networking 7 01-19-2007 02:19 AM
Realtek 8169 no ip with DHCP on SuSE 10 hendrixx Linux - Hardware 0 04-01-2006 06:10 PM
REALTEK 8169 NIC module wont compile lynchae Linux - Laptop and Netbook 6 06-21-2005 03:07 AM
REALTEK 8169 NIC module wont compile lynchae Linux - Hardware 2 06-16-2005 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration