From: H. N. <hen...@ar...> - 2010-09-10 18:55:55
|
Sergei Zhirikov wrote: > 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? I hope not. The tar was created from SVN tree, so missing files are not doable. The devel version 0.7.8 can build with kernel 2.6.26.8 without errors. I have just tested. I can currently not test the stable 0.7.7.1 from here. As long I remember, the mouse was disabled in kernel config. Maybe this is the condition, that I don't have the problem? The line "CC ... comouse" does not exist in my build log! My devel config has "# CONFIG_MOUSE_COOPERATIVE is not set". So it is disabled. Mouse is always disabled in stable, see line 747: http://colinux.svn.sourceforge.net/viewvc/colinux/branches/stable/conf/linux-2.6.26.8-config?revision=1407&view=markup Please test with default config from coLinux, or disable the mouse driver in your config. To compare patch files and config from 0.7.8 tree with yours, you will find all files on SVN http://colinux.svn.sourceforge.net/viewvc/colinux/branches/devel/ or as tar under nightly builds on http://www.henrynestler.com/colinux/autobuild/ -- Gruss Henry --------------------------------------------------------- ... Es folgt Arcor Werbung | Ads follows by Arcor ... Heute erleben, was morgen Trend wird - das kann man auf der IFA in Berlin. Oder auf arcor.de: Wir stellen Ihnen die wichtigsten News, Trends und Gadgets der IFA vor. Natürlich mit dabei: das brandneue IPTV-Angebot von Vodafone! Alles rund um die Internationale Funkausstellung in Berlin finden Sie hier: http://www.arcor.de/rd/footer.ifa2010 |