From: Henry N. <hen...@ar...> - 2011-04-09 11:39:50
|
Am 09.04.2011 12:44, schrieb Henry Nestler: > Hello Clemens, > > On 09.04.2011 02:21, Clemens Eisserer wrote: >> Hi Henry, >> >>> I assume it's your shell, or your make utility. Try to run a full bash >>> comatible shell. Not a zsh or others specials. >> I am running Fedora-14 with bash 4.1.7(1), my make is "GNU Make 3.82". >> >> >>> Please change into the kernel source directory and try to run the make >>> command line manually: >>> >>> cd /home/ce/colinux-devel/build/linux-2.6.33.7-source >>> make ARCH=i386 O=../linux-2.6.33.7-build oldconfig >>> cd ../linux-2.6.33.7-build >>> make ARCH=i386 vmlinux >> That didn't work - same error as before >> >>> Other try: >>> Split these two commands inside Kernel Makefile into two lines: >>> >>> export LC_COLLATE >>> export LC_NUMERIC >> Strange, that helped. Thanks a lot :) >> >> However using the build-all script, I get the same error as before :/ > have downloaded and build my self the version GNU Make 3.82, and I got > exactly the same error: > > Makefile:23: *** mixed implicit and normal rules. Stop. > Kernel 2.6.33.7 make failed > > That is the line 23 in kernel build directory (not in the source): > $(all) %/: all > > It depends on the parameter given to make, that this makefile tries to > expand or what ever from command line from MAKECMDGOALS. > > this commands fails: > cd /home/ce/colinux-devel/build/linux-2.6.33.7-source > make O=../linux-2.6.33.7-build oldconfig > cd ../linux-2.6.33.7-build > make vmlinux > > This works: > cd /home/ce/colinux-devel/build/linux-2.6.33.7-source > make O=../linux-2.6.33.7-build oldconfig > cd ../linux-2.6.33.7-build > make > > The different is the parameter "vmlinux", and later maybe modules and > modules_install. > The simplest way for you would be to downgrade to make version 3.81, or > build make 3.81 self and copy it into your $HOME/bin. > > I have also tested a plain unpatched Linux kernel 2.6.33.9, and this got > the same error. > Have created a bug report for make: > https://savannah.gnu.org/bugs/index.php?33034 > Here is the comment about the problem and how to solve it: http://www.mail-archive.com/bug...@gn.../msg06220.html Based on the modification above I have tried to change it for colinux. As workaround please modify the script linux-2.6.33.7-source/scripts/mkmakefile *** Old *** %/: all @: *** New *** \$(all) %/: all ifneq (\$(all),) \$(all): all @: The "make kernel" will stop with the error on Makefile:23. Than go into kenel source and patch it with follow line: cd /home/ce/colinux-devel/build/linux-2.6.33.7-source patch -p1 < /tmp/make-3.82-mkmakefile.patch Than re-start the build (but without unpacking all kernel source again): cd YourCoLinuxHomePath make kernel Finally you can add this patch to coLinux directly by appending the file make-3.82-mkmakefile.patch at end of the file patch/base-2.6.33.diff. A simple cat would do it: cd YourCoLinuxHomePath cat make-3.82-mkmakefile.patch >> patch/base-2.6.33.diff -- Henry N. |