2009-07-20 01:22:51 How to solve the problem???
Chunbo Fan (CHINA)
Message: 77679
HI
when I compile the uClinux-dist-2009R1-RC1 with gcc 4.1.2
I find the problem:
CC libbb/xregcomp.o
AR libbb/lib.a
LINK busybox_unstripped
Trying libraries: crypt m
Library crypt is not needed, excluding it
Library m is not needed, excluding it
Final link with: <none>
make[4]:正在离开目录 `/home/vs/09R1_rc7/uClinux-dist/user/busybox/build-busybox-1.13.4'
make[3]:正在离开目录 `/home/vs/09R1_rc7/uClinux-dist/user/busybox'
make[2]:正在离开目录 `/home/vs/09R1_rc7/uClinux-dist/user'
make[1]: *** [all] 错误 2
make[1]:正在离开目录 `/home/vs/09R1_rc7/uClinux-dist/user'
make: *** [subdirs] 错误 1
now I don't know how to solve the problem!!!
TranslateQuoteReplyEditDelete
2009-07-20 01:34:25 Re: How to solve the problem???
Mike Frysinger (UNITED STATES)
Message: 77680
make sure you're using the 2009R1 toolchain. the output you've shown doesnt include any errors. you need to run `make single` to see the actual error.
QuoteReplyEditDelete
2009-07-20 01:53:01 Re: How to solve the problem???
Chunbo Fan (CHINA)
Message: 77683
now I am using the 2009R1-RC10 toolchain . and I run 'make single'
the problem is:
mkfs.jffs2.c:73:18: 错误: zlib.h:没有该文件或目录
mkfs.jffs2.c: 在函数‘recursive_populate_directory’中:
mkfs.jffs2.c:1336: 警告: 格式‘%9lu’需要类型‘long unsigned int’,但实参 3 的类型为‘__off64_t’
mkfs.jffs2.c:1345: 警告: 格式‘%9lu’需要类型‘long unsigned int’,但实参 3 的类型为‘__off64_t’
mkfs.jffs2.c:1354: 警告: 格式‘%9lu’需要类型‘long unsigned int’,但实参 3 的类型为‘__off64_t’
mkfs.jffs2.c:1384: 警告: 格式‘%9lu’需要类型‘long unsigned int’,但实参 3 的类型为‘__off64_t’
mkfs.jffs2.c:1395: 警告: 格式‘%9lu’需要类型‘long unsigned int’,但实参 3 的类型为‘__off64_t’
mkfs.jffs2.c: 在文件层:
mkfs.jffs2.c:1519: 警告: 初始化丢弃了指针目标类型的限定
mkfs.jffs2.c:1521: 警告: 初始化丢弃了指针目标类型的限定
mkfs.jffs2.c: 在函数‘main’中:
mkfs.jffs2.c:1881: 警告: 传递实参 2(属于‘recursive_add_host_directory’)丢弃了指针目标类型的限定
make[5]: *** [/home/vs/09R1_rc7/uClinux-dist/user/mtd-utils/build-606f38a2221648ca5c5fa292c9f71d2ddd59fa66-host/mkfs.jffs2.o] 错误 1
make[5]:正在离开目录 `/home/vs/09R1_rc7/uClinux-dist/user/mtd-utils/606f38a2221648ca5c5fa292c9f71d2ddd59fa66'
make[4]: *** [all] 错误 2
make[4]:正在离开目录 `/home/vs/09R1_rc7/uClinux-dist/user/mtd-utils'
make[3]: *** [mtd-utils] 错误 2
make[3]:正在离开目录 `/home/vs/09R1_rc7/uClinux-dist/user'
make[2]: *** [all] 错误 2
make[2]:正在离开目录 `/home/vs/09R1_rc7/uClinux-dist/user'
make[1]: *** [subdirs] 错误 1
make[1]:正在离开目录 `/home/vs/09R1_rc7/uClinux-dist'
make: *** [single] 错误 2
TranslateQuoteReplyEditDelete
2009-07-20 01:59:58 Re: How to solve the problem???
Mike Frysinger (UNITED STATES)
Message: 77684
i dont understand chinese, but you probably didnt set up your development system properly
please read the documentation:
docs.blackfin.uclinux.org/doku.php?id=installing_linux#configuring_linux
QuoteReplyEditDelete
2009-07-20 02:48:38 Re: How to solve the problem???
Chunbo Fan (CHINA)
Message: 77686
Now I have solved the problem !!! thanks for you help !!!
TranslateQuoteReplyEditDelete