2008-10-19 23:30:49 compilation error
Linux Newbie (INDIA)
Message: 63917
Hi All,
I downloaded the latest distribution & toolchain. On doing "make clean" & make, I am getting following error. Can any one suggest what might be wrong & how to rectify it?
make[1]: Entering directory `/home/user/uClinux_
Distributions/uClinux-dist-2008R1-RC8/linux-2.6.x'
SYMLINK include/asm-blackfin/mach-bf533 -> include/asm-blackfin/mach
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-blackfin
HOSTCC scripts/basic/fixdep
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/bin2c
CC arch/blackfin/kernel/asm-offsets.s
In file included from include/linux/spinlock.h:53,
from include/linux/capability.h:47,
from include/linux/sched.h:46,
from arch/blackfin/kernel/asm-offsets.c:31:
include/linux/kernel.h:10:20: error: stdarg.h: No such file or directory
In file included from include/linux/spinlock.h:53,
from include/linux/capability.h:47,
from include/linux/sched.h:46,
from arch/blackfin/kernel/asm-offsets.c:31:
include/linux/kernel.h:123: error: expected declaration specifiers or ‘...†before ‘va_listâ€
include/linux/kernel.h:127: error: expected declaration specifiers or ‘...†before ‘va_listâ€
include/linux/kernel.h:131: error: expected declaration specifiers or ‘...†before ‘va_listâ€
include/linux/kernel.h:135: error: expected declaration specifiers or ‘...†before ‘va_listâ€
include/linux/kernel.h:139: error: expected declaration specifiers or ‘...†before ‘va_listâ€
include/linux/kernel.h:155: error: expected declaration specifiers or ‘...†before ‘va_listâ€
make[2]: *** [arch/blackfin/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
QuoteReplyEditDelete
2008-10-20 00:14:57 Re: compilation error
Mike Frysinger (UNITED STATES)
Message: 63918
please read the FAQ: