From: Sergei Z. <sf...@ya...> - 2010-09-10 17:35:17
|
Hi, I have just tried to build kernel 2.6.26.8 with coLinux 0.7.7.1 and it fails: CC drivers/input/mouse/comouse.o drivers/input/mouse/comouse.c: In function 'comouse_init': drivers/input/mouse/comouse.c:107: error: implicit declaration of function 'LONG' drivers/input/mouse/comouse.c:108: warning: left shift count >= width of type drivers/input/mouse/comouse.c:109: warning: left shift count >= width of type drivers/input/mouse/comouse.c:109: warning: left shift count >= width of type drivers/input/mouse/comouse.c:109: warning: left shift count >= width of type make[3]: *** [drivers/input/mouse/comouse.o] Error 1 make[2]: *** [drivers/input/mouse] Error 2 make[1]: *** [drivers/input] Error 2 make: *** [drivers] Error 2 Previuosly I built kernel 2.6.22.18 with colinux 0.7.6 without any problems. I did some investigation and found the following. In kernel 2.6.22.18 the macro LONG is defined in include/linux/input.h, line 925. But in kernel 2.6.26.8 that header file is significantly different. The LONG macro is not defined any more. As far as I can tell, it is not defined anywhere in the Linux source (or coLinux for that matter). I'm wondering, how could anyone possibly have succeeded building the 2.6.26.8/0.7.7.1 combination? Are there any patches missing from the coLinux release tarball? Thanks and regards, Sergei. |