[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[no subject]



I have got the same 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 definition
/usr/include/asm/current.h:4: warning: call-clobbered register used for global register 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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []