INSTALL R8168 MAKE ERRORS

I am trying to install the RTL8111 NIC driver on OpenSUSE 11.0 (I know it is ancient, but it is a given) but no .ko file is created:

make clean modules

make -C src/ clean
make[1]: Entering directory /sa/r8168-8.040.00/src' make -C /lib/modules/2.6.25.5-1.1-pae/build SUBDIRS=/sa/r8168-8.040.00/src clean make[2]: Entering directory /usr/src/linux-2.6.25.5-1.1-obj/i386/pae’
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/i386/pae/. clean
make[2]: Leaving directory /usr/src/linux-2.6.25.5-1.1-obj/i386/pae' make[1]: Leaving directory /sa/r8168-8.040.00/src’
make -C src/ modules
make[1]: Entering directory /sa/r8168-8.040.00/src' make -C /lib/modules/2.6.25.5-1.1-pae/build SUBDIRS=/sa/r8168-8.040.00/src modules make[2]: Entering directory /usr/src/linux-2.6.25.5-1.1-obj/i386/pae’
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/i386/pae/. modules
CC [M] /sa/r8168-8.040.00/src/r8168_n.o
/sa/r8168-8.040.00/src/r8168_n.c: In function ‘rtl8168_init_one’:
/sa/r8168-8.040.00/src/r8168_n.c:22576: error: implicit declaration of function ‘netif_napi_del’
make[5]: *** [/sa/r8168-8.040.00/src/r8168_n.o] Error 1
make[4]: *** [module/sa/r8168-8.040.00/src] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory /usr/src/linux-2.6.25.5-1.1-obj/i386/pae' make[1]: *** [modules] Error 2 make[1]: Leaving directory /sa/r8168-8.040.00/src’
make: *** [modules] Error 2

#make install
make -C src/ install
make[1]: Entering directory /sa/r8168-8.040.00/src' make -C /lib/modules/2.6.25.5-1.1-pae/build SUBDIRS=/sa/r8168-8.040.00/src INSTALL_MOD_DIR=kernel/drivers/net modules_install make[2]: Entering directory /usr/src/linux-2.6.25.5-1.1-obj/i386/pae’
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/i386/pae/. modules_install
DEPMOD 2.6.25.5-1.1-pae
make[2]: Leaving directory /usr/src/linux-2.6.25.5-1.1-obj/i386/pae' make[1]: Leaving directory /sa/r8168-8.040.00/src’

#depmod -a

#insmod ./src/r6168.ko
insmod: can’t read ‘./src/r8168.ko’: No such file or directory

See the error in “make clean module” please.
No discussions about upgrading the linux please, that is constrained by ancient software.

Hi
You will need to patch the code (as in backport), which may have issues in it’s own right, else why not upgrade the kernel to something that includes the kernel module?

The other option is to use a later version of linux and virtualize the system requiring ancient software…