* make xconfig fails for older kernels
@ 2005-10-04 1:13 Felix Oxley
2005-10-04 2:27 ` Randy.Dunlap
0 siblings, 1 reply; 8+ messages in thread
From: Felix Oxley @ 2005-10-04 1:13 UTC (permalink / raw)
To: zippel; +Cc: linux-kernel
I have downloaded 2.6.0 + patches up to 2.6.13 from kernel.org.
When I try to configure the kernel using 'make xconfig' I get the following
error:
scripts/kconfig/mconf.c:91: error: static declaration of ‘current_menu’
follows non-static declaration
scripts/kconfig/lkc.h:63: error: previous declaration of ‘current_menu’ was
here
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [xconfig] Error 2
I attempted make menuconfig, make config, and make oldconfig but each failed
with the same error,
This happens on 2.6.0, 2.6.1, 2.6.2 2.6.3, 2.6.4.
I have previously built newer kernels such as 2.6.13-rc2-rt7 without a
problem.
I was able to overcome the error by commenting out the declaration of
current_menu in mconf.c. But I am concerned as to the cause of this problem.
Does anyone have an explanation?
thanks,
Felix
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: make xconfig fails for older kernels
2005-10-04 1:13 Felix Oxley
@ 2005-10-04 2:27 ` Randy.Dunlap
2005-10-04 2:50 ` Dan C Marinescu
0 siblings, 1 reply; 8+ messages in thread
From: Randy.Dunlap @ 2005-10-04 2:27 UTC (permalink / raw)
To: Felix Oxley; +Cc: zippel, linux-kernel
On Tue, 4 Oct 2005 02:13:03 +0100 Felix Oxley wrote:
>
> I have downloaded 2.6.0 + patches up to 2.6.13 from kernel.org.
>
> When I try to configure the kernel using 'make xconfig' I get the following
> error:
>
> scripts/kconfig/mconf.c:91: error: static declaration of ___current_menu___
> follows non-static declaration
> scripts/kconfig/lkc.h:63: error: previous declaration of ___current_menu___ was
> here
> make[1]: *** [scripts/kconfig/mconf.o] Error 1
> make: *** [xconfig] Error 2
>
> I attempted make menuconfig, make config, and make oldconfig but each failed
> with the same error,
>
> This happens on 2.6.0, 2.6.1, 2.6.2 2.6.3, 2.6.4.
> I have previously built newer kernels such as 2.6.13-rc2-rt7 without a
> problem.
>
> I was able to overcome the error by commenting out the declaration of
> current_menu in mconf.c. But I am concerned as to the cause of this problem.
>
> Does anyone have an explanation?
Sorry, not really, other than to say that make menuconfig and
make xconfig work fine for me on 2.6.4.
I just downloaded the 2.6.4 tarball and tested/verified them.
---
~Randy
You can't do anything without having to do something else first.
-- Belefant's Law
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: make xconfig fails for older kernels
2005-10-04 2:27 ` Randy.Dunlap
@ 2005-10-04 2:50 ` Dan C Marinescu
0 siblings, 0 replies; 8+ messages in thread
From: Dan C Marinescu @ 2005-10-04 2:50 UTC (permalink / raw)
To: Randy.Dunlap, Felix Oxley; +Cc: zippel, linux-kernel
make oldconfig, menuconfig, gconfig work fine with me
(_but_ using a 2.6.13.2 .config -- so the jump is
smaller...)
make xconfig gives me troubles 2 (static parser...)
another way to go would be to explicitly save your old
(2.6.4) .config into something like .config-randy...
then consume it... (xconfig will not find a .config /
implicitly work, then you fool it by loading
.config-randy) that _should_ do it... if still not
working, mrproper the old 6.4 then goto
.config-randy... my $.02
daniel
--- "Randy.Dunlap" <rdunlap@xenotime.net> wrote:
> On Tue, 4 Oct 2005 02:13:03 +0100 Felix Oxley wrote:
>
> >
> > I have downloaded 2.6.0 + patches up to 2.6.13
> from kernel.org.
> >
> > When I try to configure the kernel using 'make
> xconfig' I get the following
> > error:
> >
> > scripts/kconfig/mconf.c:91: error: static
> declaration of ___current_menu___
> > follows non-static declaration
> > scripts/kconfig/lkc.h:63: error: previous
> declaration of ___current_menu___ was
> > here
> > make[1]: *** [scripts/kconfig/mconf.o] Error 1
> > make: *** [xconfig] Error 2
> >
> > I attempted make menuconfig, make config, and make
> oldconfig but each failed
> > with the same error,
> >
> > This happens on 2.6.0, 2.6.1, 2.6.2 2.6.3, 2.6.4.
> > I have previously built newer kernels such as
> 2.6.13-rc2-rt7 without a
> > problem.
> >
> > I was able to overcome the error by commenting out
> the declaration of
> > current_menu in mconf.c. But I am concerned as to
> the cause of this problem.
> >
> > Does anyone have an explanation?
>
> Sorry, not really, other than to say that make
> menuconfig and
> make xconfig work fine for me on 2.6.4.
> I just downloaded the 2.6.4 tarball and
> tested/verified them.
>
> ---
> ~Randy
> You can't do anything without having to do something
> else first.
> -- Belefant's Law
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: make xconfig fails for older kernels
[not found] <4TJDn-2mm-3@gated-at.bofh.it>
@ 2005-10-04 3:48 ` Robert Hancock
2005-10-04 9:34 ` Felix Oxley
0 siblings, 1 reply; 8+ messages in thread
From: Robert Hancock @ 2005-10-04 3:48 UTC (permalink / raw)
To: linux-kernel
Felix Oxley wrote:
> I have downloaded 2.6.0 + patches up to 2.6.13 from kernel.org.
>
> When I try to configure the kernel using 'make xconfig' I get the following
> error:
>
> scripts/kconfig/mconf.c:91: error: static declaration of ‘current_menu’
> follows non-static declaration
> scripts/kconfig/lkc.h:63: error: previous declaration of ‘current_menu’ was
> here
> make[1]: *** [scripts/kconfig/mconf.o] Error 1
> make: *** [xconfig] Error 2
>
> I attempted make menuconfig, make config, and make oldconfig but each failed
> with the same error,
>
> This happens on 2.6.0, 2.6.1, 2.6.2 2.6.3, 2.6.4.
> I have previously built newer kernels such as 2.6.13-rc2-rt7 without a
> problem.
What gcc version? The configuration program may have had some compile
bugs with newer compilers that were fixed in later kernels. In
particular I think gcc4 is stricter about those "static declaration
follows non-static" problems.
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: make xconfig fails for older kernels
2005-10-04 3:48 ` make xconfig fails for older kernels Robert Hancock
@ 2005-10-04 9:34 ` Felix Oxley
2005-10-04 14:04 ` Felix Oxley
0 siblings, 1 reply; 8+ messages in thread
From: Felix Oxley @ 2005-10-04 9:34 UTC (permalink / raw)
To: Robert Hancock; +Cc: linux-kernel, zippel
On Tuesday 04 October 2005 04:48, Robert Hancock wrote:
> What gcc version? The configuration program may have had some compile
> bugs with newer compilers that were fixed in later kernels. In
> particular I think gcc4 is stricter about those "static declaration
> follows non-static" problems.
I think you have nailed it. I'm using GCC 4.0.2.
Incidentally the first 2.6 kernel in which this issue was resolved is 2.6.9.
I will install GCC 2.9.5.
Thanks to all.
Felix
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: make xconfig fails for older kernels
2005-10-04 9:34 ` Felix Oxley
@ 2005-10-04 14:04 ` Felix Oxley
2005-10-04 14:12 ` Felix Oxley
0 siblings, 1 reply; 8+ messages in thread
From: Felix Oxley @ 2005-10-04 14:04 UTC (permalink / raw)
To: linux-kernel
Felix Oxley wrote:
> I think you have nailed it. I'm using GCC 4.0.2.
> Incidentally the first 2.6 kernel in which this issue was resolved is 2.6.9.
For the record, the first version of the stock kernel which will build
for me with GCC 4.0.2 is 2.16.12. (Using a minimal .config)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: make xconfig fails for older kernels
2005-10-04 14:04 ` Felix Oxley
@ 2005-10-04 14:12 ` Felix Oxley
2005-10-04 16:29 ` Adrian Bunk
0 siblings, 1 reply; 8+ messages in thread
From: Felix Oxley @ 2005-10-04 14:12 UTC (permalink / raw)
To: linux-kernel
> Felix Oxley wrote:
>
>> I think you have nailed it. I'm using GCC 4.0.2. Incidentally the
>> first 2.6 kernel in which this issue was resolved is 2.6.9.
>
>
> For the record, the first version of the stock kernel which will build
> for me with GCC 4.0.2 is 2.16.12. (Using a minimal .config)
>
To clarify, using GCC 4.0.2 I get the following:
<= 2.6.9 cannot make config/menuconfig/xconfig
2.6.10 + 11 build fails in i386/asm(?)
2.6.12 builds ok
Felix
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: make xconfig fails for older kernels
2005-10-04 14:12 ` Felix Oxley
@ 2005-10-04 16:29 ` Adrian Bunk
0 siblings, 0 replies; 8+ messages in thread
From: Adrian Bunk @ 2005-10-04 16:29 UTC (permalink / raw)
To: Felix Oxley; +Cc: linux-kernel
On Tue, Oct 04, 2005 at 03:12:28PM +0100, Felix Oxley wrote:
>
> >Felix Oxley wrote:
> >
> >>I think you have nailed it. I'm using GCC 4.0.2. Incidentally the
> >>first 2.6 kernel in which this issue was resolved is 2.6.9.
> >
> >
> >For the record, the first version of the stock kernel which will build
> >for me with GCC 4.0.2 is 2.16.12. (Using a minimal .config)
> >
>
> To clarify, using GCC 4.0.2 I get the following:
>
> <= 2.6.9 cannot make config/menuconfig/xconfig
> 2.6.10 + 11 build fails in i386/asm(?)
> 2.6.12 builds ok
Assuming you are on i386 this 100% what was expected since kernel 2.6.12
is the first kernel to compile with gcc 4.0 .
> Felix
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-10-04 16:29 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <4TJDn-2mm-3@gated-at.bofh.it>
2005-10-04 3:48 ` make xconfig fails for older kernels Robert Hancock
2005-10-04 9:34 ` Felix Oxley
2005-10-04 14:04 ` Felix Oxley
2005-10-04 14:12 ` Felix Oxley
2005-10-04 16:29 ` Adrian Bunk
2005-10-04 1:13 Felix Oxley
2005-10-04 2:27 ` Randy.Dunlap
2005-10-04 2:50 ` Dan C Marinescu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).