Home > database >  Linux compile mysql to 59% error is submitted to the various functions, a great god
Linux compile mysql to 59% error is submitted to the various functions, a great god

Time:09-22

/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: in function 'Json_dom_ptr merge_doms (Json_dom_ptr Json_dom_ptr) :'
/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: 112:12: error: unable to lvalue 'Json_object_ptr {aka STD: : unique_ptr & lt; Json_object & gt; } 'is bound to the' STD: : unique_ptr & lt; Json_object & gt; & & '
Return left_object;
^
In the file included the from/usr/local/include/c + +/4.8.4/memory: 81:0,
The from/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. H: 29,
The from/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: 23:
/usr/local/include/c + +/4.8.4/bits/unique_ptr. H: 169:2: error: to initialize the '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;] The argument of 1
Unique_ptr (unique_ptr & lt; _Up, _Ep & gt; & & __u) noexcept
^
/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: 125:10: error: unable to lvalue 'Json_array_ptr {aka STD: : unique_ptr & lt; Json_array & gt; } 'is bound to the' STD: : unique_ptr & lt; Json_array & gt; & & '
Return left_array;
^
In the file included the from/usr/local/include/c + +/4.8.4/memory: 81:0,
The from/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. H: 29,
The from/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: 23:
/usr/local/include/c + +/4.8.4/bits/unique_ptr. H: 169:2: error: to initialize the '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;] Argument 1
'Unique_ptr (unique_ptr & lt; _Up, _Ep & gt; & & __u) noexcept
^
/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: in 'virtual member function Json_dom_ptr Json_object: : clone () const:'
/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: 1010:10: error: unable to lvalue 'Json_object_ptr {aka STD: : unique_ptr & lt; Json_object & gt; } 'is bound to the' STD: : unique_ptr & lt; Json_object & gt; & & '
return o;
^
In the file included the from/usr/local/include/c + +/4.8.4/memory: 81:0,
The from/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. H: 29,
The from/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: 23:
/usr/local/include/c + +/4.8.4/bits/unique_ptr. H: 169:2: error: to initialize the '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;] The argument of 1
Unique_ptr (unique_ptr & lt; _Up, _Ep & gt; & & __u) noexcept
^
/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: in 'virtual member function Json_dom_ptr Json_array: : clone () const:'
/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: 1150:10: error: unable to lvalue 'Json_array_ptr {aka STD: : unique_ptr & lt; Json_array & gt; } 'is bound to the' STD: : unique_ptr & lt; Json_array & gt; & & '
Return vv.
^
In the file included the from/usr/local/include/c + +/4.8.4/memory: 81:0,
The from/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. H: 29,
The from/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: 23:
/usr/local/include/c + +/4.8.4/bits/unique_ptr. H: 169:2: error: to initialize the '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;] Argument 1
'Unique_ptr (unique_ptr & lt; _Up, _Ep & gt; & & __u) noexcept
^
/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: in function 'Json_dom_ptr merge_doms (Json_dom_ptr Json_dom_ptr) :'
/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: 127:1: warning: in the function returns a value, the control process to function tail [Wreturn - type]
}
^
/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: in 'virtual member function Json_dom_ptr Json_object: : clone () const:'
/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: 1012:1: warning: in the function returns a value, the control process to function tail [Wreturn - type]
}
^
/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: in 'virtual member function Json_dom_ptr Json_array: : clone () const:'
/usr/local/SRC/mysql - 8.0.15/SQL/json_dom. Cc: 1152:1: warning: in the function returns a value, the control process to function tail [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: * * * 2 [all] mistake

CodePudding user response:

Use compiled glibc version of the bag, packing more convenient ah,,

CodePudding user response:

Upgrade the GCC to 5.3 above, I am such a solution
  • Related