Hi,

Let me guess: Ubuntu maybe?

In that case, grab the following tarball. There are README and a patch
for r8168.
URL: http://benhamo.info/public/r8168_scripts.tar.bz2

Thanks,
Hetz

On Sun, May 25, 2008 at 4:37 PM, aviv sher <[EMAIL PROTECTED]> wrote:
> hi list
>
> I am trying to install an Ubuntu server with a Realtek network adapter
> rtl8111
>
> i went and download the driver from
> http://www.realtek.com.tw/downloads/...etDown=false#2
>
> but when i tried to install it according to their instructions (readme file)
> i got the following:
>
> [EMAIL PROTECTED]:/home/aviv/Documents/r8168-8.006.00# make clean modules
> make -C src/ clean
> make[1]: Entering directory `/home/aviv/Documents/r8168-8.006.00/src'
> rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
> .tmp_versions Module.symvers Modules.symvers rset
> make[1]: Leaving directory `/home/aviv/Documents/r8168-8.006.00/src'
> make -C src/ modules
> make[1]: Entering directory `/home/aviv/Documents/r8168-8.006.00/src'
> make -C /lib/modules/2.6.24-16-generic/build
> SUBDIRS=/home/aviv/Documents/r8168-8.006.00/src modules
> make[2]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
> CC [M] /home/aviv/Documents/r8168-8.006.00/src/r8168_n.o
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c: In function
> ‘rtl8168_init_board’:
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c:2300: error: implicit
> declaration of function ‘SET_MODULE_OWNER’
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c: In function
> ‘rtl8168_init_one’:
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c:2600: error: ‘struct
> net_device’ has no member named ‘poll’
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c:2601: error: ‘struct
> net_device’ has no member named ‘weight’
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c: In function
> ‘rtl8168_rx_interrupt’:
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c:4029: error: ‘struct
> net_device’ has no member named ‘quota’
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c:4029: warning: type
> defaults to ‘int’ in declaration of ‘_y’
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c:4029: error: ‘struct
> net_device’ has no member named ‘quota’
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c:4029: warning: comparison
> of distinct pointer types lacks a cast
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c: In function
> ‘rtl8168_interrupt’:
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c:4225: error: too few
> arguments to function ‘netif_rx_schedule_prep’
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c:4226: error: too few
> arguments to function ‘__netif_rx_schedule’
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c: In function
> ‘rtl8168_poll’:
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c:4274: error: ‘struct
> net_device’ has no member named ‘quota’
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c:4274: warning: type
> defaults to ‘int’ in declaration of ‘_y’
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c:4274: error: ‘struct
> net_device’ has no member named ‘quota’
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c:4282: error: ‘struct
> net_device’ has no member named ‘quota’
> /home/aviv/Documents/r8168-8.006.00/src/r8168_n.c:4285: error: too few
> arguments to function ‘netif_rx_complete’
> make[3]: *** [/home/aviv/Documents/r8168-8.006.00/src/r8168_n.o] Error 1
> make[2]: *** [_module_/home/aviv/Documents/r8168-8.006.00/src] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/home/aviv/Documents/r8168-8.006.00/src'
> make: *** [modules] Error 2
>
> any idea how to get passed this and install the driver?
>
> thanks alot
>
>



-- 
Skepticism is the lazy person's default position.
my blog (hebrew): http://benhamo.org

Reply via email to