天嵌 ARM开发社区

 找回密码
 注册
查看: 3390|回复: 4

急求解决:ubuntu10.10编译qtopia2.2.0老是出错

[复制链接]
:-O:-((⊙o⊙ 发表于 2012-3-11 10:49:20 | 显示全部楼层 |阅读模式
用的是TQ2440的板子,是按照文档一步一步来的。不过是用的ubuntu的系统。
都编译了好多次了,按网上看到的也试了。确实能更改很多错误,但是最后还有一个错误无法搞定,最终编译出现了configure: error: Cannot link small Qtopia Application. For more details look at the end of config.log
我看了下这个文档,里面提示的错误信息有:
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:3235: fatal error: ac_nonexistent.h: No such file or directory
configure:3342: fatal error: ac_nonexistent.h: No such file or directory
configure:3702: error: 'exit' was not declared in this scope
configure:3661: error: 'void std::exit(int)' should have been declared inside 'std'等错误提示。不知道该怎么解决,忘论坛里面的大哥们帮忙给提示下,不胜感激
 楼主| :-O:-((⊙o⊙ 发表于 2012-3-11 10:50:57 | 显示全部楼层
运行./test_x86时,能运行qvfb,出现了一个界面。但是不能运行qpe,界面当中没有任何东西。提示说not found
回复

使用道具 举报

亚瑟王 发表于 2012-3-12 10:20:37 | 显示全部楼层
亲,编译X86版本的就是完全用的是PC自带的库之类的。你把ubuntu自带的gcc编译器版本降低一些吧。
回复

使用道具 举报

 楼主| :-O:-((⊙o⊙ 发表于 2012-3-12 10:45:29 | 显示全部楼层
好吧。那一般需要gcc的哪个版本呢?
回复

使用道具 举报

liyvhg 发表于 2012-4-12 10:10:54 | 显示全部楼层
本帖最后由 liyvhg 于 2012-4-12 10:15 编辑

我装的gcc3.4.6 也是编译不能通过:'(
和这位兄台的错误一样
http://bbs.embedsky.net/forum.ph ... 10&highlight=Ubuntu我用的是ubuntu10.04.4,已升级到最新
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-5-4 13:16 , Processed in 2.042574 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表