2008-08-12 05:01:42 make dep error why?
handongchou han (AFGHANISTAN)
Message: 60276
dear all:
make dep error why?
make dep
make ARCH=blackfin CROSS_COMPILE=bfin-uclinux- -C linux-2.6.x dep
make[1]: Entering directory `/home/uClinux-dist-2008R1-RC8/linux-2.6.x'
scripts/kconfig/conf -s arch/blackfin/Kconfig
make[1]: Leaving directory `/home/uClinux-dist-2008R1-RC8/linux-2.6.x'
make[1]: Entering directory `/home/uClinux-dist-2008R1-RC8/linux-2.6.x'
*** Warning: make dep is unnecessary now.
make[1]: Leaving directory `/home/uClinux-dist-2008R1-RC8/linux-2.6.x'
make
rm -f linux-2.6.x/usr/initramfs_data.cpio.gz
make ARCH=blackfin CROSS_COMPILE=bfin-uclinux- -j1 -C linux-2.6.x || exit 1
make[1]: Entering directory `/home/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
CC arch/blackfin/kernel/asm-offsets.s
在包含自 include/linux/spinlock.h:53 的文件中,
从 include/linux/capability.h:47,
从 include/linux/sched.h:46,
从 arch/blackfin/kernel/asm-offsets.c:31:
include/linux/kernel.h:10:20: 错误:stdarg.h:没有那个文件或目录
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: 错误:expected declaration specifiers or ‘...’ before ‘va_list’
include/linux/kernel.h:127: 错误:expected declaration specifiers or ‘...’ before ‘va_list’
include/linux/kernel.h:131: 错误:expected declaration specifiers or ‘...’ before ‘va_list’
include/linux/kernel.h:135: 错误:expected declaration specifiers or ‘...’ before ‘va_list’
include/linux/kernel.h:139: 错误:expected declaration specifiers or ‘...’ before ‘va_list’
include/linux/kernel.h:155: 错误:expected declaration specifiers or ‘...’ before ‘va_list’
make[2]: *** [arch/blackfin/kernel/asm-offsets.s] 错误 1
make[1]: *** [prepare0] 错误 2
make[1]: Leaving directory `/home/uClinux-dist-2008R1-RC8/linux-2.6.x'
make: *** [linux] 错误 1
TranslateQuoteReplyEditDelete
2008-08-12 05:27:40 Re: make dep error why?
Yi Li (CHINA)
Message: 60284
Why run "make dep"? It is not necessary.
QuoteReplyEditDelete
2008-08-12 08:34:12 Re: make dep error why?
Mike Frysinger (UNITED STATES)
Message: 60327
i dont know why you ran make dep seeing as how there is no documentation telling you to do that
as for the stdarg.h error, you did not install the toolchain correctly ... read the documentation
http://docs.blackfin.uclinux.org/doku.php?id=faq
(Building packages fails with stdarg.h missing!)