fedora13编译Qtopia问题
来源:互联网 发布:成都网络推广028zhiya 编辑:程序博客网 时间:2024/05/16 09:55
友善之臂mini2440
gcc version 4.4.5
按照用户手册编译x86-qtopia时遇到的问题:
1.缺少库文件
yum install libX11-devel libXext-dev libXtst-devel
2.错误2
backend/vobject.cpp: In function ‘VObject* addGroup(VObject*, const char*)’:
backend/vobject.cpp:419: error: invalid conversion from ‘const char*’ to ‘char*’
修改/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia/backend/vobject.cpp:419行
char *dot = strrchr(g,'.');
为 char *dot = (char*)strrchr(g,'.');
3.错误3
wavplugin.cpp: 在成员函数‘virtual bool WavPlugin::isFileSupported(const QString&)’中:
wavplugin.cpp:435:45: 错误:从类型‘const char*’到类型‘char*’的转换无效
修正/x86-qtopia-2.2.0/qtopia/src/plugins/codecs/wavplugin/wavplugin.cpp:435行
char *ext = strrchr( path.latin1(), '.' );
为 char *ext = (char*)strrchr( path.latin1(), '.' );
4.错误4
/usr/bin/ld: .obj/release-shared/transferserver.o: undefined reference to symbol 'crypt@@GLIBC_2.0'
/usr/bin/ld: note: 'crypt@@GLIBC_2.0' is defined in DSO /lib/libcrypt.so.1 so try adding it to the linker command line
这个找了好久发现用了crypt函数 而没使用-lcrypt, qtopia-2.2.0-FriendlyARM/qtopia/configure 1373行加入
print CONFIG_PRI "LIBS+=-lcrypt\n";
如下:
print CONFIG_PRI "QTOPIA_FONT_SIZES=$opt_fontsizes\n";
print CONFIG_PRI "QTOPIA_FONT_FAMILIES=$opt_fontfamilies\n";
print CONFIG_PRI "LIBS+=-lcrypt\n";
- fedora13编译Qtopia问题
- Qtopia 编译问题总结
- fedora14下编译qtopia问题
- Fedora14下编译qtopia问题
- qt/qte qtopia编译问题集锦
- fedora14下编译qtopia问题. uuid, X11
- Fedora13下编译libfetion的问题和解决办法
- Fedora13 下编译 linux fetion 1.3 应用程序的问题
- uuid的问题(编译qt、qt/e、qtopia)
- 在 ubuntu 上编译 qtopia-2.2.0问题
- ubuntu10.10编译qtopia-2.2.0 问题总结及分析
- 交叉编译qtopia
- qtopia/embed编译
- qtopia编译错误(转)
- [转]qtopia移植:交叉编译qtopia-2.2.
- qtopia-2.2.0问题
- fedora13 arm linux交叉编译环境建立
- ubuntu 编译qtopia模拟环境
- 回发或回调参数无效。在配置中使用 <pages enableEventValidation="true"/> 或在页面中使用 <%@ Page EnableEventValidation="true"
- FFMpeg的output_example.c例子分析
- openstack g版 glance 源码分析
- 深入理解计算机系统--网络编程(2)格式转换函数
- 异步get请求
- fedora13编译Qtopia问题
- C++多态、继承的简单分析
- ListView浅析 笔记
- android中aidl的使用
- 介绍一款免费的js天气预报接口
- php遍历数组 list foreach each方法总结
- selenium 超时机制
- SecondaryNameNode配置和恢复
- 进程与线程的简单解释