× - 코드 및 콘솔 화면은 [ code ] 내용 [ /code ] 태그 처리하여 주세요.
- 강조하고자 하는 내용은 [ b ] 내용 [ /b ] 태그 처리하여 주세요.

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

  • kimdubi2
    (kimdubi)
  • kimdubi2's Avatar 이 글의 작성자
  • Offline
  • Newbie
  • Newbie
더보기
23 Oct 2018 22:50 - 23 Oct 2018 22:50 #3942 작성자: kimdubi2
kimdubi2 님의 글: 컴파일 에러 봐주실 분 계실까요?
커맨드
[이 이메일 주소가 스팸봇으로부터 보호됩니다. 확인하려면 자바스크립트 활성화가 필요합니다.]#
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 의 소스코드를 컴파일하고 디버깅 해보고 싶은데
여기서부턴 막히네요
Time to create page: 0.050 seconds
Powered by Kunena Forum