Results 1 to 7 of 7
I hope to compile kernel (linux-2.6. under SUSE Linux 10.1
Code:
make menuconfig
But the error occured as follows:
Code:
HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: error: static declaration of ‘current_menu’ follows non-static ...
- 05-17-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 9
"make menuconfig" problem?
I hope to compile kernel (linux-2.6.
under SUSE Linux 10.1
But the error occured as follows:Code:make menuconfig
Anyone can tell me why? and how can I using "make menuconfig" and compile the kernel?Code:HOSTCC scripts/kconfig/mconf.o 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: *** [menuconfig] Error 2
Thanks!
- 05-17-2008 #2
Did you install all the required packages for kernel development ?
Men occasionally stumble over the truth,
but most of them pick themselves up
and hurry off as if nothing had happened.
Winston Churchill
... then the Unix-Gods created "man" ...
- 05-17-2008 #3Just Joined!
- Join Date
- May 2008
- Posts
- 9
I have already install all the packages for kernel development.
When I use "make menuconfig" to make the kernel of SUSE Linux 10.1, there is no problem.
But I make the kernel (linux-2.6.
, the problem occur.
- 05-17-2008 #4
What kernel are you compiling ?
Could be problem with your kernel headers ... did you update that also ?
Men occasionally stumble over the truth,
but most of them pick themselves up
and hurry off as if nothing had happened.
Winston Churchill
... then the Unix-Gods created "man" ...
- 05-17-2008 #5
I saw a similar thread on another forum awhile back, these guys were discussing the same problem and thought that it might be related to the header files, he upgraded to a newer kernel and header files then everything worked just Dandy after that.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 05-17-2008 #6Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
Are you using custom patches or something? And, why do you want to use 2.6.8? It's quite old. Try a newer kernel.
No. The kernel headers package is what user land programs use when they need to know something about the kernel (at least that's the intended way, and what it should be).
The kernel has it's own headers and don't need a external package to get them. That is, ... unless the SuSE packages are sooo weird.
- 05-18-2008 #7Linux Newbie
- Join Date
- Mar 2008
- Location
- Hyderabad
- Posts
- 109
Open SUSE 10.1 has a kernel version 2.6.16 i guess, an a new gcc compiler.
2.6.0 is very old version,
New kernels fix various bugs of the older on's so whenever you will compile an old kernel with a better gcc errors will be there.
As suggested by many of the member above go for a new kernel and greater than what you are running will be a better option


Reply With Quote

