MySQL++ gcc4.6.1 Ubuntu编译错误解决
2011-10-10 17:53
363 查看
这个小问题每次都折腾一下,还是记录下来靠谱。
I downloaded and tried compiling mysql++-3.1.0. I am receiving thefollowing error:src/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_sql_buffer.o -I. -fPIC -DPIC-I/usr/include/mysql -g -O2 ./lib/sql_buffer.cppIn file included from ./lib/sql_buffer.h:31:0,from ./lib/sql_buffer.cpp:26:./lib/refcounted.h:258:2: error: ‘size_t’ does not name a typePaulLooks like this has been fixed in the Trunk - you can add a "include<stddef.h> to lib/refcounted.hAdd a #include <cstring> to ssx/genv2.cppThat should get your compile working
相关文章推荐
- MySQL++ gcc4.6.1 Ubuntu编译错误解决
- ubuntu 14.04 编译android4.0 出现gcc-version.sh: line 11: cc: command not found错误解决方法
- gcc-4.6.1交叉编译时提示libiberty错误解决方法
- MinGW/GCC/CodeBlocks 等在 Win7 编译出现 Permission Denied 错误 - 解决方法
- Ubuntu中-lz编译错误的解决
- mysql-1045 28000错误/mysql解决root账户密码丢失 ubuntu系统
- 在ubuntu下编译linux版客户端遇__GNUC_PREREQ编译错误的解决方法
- GCC 编译linux运用程序开方错误的解决办法
- 64位Ubuntu 12.04下编译android gcc版本过高问题解决
- MySQL学习笔记(一)Ubuntu16.04中MySQL安装配置(5.6优化、错误日志、DNS解决)
- ubuntu安装mysql错误do_abi_check的解决方法
- 解决ubuntu内核编译时出现Unable to find the ncurses libraries 错误
- ubuntu下,gcc编译tinybind错误
- Osmocombb项目编译GnuArmToolchain中的GCC4.5.2时遇到recipe for target 'doc/cpp.info' failed(texinfo)错误的解决方法
- (转)ubuntu源码编译安装php常见错误解决办法
- ubuntu 编译 Android 出现的若干错误及解决方法
- 关于在ubuntu16.04 64位系统上安装交叉编译工具出现错误的解决方法
- 8192EU无线网卡在ubuntu14.04下驱动编译错误解决
- 【Linux】Ubuntu gcc编译安装fcgi出错的解决办法
- Linux中编译文件时提示:arm-elf-gcc: leds.o : No such file or directory 错误的解决办法