Ubuntu amd64下Xen编译错误解决方案
来源:互联网 发布:c语言的地位作用 编辑:程序博客网 时间:2024/06/06 02:34
- 编译环境Ubuntu 14.04 64位
- Python错误
Traceback (most recent call last): File "./tools/layoutrom.py", line 630, in <module> main() File "./tools/layoutrom.py", line 607, in main info16 = parseObjDump(infile16, '16') File "./tools/layoutrom.py", line 538, in parseObjDump relocsection = sectionmap[sectionname] KeyError: '.text.asm.out/../src/smp.c.77'原因是:语言设置为UTF-8解决方法:使用 LC_ALL=C make命令进行编译- cdefs.h
fatal error: sys/cdefs.h: No such file or directory原因是:使用的是amd64版本的Ubuntu解决方法:安装libc6-dev-i386软件包- makeinfo
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.原因:未安装makeinfo软件包解决方法:安装texinfo- tmpback.c语法错误
tpmback.c: In function 'tpmif_change_state':
tpmback.c:350:4: error: format '%d' expects argument of type 'int *', but argument 3 has type 'enum xenbus_state *' [-Werror=format=]
if(sscanf(value, "%d", &readst) != 1) {
^
cc1: all warnings being treated as errors原因:gcc4.8.2对C99语法支持不好解决方案:将系统默认的GCC 降级到4.7具体操作如下:- 使用apt-get安装特定版本的GCC
sudo apt-get install gcc-4.7- 使用update-alternatives配置版本
下述命令将特定版本的GCC 列为GCC 的选项sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 40下述命令设置选择哪个版本的GCC 作为默认的GCC
sudo update-alternatives --config gcc- xl报错
# xl info
xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal error
libxl: error: libxl.c:99:libxl_ctx_alloc: cannot open libxc handle: No such file or directory
cannot init xl context是因为没有挂载 xenfs 的缘故挂载一下:# modprobe xenfs# mount -t xenfs xenfs /proc/xen- 启动Domain0
# /etc/init.d/xencommons start
转载自:http://blog.163.com/sunbo1992@126/blog/static/163551287201492715340786/
0 0
- Ubuntu amd64下Xen编译错误解决方案
- Ubuntu 8.04 AMD64 下成功编译VLC 0.8.6
- Install Xen 3.2 on Ubuntu 7.10 Desktop (amd64)
- ubuntu amd64 下QQ安装
- ubuntu环境编译pcl错误解决方案
- Ubuntu下编译最新的ijkplayer(Android)及其常见的错误解决方案
- Ubuntu amd64 下安装 QQ for Linux
- ubuntu下xen的安装
- Ubuntu下Xen的安装
- Ubuntu 源代码(Source Code) 编译安装 Xen
- 编译Xen源码时报错 [iasl] 错误
- Ubuntu下编译insight错误解决
- ubuntu下编译qt的常见错误
- 关于Ubuntu 10.04下编译BlueZ错误
- CTorrent在Ubuntu下编译错误解决
- ubuntu下编译qt的常见错误
- Ubuntu 下 QT4 编译错误解决方法
- ubuntu下,gcc编译tinybind错误
- linux基础教程-----根目录文件介绍
- oracle中的decode的使用
- 共享内存
- AFNetworking网络请求传递字符串和字典
- http post和get
- Ubuntu amd64下Xen编译错误解决方案
- Hadoop中的序列化:自定义value类型
- Java与Json
- iOS入门(十二)动态内存分配
- Java内部类详解
- strchr
- Echarts图表展示时legend失效
- 才发现CSDN的Rachel Zhang大神就在身边工作
- 一步一步跟我学习hadoop(7)----hadoop连接mysql数据库执行数据读写数据库操作