这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 请教uClinux下的e2fsprog的编译问题

共1条 1/1 1 跳转至

请教uClinux下的e2fsprog的编译问题

菜鸟
2005-07-05 02:07:01     打赏

硬件:arm7TDMI 软件:uClinux(linux2.4)

编译器:arm-elf-gcc(2.95.3)

我要在我的板子上支持格式化硬盘, 在make menuconfig中我选择了文件工具mke2fs 但在编译的时候却总是编译不过去 make user_only make[3]: Entering directory `/home/maoyiyong/uClinux-dist/user/e2fsprogs/e2fsck'arm-elf-gcc -O2 -g -fomit-frame-pointer -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED -nostdinc -I/home/maoyiyong/uClinux-dist/include -I/home/maoyiyong/uClinux-dist/include/include -fno-builtin -nostartfiles -Wl,-elf2flt /home/maoyiyong/uClinux-dist/lib/crt0.o /home/maoyiyong/uClinux-dist/lib/crti.o /home/maoyiyong/uClinux-dist/lib/crtn.o -L/home/maoyiyong/uClinux-dist/lib -o e2fsck unix.o e2fsck.o super.o pass1.o pass1b.o pass2.o pass3.o pass4.o pass5.o journal.o swapfs.o badblocks.o util.o dirinfo.o ehandler.o problem.o message.o recovery.o region.o revoke.o ea_refcount.o /home/maoyiyong/uClinux-dist/user/e2fsprogs/lib/libext2fs.a /home/maoyiyong/uClinux-dist/user/e2fsprogs/lib/libcom_err.a /home/maoyiyong/uClinux-dist/user/e2fsprogs/lib/libuuid.a -lc e2fsck.elf2flt: In function `init_resource_track': /home/maoyiyong/uClinux-dist/user/e2fsprogs/e2fsck/util.c:216: undefined reference to `sbrk' e2fsck.elf2flt: In function `print_resource_track': /home/maoyiyong/uClinux-dist/user/e2fsprogs/e2fsck/util.c:283: undefined reference to `sbrk' collect2: ld returned 1 exit status make[3]: *** [e2fsck] Error 1 make[3]: Leaving directory `/home/maoyiyong/uClinux-dist/user/e2fsprogs/e2fsck' make[2]: *** [all] Error 1 make[2]: Leaving directory `/home/maoyiyong/uClinux-dist/user/e2fsprogs' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/maoyiyong/uClinux-dist/user' make: *** [user_only] Error 2 请各位给我点建议,谢谢!




关键词: 请教     uClinux     下的     e2fsprog     编译    

共1条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]