컴파일 에러 봐주실 분 계실까요?

조회 1,957 · 댓글 0
kkimdubi작성자2018년 10월 23일
커맨드
[root@mysql-8.0.13]#
g++ -I /engn001/masvc01/mysql-8.0.13 -I /engn001/masvc01/mysql-8.0.13/include -I /engn001/masvc01/mysql-8.0.13/sql/ -I /engn001/masvc01/mysql-8.0.13/libbinlogevents/include/ -I /engn001/masvc01/mysql-8.0.13/include -I /usr/include/c++/4.8.5/ext/ -I /usr/include/c++/4.8.5/bits -I /usr/include/c++/ -o -g /engn001/masvc01/mysql-8.0.13/client/mysqlbinlog.cc -std=c++11 -Wall

---에러 ---
In file included from /engn001/masvc01/mysql-8.0.13/client/mysqlbinlog.cc:46:0:
/usr/include/c++/4.8.5/ext/algorithm:63:21: error: expected ‘{’ before ‘_GLIBCXX_VISIBILITY’
namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
^
/usr/include/c++/4.8.5/ext/algorithm:63:40: error: expected constructor, destructor, or type conversion before ‘(’ token
namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
^
In file included from /usr/include/c++/4.8.5/new:40:0,
from /usr/include/c++/4.8.5/ext/new_allocator.h:33,
from /usr/include/c++/4.8.5/x86_64-amazon-linux/bits/c++allocator.h:33,
from /usr/include/c++/4.8.5/bits/allocator.h:46,
from /usr/include/c++/4.8.5/bits/stl_tree.h:62,
from /usr/include/c++/4.8.5/map:60,
from /engn001/masvc01/mysql-8.0.13/client/mysqlbinlog.cc:47:
/usr/include/c++/4.8.5/exception:35:37: error: expected ‘}’ before end of line
#pragma GCC visibility push(default)
^
/usr/include/c++/4.8.5/exception:35:37: error: expected declaration before end of line


mysql의 유틸리티 툴인 mysqlbinlog 의 소스코드를 컴파일하고 디버깅 해보고 싶은데
여기서부턴 막히네요

로그인 후 답글을 남길 수 있습니다.