Home > database >  Compile install mysql 8.0.15 error
Compile install mysql 8.0.15 error

Time:09-21

[66%] Building SQL/CMakeFiles sql_main CXX object. The dir/json_diff. Cc. O
[66%] Building SQL/CMakeFiles sql_main CXX object. The dir/json_dom. Cc. O
/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: In function 'Json_dom_ptr merge_doms (Json_dom_ptr Json_dom_ptr) :'
/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: 112:12: error: always bind 'Json_object_ptr {aka STD: : unique_ptr & lt; Json_object & gt; } 'lvalue to' STD: : unique_ptr & lt; Json_object & gt; & & '
Return left_object;
^
In the file included the from/usr/include/c + +/4.8.2/memory: 81:0,
The from/usr/local/mysql - 8.0.15/SQL/json_dom. H: 29,
The from/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: 23:
/usr/include/c + +/4.8.2/bits/unique_ptr. H: 169:2: error: the initializing argument 1 of 'STD: : unique_ptr & lt; The _Tp, _Dp & gt; : : unique_ptr (STD: : unique_ptr & lt; _Up, _Ep & gt; & & amp;) [with _Up=Json_object _Ep=STD: : default_delete & lt; Json_object & gt;; & lt; the template parameter - 2-3 & gt;=void; the _Tp=Json_dom _Dp=STD: : default_delete & lt; Json_dom & gt;] '
Unique_ptr (unique_ptr & lt; _Up, _Ep & gt; & & __u) noexcept
^
/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: 125:10: error: always bind 'Json_array_ptr {aka STD: : unique_ptr & lt; Json_array & gt; } 'lvalue to' STD: : unique_ptr & lt; Json_array & gt; & & '
Return left_array;
^
In the file included the from/usr/include/c + +/4.8.2/memory: 81:0,
The from/usr/local/mysql - 8.0.15/SQL/json_dom. H: 29,
The from/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: 23:
/usr/include/c + +/4.8.2/bits/unique_ptr. H: 169:2: error: the initializing argument 1 of 'STD: : unique_ptr & lt; The _Tp, _Dp & gt; : : unique_ptr (STD: : unique_ptr & lt; _Up, _Ep & gt; & & amp;) [with _Up=Json_array _Ep=STD: : default_delete & lt; Json_array & gt;; & lt; the template parameter - 2-3 & gt;=void; the _Tp=Json_dom _Dp=STD: : default_delete & lt; Json_dom & gt;] '
Unique_ptr (unique_ptr & lt; _Up, _Ep & gt; & & __u) noexcept
^
/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: In member function 'virtual Json_dom_ptr Json_object: : clone () const:'
/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: 1010:10: error: always bind 'Json_object_ptr {aka STD: : unique_ptr & lt; Json_object & gt; } 'lvalue to' STD: : unique_ptr & lt; Json_object & gt; & & '
return o;
^
In the file included the from/usr/include/c + +/4.8.2/memory: 81:0,
The from/usr/local/mysql - 8.0.15/SQL/json_dom. H: 29,
The from/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: 23:
/usr/include/c + +/4.8.2/bits/unique_ptr. H: 169:2: error: the initializing argument 1 of 'STD: : unique_ptr & lt; The _Tp, _Dp & gt; : : unique_ptr (STD: : unique_ptr & lt; _Up, _Ep & gt; & & amp;) [with _Up=Json_object _Ep=STD: : default_delete & lt; Json_object & gt;; & lt; the template parameter - 2-3 & gt;=void; the _Tp=Json_dom _Dp=STD: : default_delete & lt; Json_dom & gt;] '
Unique_ptr (unique_ptr & lt; _Up, _Ep & gt; & & __u) noexcept
^
/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: In member function 'virtual Json_dom_ptr Json_array: : clone () const:'
/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: 1150:10: error: always bind 'Json_array_ptr {aka STD: : unique_ptr & lt; Json_array & gt; } 'lvalue to' STD: : unique_ptr & lt; Json_array & gt; & & '
Return vv.
^
In the file included the from/usr/include/c + +/4.8.2/memory: 81:0,
The from/usr/local/mysql - 8.0.15/SQL/json_dom. H: 29,
The from/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: 23:
/usr/include/c + +/4.8.2/bits/unique_ptr. H: 169:2: error: the initializing argument 1 of 'STD: : unique_ptr & lt; The _Tp, _Dp & gt; : : unique_ptr (STD: : unique_ptr & lt; _Up, _Ep & gt; & & amp;) [with _Up=Json_array _Ep=STD: : default_delete & lt; Json_array & gt;; & lt; the template parameter - 2-3 & gt;=void; the _Tp=Json_dom _Dp=STD: : default_delete & lt; Json_dom & gt;] '
Unique_ptr (unique_ptr & lt; _Up, _Ep & gt; & & __u) noexcept
^
/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: In function 'Json_dom_ptr merge_doms (Json_dom_ptr Json_dom_ptr) :'
/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: 127:1: warning: control reaches the end of a non - void function [Wreturn - type]
}
^
/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: In member function 'virtual Json_dom_ptr Json_object: : clone () const:'
/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: 1012:1: warning: control reaches the end of a non - void function [Wreturn - type]
}
^
/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: In member function 'virtual Json_dom_ptr Json_array: : clone () const:'
/usr/local/mysql - 8.0.15/SQL/json_dom. Cc: 1152:1: warning: control reaches the end of a non - void function [Wreturn - type]
}
^
Make [2], [* * * SQL/CMakeFiles sql_main. Dir/json_dom. Cc. O] Error 1
Make [1] : * * * [SQL/CMakeFiles sql_main. Dir/all] Error 2
Make: * * * [all] Error 2
Advice on how to solve

CodePudding user response:

Solves the solved solved

CodePudding user response:

refer to the second floor is bad taste, please reply:
solved solved solved


Could you tell me how to solve?

CodePudding user response:

Could you tell me how to solve? thank you

CodePudding user response:

null
  • Related