[opensuse-kernel] invalid option in make cloneconfig
I recently experienced an error whilst trying to compile a kernel and I don't understand what it is or what its implications might be, so I'm hoping someboady can advise me. I have an 11.2 system and I have installed the kernel from the Kernel:/HEAD/11.2 repository. I'm intending to make a minor change to investigate a hardware issue, but first I tried to set up my compile environment and simply recompile that kernel. Here's what I saw: /usr/src/linux # ls -ld ../linux lrwxrwxrwx 1 root root 15 Jan 25 23:43 ../linux -> linux-2.6.37-41 /usr/src/linux # make clean /usr/src/linux # make cloneconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf Cloning configuration file /proc/config.gz scripts/kconfig/conf: invalid option -- 'D' See README for usage info make[1]: *** [cloneconfig] Error 1 make: *** [cloneconfig] Error 2 I looked at the README but didn't find anything. I grepped the tree but didn't find any info. I googled and found one hit to the forums with a post suggesting to "zcat /proc/config.gz > .config". After I did that, the make cloneconfig ran without error. So I'm interested in what went wrong and whether it has any lasting effects that will come back to bite me. Cheers, Dave -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On 27.1.2011 12:22, Dave Howorth wrote:
I recently experienced an error whilst trying to compile a kernel and I don't understand what it is or what its implications might be, so I'm hoping someboady can advise me.
I have an 11.2 system and I have installed the kernel from the Kernel:/HEAD/11.2 repository. I'm intending to make a minor change to investigate a hardware issue, but first I tried to set up my compile environment and simply recompile that kernel. Here's what I saw:
/usr/src/linux # ls -ld ../linux lrwxrwxrwx 1 root root 15 Jan 25 23:43 ../linux -> linux-2.6.37-41 /usr/src/linux # make clean /usr/src/linux # make cloneconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf Cloning configuration file /proc/config.gz
scripts/kconfig/conf: invalid option -- 'D' See README for usage info make[1]: *** [cloneconfig] Error 1 make: *** [cloneconfig] Error 2
That's a bug in the cloneconfig patch, scripts/kconfig/conf now expects --long-options. I'll fix it. Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Thu, 27 Jan 2011 11:22:40 +0000, Dave Howorth
/usr/src/linux # make clean /usr/src/linux # make cloneconfig
You shouldn't need that. If you installed the kernel-source.rpm,
you'll find the configuration under
/usr/src/linux-obj/<arch>/
participants (3)
-
Dave Howorth
-
Michal Marek
-
Philipp Thomas