From: Sergei Z. <sf...@ya...> - 2010-09-12 19:59:35
|
On 2010-09-10 20:55, H. Nestler wrote: > 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/ > Thanks. Disabling mouse does solve the problem. However, now I'm facing another one: make[1]: *** No rule to make target `arch/x86/pci/copci.o', needed by `arch/x86/pci/built-in.o'. Stop. make: *** [arch/x86/pci] Error 2 This fails with the default configuration too. Am I doing something wrong? I don't suppose I can disable PCI, because it is needed for the virtual network adapter(s), right? -- Sergei. |