下载x11proto-xext_7.3.0.orig.tar.gz然后编译
我的路径:/home/mywork/VNC
配置configure
–prefix=指定编译后的输出路劲
–host=指定编译器
./configure --prefix=$(pwd)/target_bin --host=arm-linux
然后生成Makefile
然后make
/home/mywork/VNC/xextproto-7.3.0$ make
然后make install
/home/mywork/VNC/xextproto-7.3.0$ make install
查看生成的
/home/mywork/VNC/xextproto-7.3.0$ ls target_bin
include lib share
在用的地方添加这个包 添加方式:导出环境变量
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/mywork/VNC/xextproto-7.3.0/target_bin/share/pkgconfig