https://dev.mysql.com/doc/refman/8.0/en/installing-source-distribution.html? ?? ?? ?? ???(mysql-server-8.0)? ???? MySQL ??? ??????. ?? ???? ?? ?? mysql-server-8.0/sql/mysqld.cc
中的MySQL源代碼中添加了一些代碼,并且我添加的代碼使用了/usr/lib
中的自定義.so
???? ????.
MySQL ?? ??? ??? ? ? ?????? ???? ??? MySQL? ??? ? ?? ??? ??????.
???? ????? ??? ? ???? ????? ??? ??? ???? ???? ????? error: undefined reference to 'symbols in my library'
. ???? ?? ??? ???? ????!
?? ?????! ? .cc
源文件中沒有正確使用C。應該注意的是,在 .cc
???? C ?? ??? ???? ??? ??? ???.
??? ?? ????? ??? ?????. .cc
??? ????? ??? ?? ???? ??? ????? ?? ??? ???? ?????.