tulip.c compiling problems

carlos@torroja.dmt.upm.es carlos@torroja.dmt.upm.es
Sat Sep 25 07:35:05 1999


I have got this problem compiling tulip.c on a DS10: I get some warnings and
can not find tulip.o. The warnings are:

[root@babieca modules]# gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6
-c tulip.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`
In file included from /usr/include/asm/semaphore.h:11,
                 from /usr/include/linux/fs.h:163,
                 from /usr/include/linux/capability.h:13,
                 from /usr/include/linux/binfmts.h:5,
                 from /usr/include/linux/sched.h:8,
                 from tulip.c:118:
/usr/include/asm/current.h:4: global register variable follows a function defini
tion
/usr/include/asm/current.h:4: warning: call-clobbered register used for global r
egister variable
tulip.c: In function `tulip_timer':
tulip.c:1866: warning: `mleaf' might be used uninitialized in this function
tulip.c:1867: warning: `p' might be used uninitialized in this function

Thanks,

Carlos