Guys,
I built 6.1 over the weekend, and then blfs 6.0 (all in chroot) and everything
worked fine. Compiling the kernel in chapter 8 worked fine. However, after
I finished blfs, I decided to recompile the kernel again, but this time
2.6.12.2. Here's what I get:
[EMAIL PROTECTED] linux-2.6.12.2]$ make
CHK include/linux/version.h
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
CC arch/i386/kernel/asm-offsets.s
In file included from ./include/asm/system.h:5,
from ./include/asm/processor.h:18,
from ./include/asm/thread_info.h:17,
from ./include/linux/thread_info.h:21,
from ./include/linux/spinlock.h:12,
from ./include/linux/capability.h:45,
from ./include/linux/sched.h:7,
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/asm/thread_info.h:17,
from ./include/linux/thread_info.h:21,
from ./include/linux/spinlock.h:12,
from ./include/linux/capability.h:45,
from ./include/linux/sched.h:7,
from arch/i386/kernel/asm-offsets.c:7:
./include/linux/kernel.h:94: error: parse error before "va_list"
./include/linux/kernel.h:98: error: parse error before "va_list"
./include/linux/kernel.h:102: error: parse error before "va_list"
./include/linux/kernel.h:107: error: parse error before "va_list"
./include/linux/kernel.h:119: error: parse error before "va_list"
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [arch/i386/kernel/asm-offsets.s] Error 2
[EMAIL PROTECTED] linux-2.6.12.2]$
It appears my gcc is broken. But the headers are where they should be. I
even went back to chapter 6 and recompiled 3.4.3 again, but that didn't help
any. Also tried to compile 2.6.11.12. Same thing.
I've been compiling lfs since 2001 and I always follow the instructions
carefully and I've never had any problem until now.
What are my options right now? I want to avoid starting from scratch again.
Let me know if you need more information.
Thanks,
IvanK.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page