[realtek] problem compiling v1.10 on alpha

Rudy Zijlstra rudy@edsons.demon.nl
Fri, 01 Sep 2000 00:39:52 +0200

Dear all,

when compiling i get the following on kernel 2.2.16 on Alpha XL:

bash-2.02# cd /usr/src/modules/
bash-2.02# ls
kern_compat.h   pci-scan.c      pci-scan.h      rtl8139-diag
rtl8139-diag.c  rtl8139.c
bash-2.02# gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c rtl8139.c
In file included from /usr/include/asm/semaphore.h:11,
                 from /usr/include/linux/sched.h:17,
                 from /usr/include/linux/mm.h:4,
                 from /usr/include/linux/slab.h:14,
                 from /usr/include/linux/malloc.h:4,
                 from rtl8139.c:103:
/usr/include/asm/current.h:4: global register variable follows a
function definition
/usr/include/asm/current.h:4: warning: call-clobbered register used for
global register variable

And no module is generated. Any suggestions?

Rudy Zijlstra