I have downloaded the drivers of Realtek from his official Web Portal:
http://152.104.125.41/downloads/dow...d=5&Level=5&Conn=4&DownTypeID=3&GetDown=false
But when i execute (after of unpack the file):
shell# ./autorun.sh
I get this message:
Check old driver and unload it.
Build the module and install
expr: syntax error
expr: syntax error
/root/realtek/r8168-8.036.00/src/r8168_n.c: In function 'rtl8168_get_rx_csum':
/root/realtek/r8168-8.036.00/src/r8168_n.c:2103:24: error: 'RxChkS1um' undeclared (first use in this function)
/root/realtek/r8168-8.036.00/src/r8168_n.c:2103:24: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/root/realtek/r8168-8.036.00/src/r8168_n.o] Error 1
make[2]: *** [_module_/root/realtek/r8168-8.036.00/src] Error 2
make[1]: *** [modules] Error 2
make: *** [modules] Error 2
Or if I execute:
shell# make modules
I get this message:
# make modules
make -C src/ modules
make[1]: Entering directory `/root/realtek/r8168-8.036.00/src'
make -C /lib/modules/2.6.32-20-pve/build SUBDIRS=/root/realtek/r8168-8.036.00/src modules
expr: syntax error
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-20-pve'
CC [M] /root/realtek/r8168-8.036.00/src/r8168_n.o
/root/realtek/r8168-8.036.00/src/r8168_n.c: In function 'rtl8168_get_rx_csum':
/root/realtek/r8168-8.036.00/src/r8168_n.c:2103:24: error: 'RxChkS1um' undeclared (first use in this function)
/root/realtek/r8168-8.036.00/src/r8168_n.c:2103:24: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/root/realtek/r8168-8.036.00/src/r8168_n.o] Error 1
make[2]: *** [_module_/root/realtek/r8168-8.036.00/src] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-20-pve'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/realtek/r8168-8.036.00/src'
make: *** [modules] Error 2
Any idea?
Best regards
Cesar