I will be very grateful to anyone who can help
I have a problem for compile and install drivers.
I have PVE 2.3:
pve-manager: 3.0-20 (pve-manager/3.0/0428106c)
running kernel: 2.6.32-20-pve
proxmox-ve-2.6.32: 3.0-100
pve-kernel-2.6.32-20-pve: 2.6.32-100
lvm2: 2.02.95-pve3
clvm: 2.02.95-pve3
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-1
pve-cluster: 3.0-4
qemu-server: 3.0-15
pve-firmware: 1.0-22
libpve-common-perl: 3.0-4
libpve-access-control: 3.0-4
libpve-storage-perl: 3.0-6
vncterm: 1.1-3
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-12
ksm-control-daemon: 1.1-1
And I have got the NIC driver Realtek of 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?
I have a problem for compile and install drivers.
I have PVE 2.3:
pve-manager: 3.0-20 (pve-manager/3.0/0428106c)
running kernel: 2.6.32-20-pve
proxmox-ve-2.6.32: 3.0-100
pve-kernel-2.6.32-20-pve: 2.6.32-100
lvm2: 2.02.95-pve3
clvm: 2.02.95-pve3
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-1
pve-cluster: 3.0-4
qemu-server: 3.0-15
pve-firmware: 1.0-22
libpve-common-perl: 3.0-4
libpve-access-control: 3.0-4
libpve-storage-perl: 3.0-6
vncterm: 1.1-3
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-12
ksm-control-daemon: 1.1-1
And I have got the NIC driver Realtek of 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?