tickleboy Posted January 28, 2004 Report Share Posted January 28, 2004 I'm attempting to compile the new 2.6.0-1mdk kernel in Mandrake 9.2. I've executed the commands: make mrproper make xconfig (where I used the default config file for the 2.6.0-1mdk found in /boot) make clean make bzImage However after running 'make bzImage', I get the following error: [root@localhost linux-2.6.0-1mdk]# make bzImage HOSTCC scripts/fixdep HOSTCC scripts/genksyms/genksyms.o SHIPPED scripts/genksyms/lex.c SHIPPED scripts/genksyms/parse.h SHIPPED scripts/genksyms/keywords.c HOSTCC scripts/genksyms/lex.o SHIPPED scripts/genksyms/parse.c HOSTCC scripts/genksyms/parse.o HOSTLD scripts/genksyms/genksyms HOSTCC scripts/split-include HOSTCC scripts/conmakehash HOSTCC scripts/docproc HOSTCC scripts/kallsyms CC scripts/empty.o HOSTCC scripts/mk_elfconfig MKELF scripts/elfconfig.h HOSTCC scripts/file2alias.o HOSTCC scripts/modpost.o HOSTLD scripts/modpost HOSTCC scripts/pnmtologo HOSTCC scripts/bin2c SPLIT include/linux/autoconf.h -> include/config/* CC arch/i386/kernel/asm-offsets.s In file included from include/asm/system.h:5, from include/asm/processor.h:18, from include/linux/prefetch.h:13, from include/linux/list.h:7, from include/linux/signal.h:4, from arch/i386/kernel/asm-offsets.c:7: include/linux/kernel.h:10:20: stdarg.h: No such file or directory In file included from include/asm/system.h:5, from include/asm/processor.h:18, from include/linux/prefetch.h:13, from include/linux/list.h:7, from include/linux/signal.h:4, from arch/i386/kernel/asm-offsets.c:7: include/linux/kernel.h:71: error: syntax error before "va_list" include/linux/kernel.h:71: warning: function declaration isn't a prototype include/linux/kernel.h:74: error: syntax error before "va_list" include/linux/kernel.h:74: warning: function declaration isn't a prototype include/linux/kernel.h:78: error: syntax error before "va_list" include/linux/kernel.h:78: warning: function declaration isn't a prototype make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1 make: *** [arch/i386/kernel/asm-offsets.s] Error 2 [root@localhost linux-2.6.0-1mdk]# Anybody have an idea of what I'm doing wrong? gcc version is: [root@localhost linux-2.6.0-1mdk]# gcc --version gcc (GCC) 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk) Copyright © 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Quote Link to comment Share on other sites More sharing options...
bvc Posted January 28, 2004 Report Share Posted January 28, 2004 (edited) urpmf stdarg.h and install the rpm it's in. If more than one, try and pick one kernel or compile related or find out the one that is not installed and install it. Edited January 28, 2004 by bvc Quote Link to comment Share on other sites More sharing options...
bvc Posted January 28, 2004 Report Share Posted January 28, 2004 ew...looks like gcc http://www.google.com/search?hl=en&lr=&ie=...ithin%A0results what do you get with rpm -qa | grep gcc Quote Link to comment Share on other sites More sharing options...
tickleboy Posted January 29, 2004 Author Report Share Posted January 29, 2004 [root@localhost linux-2.6.0-1mdk]# rpm -qa | grep gcc gcc-cpp-3.3.1-2mdk gcc2.96-2.96-0.83mdk libgcc1-3.3.1-2mdk gcc-3.3.1-2mdk gcc2.96-cpp-2.96-0.83mdk gcc-c++-3.3.1-2mdk gcc-java-3.3.1-2mdk I also tried the rupmf stdarg.h but it has 6 choices. I tried installing gcc2.96 but that didn't help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.