TPService 编译过程
来源:互联网 发布:雨林木风xp优化工具 编辑:程序博客网 时间:2024/06/01 14:12
1.
ubuntu cannot find -lz
I had the exact same error, and like you, installing zlib1g-dev did not fix it. Installing lib32z1-dev got me past it. I have a 64 bit system and it seems like it wanted the 32 bit library.
2.
HowTo Compile a 32-bit Application Using gcc On the 64-bit Linux Version
To fix this problem on a Debian or Ubuntu Linux type the following apt-get command:$sudo apt-get install g++-multilib libc6-dev-i386
3.
undefined reference to "shm_open"
-lrt 放在编译选项最后
Move your sourcefiles to the begin of the command and put -lrt after the source files.
G++ can be a little picky about the order (i know why, but i don't feel like explaining it)
并非如下:
FYI: since these are 64-bit ubuntu bots, you need to install32bit libs for nacl-gcc to run (e.g., to build the IRT). Todo this on the bots, use "install-build-deps.sh --lib32"which will apt-get ubuntu's "ia32-libs" along with a bunchof other libraries (see the script).R=bradnelson@chromium.org
in Ubuntu 13.10 the ia32-libs package is no more present.
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0sudo apt-get install libgl1-mesa-dri:i386
the second, shall install all its dependencies and resolve the compiling problems. The dependencies are:
gcc-4.8-base:i386 libc6:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libelf1:i386 libexpat1:i386 libffi6:i386libgcc1:i386 libglapi-mesa:i386 libllvm3.3:i386 libpciaccess0:i386 libstdc++6:i386 libtxc-dxtn-s2tc0:i386 zlib1g:i386
Bye,
4. zconf.h: No such file or directory
Suggested workaround from bugzilla.mozilla org:
sudo ln -s /usr/include/
- TPService 编译过程
- 编译过程
- 编译过程
- 编译过程
- 编译过程
- 编译过程
- 编译过程
- 编译过程
- 编译过程
- 编译过程
- 编译过程
- 编译过程
- 编译过程
- 编译过程
- 编译过程
- 编译过程
- 编译过程
- 编译过程
- 如何打包swt,亲手实验过,成功
- 【Android 开发教程】添加Category
- 浩易南:谈谈流氓性格和流氓思维
- mysqlhotcopy 只能用于MyISAM表不能用户InnoDB表
- Shell基础-概述
- TPService 编译过程
- Unity NGUI——3.8.2版本更新说明
- Java学习 - synchronized同步机制
- 解题报告 之 ZOJ2332 Gems
- Linux学习之CentOS(十三)--CentOS6.4下Mysql数据库的安装与配置
- 浙江 美女跑路老板 从非洲押解回国(图)
- PHP设计模式——原型模式
- hdu1247-字典树,单词拆分
- 数组分割