MySQL ++ gcc4.6.1 Ubuntu compilation error Solution

Source: Internet
Author: User
This small problem is always complicated, but it is still reliable to record.
 
 
I downloaded and tried compiling MySQL ++-3.1.0. I am inserting ing 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 already ded 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 shocould get your compile working
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.