首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

编译XORG的异常集锦及解决办法(持续更新中)

2012-11-03 
编译XORG的错误集锦及解决方法(持续更新中)1.错误提示:error: bits/predefs.h: No such file or directory

编译XORG的错误集锦及解决方法(持续更新中)
1.错误提示:

error: bits/predefs.h: No such file or directoryIn file included from /usr/include/endian.h:61,                 from /opt/HEPXA270/02_toolchain//usr/include/bits/waitstatus.h:65,                 from /usr/include/stdlib.h:43,                 from ../include/misc.h:143,                 from atom.c:57:/opt/HEPXA270/02_toolchain//usr/include/bits/byteswap.h:21:3: error: #error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."make[1]: *** [atom.lo] Error 1make[1]: Leaving directory `/xroot/soft/xorg-server-1.3.0.0/dix'make: *** [install-recursive] Error 1

解决方法:

              解决方法:sudo apt-get install gcc-multilib

             ( 注:gcc-multilib主要是用于32 位系统编译 64 位程序,64 位系统编译 32 位程序,因为我在虚拟机里安装的是64位ubuntu,编译的是32位,所以会出现这种情况)


 

热点排行