build问题
我从网上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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
上面的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'
在你自己的笔记本上ARM EABI Toolchain已编译成功了,如果只是只是研究g-bios,可暂时跳过这个错误
这个问题可能与你host端的freetype开发库有关,安装/卸载freetype-dev包试试