解决龙芯3A Debian6.0.3 o32系统编译xorg-xserver-1.7.7出错的问题

来源:互联网 发布:怎么查淘宝店铺地址 编辑:程序博客网 时间:2024/04/29 02:22
编译xorg-xserver-1.7.7的dix/dispatch.c时报错:
Error: illegal operands `nop 0'

原因是notebook3A Debian6.0.3中预装了systemtap包,
xorg-xserver中的configure探察到系统含有/usr/bin/dtrace(属于systemtap包),
因此在include/dix-config.h中加入#define XSERVER_XDTRACE 1

而dix/dispatch.c中与XSERVER_XDTRACE相关的代码,在预编译时会加入nop 0,
该指令无法被汇编器识别,因此报错。

解决方法:
卸载systemtap相关的包
0 0