In file included from auth-plug.c:54:0:
be-mysql.h:32:19: fatal error: mysql.h: No such file or directory
be-mysql.h:32:19: fatal error: mysql.h: No such file or directory
#include <mysql.h>
安装
yum install mysql++-devel.x86_64
错误解决
再编译
Werror:
implicit declaration of function ‘EVP_MD_CTX_new’ [-Wimplicit-function-declaration]
EVP_MD_CTX *mdctx = EVP_MD_CTX_new();
initialization makes pointer from integer without a cast [enabled by default]
EVP_MD_CTX *mdctx = EVP_MD_CTX_new();
implicit declaration of function ‘EVP_MD_CTX_free’ [-Wimplicit-function-declaration]
解决方法
vi Makefile
将 -Werror 选项删除
重新编译
生成
auth-plug.o
解决