免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2900 | 回复: 2

build问题 [复制链接]

论坛徽章:
0
发表于 2009-02-23 15:55 |显示全部楼层
我从网上http://maxwit.googlecode.com/svn/trunk/ 上下载最新的代码,然后未作任何修改直接运行build.sh,结果运行到一半报以下错误:
exec: 2: -mcpu=arm920t: not found
make[1]: ***[crtbegin.o] Error 1
make[1]: Leaving directory `/maxwit/build/gcc-build-1/gcc`
make: *** [all-gcc] Error 2

论坛徽章:
0
发表于 2009-02-24 09:42 |显示全部楼层
上面的build的问题是是在公司的机器上出现的

昨天在自己的笔记本上(Ubuntu8.04)再次运行build脚本,出现以下错误:
/maxwit/sysroot/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
mkdgiff.c:56:10: error: #include expects "FILENAME" or <FILENAME>
mkdgiff.c:231: error: expected declaration specifiers or '...' before 'FT_GlyphSlot'
mkdgiff.c: In function 'write_glyph':
mkdgiff.c:234: error: 'slot' undeclared (first use in this function)
mkdgiff.c:234: error: (Each undeclared identifier is reported only once
mkdgiff.c:234: error: for each function it appears in.)
mkdgiff.c:246: error: 'ft_pixel_mode_grays' undeclared (first use in this function)
mkdgiff.c:297: error: 'ft_pixel_mode_mono' undeclared (first use in this function)
mkdgiff.c: At top level:
mkdgiff.c:355: error: expected ')' before 'face'
mkdgiff.c: In function 'main':
mkdgiff.c:540: error: 'FT_Library' undeclared (first use in this function)
mkdgiff.c:540: error: expected ';' before 'library'
mkdgiff.c:541: error: 'FT_Face' undeclared (first use in this function)
mkdgiff.c:541: error: expected ';' before 'face'
mkdgiff.c:568: error: implicit declaration of function 'FT_Init_FreeType'
mkdgiff.c:568: error: 'library' undeclared (first use in this function)
mkdgiff.c:574: error: implicit declaration of function 'FT_New_Face'
mkdgiff.c:574: error: 'face' undeclared (first use in this function)
mkdgiff.c:576: error: 'FT_Err_Unknown_File_Format' undeclared (first use in this function)
mkdgiff.c:584: error: implicit declaration of function 'FT_Select_Charmap'
mkdgiff.c:584: error: 'ft_encoding_unicode' undeclared (first use in this function)
mkdgiff.c:588: error: 'ft_encoding_latin_1' undeclared (first use in this function)
mkdgiff.c:596: error: implicit declaration of function 'do_face'
mkdgiff.c:604: error: implicit declaration of function 'FT_Done_Face'
mkdgiff.c:607: error: implicit declaration of function 'FT_Done_FreeType'
make[2]: *** [mkdgiff.o] Error 1
make[2]: Leaving directory `/maxwit/build/DirectFB-1.2.3/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/maxwit/build/DirectFB-1.2.3'

论坛徽章:
0
发表于 2009-02-25 11:26 |显示全部楼层

回复 #2 szlwin 的帖子

在你自己的笔记本上ARM EABI Toolchain已编译成功了,如果只是只是研究g-bios,可暂时跳过这个错误
这个问题可能与你host端的freetype开发库有关,安装/卸载freetype-dev包试试
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP