After installing kernel development, C++, and base development patterns I tried executing “make cloneconfig” in /usr/src/linux and it failed with an error like this:
linux-3ucs:/usr/src/linux # make cloneconfig
scripts/kconfig/conf: invalid option -- 'D'
See README for usage info
make[1]: *** [cloneconfig] Error 1
make: *** [cloneconfig] Error 2
linux-3ucs:/usr/src/linux # _
I found that -D is added as an argument to conf executable in scripts/kconfig/Makefile @line#119
I am not sure if this is left over from the old code and I don’t know what the purpose of -D might have been.
agron_from_KOSOVO, You should have no such problems compiling a kernel source file in your home area if you indeed have the correct development packages installed using the sakc script file. Why not check out the sakc script file you can find here:
Message #11 has the most recent version of sakc to use. It also includes a companion file I call klist which can help maintain multiple kernel versions. See message #22 in the same thread above for the most recent version of klist. Why not give these script files a try and see if they help?
On 02/15/2011 09:36 AM, agron from KOSOVO wrote:
>
> Thanks James.
>
> make cloneconfig has a problem.
You can replace “make cloneconfig” with “zcat /proc/config.gz > .config”. It
probably does not do everything, but it produces a .config that matches the
running kernel.
BTW, “cloneconfig” is special to openSUSE-modified kernel sources. If you use
one from kernel.org, “make cloneconfig” does not work.
That’s exactly what I want. I need to produce a kernel that is almost identical to what opensuse is publishing. I only need to add support for 24 serial com ports on multi-port serial cards.
I, too, also have these problems. I ran across something, somewhere, that said that ‘cloneconfig’ had been fixed. -But- it is not. Yes the zcat trick will work -but- that is not part of the destructions for compiling a SuSE kernel. We really need to have it fixed.
Thanks
I, too, also have these problems. I ran across something, somewhere, that said that ‘cloneconfig’ had been fixed. -But- it is not. Yes the zcat trick will work -but- that is not part of the destructions for compiling a SuSE kernel. We really need to have it fixed.
Thanks
To which kernel compiling instructions do you refer to chucktr? Can you leave me a link?