私はMQTT Auth Pluginをビルドしようとしています。私はこれを行うには@http://www.yasith.me/2016/04/securing-mqtt-connection-using.htmlの指示に従っています。ここで私は取得していますエラーです - 私のconfig.mkファイルがどのように見えるMQTT Auth Plugin - ビルドの問題
Using mosquitto source dir: /home/vagrant/Repos/mosquitto/mqtt/mosquitto
OpenSSL install dir: /usr/bin
If you changed the backend selection, you might need to 'make clean' first
CFLAGS: -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/src/ -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/lib/ -fPIC -Wall -Werror -DBE_HTTP -I/src -DDEBUG=1 -I/usr/bin/include
LDFLAGS: -L/home/vagrant/Repos/mosquitto/mqtt/mosquitto/lib/
LDADD: -lcurl -L/usr/bin/lib -lcrypto -lmosquitto
cc -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/src/ -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/lib/ -fPIC -Wall -Werror -DBE_HTTP -I/src -DDEBUG=1 -I/usr/bin/include -c -o auth-plug.o auth-plug.c
cc -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/src/ -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/lib/ -fPIC -Wall -Werror -DBE_HTTP -I/src -DDEBUG=1 -I/usr/bin/include -c -o base64.o base64.c
cc -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/src/ -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/lib/ -fPIC -Wall -Werror -DBE_HTTP -I/src -DDEBUG=1 -I/usr/bin/include -c -o pbkdf2-check.o pbkdf2-check.c
cc -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/src/ -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/lib/ -fPIC -Wall -Werror -DBE_HTTP -I/src -DDEBUG=1 -I/usr/bin/include -c -o log.o log.c
cc -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/src/ -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/lib/ -fPIC -Wall -Werror -DBE_HTTP -I/src -DDEBUG=1 -I/usr/bin/include -c -o envs.o envs.c
cc -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/src/ -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/lib/ -fPIC -Wall -Werror -DBE_HTTP -I/src -DDEBUG=1 -I/usr/bin/include -c -o hash.o hash.c
cc -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/src/ -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/lib/ -fPIC -Wall -Werror -DBE_HTTP -I/src -DDEBUG=1 -I/usr/bin/include -c -o be-psk.o be-psk.c
cc -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/src/ -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/lib/ -fPIC -Wall -Werror -DBE_HTTP -I/src -DDEBUG=1 -I/usr/bin/include -c -o backends.o backends.c
cc -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/src/ -I/home/vagrant/Repos/mosquitto/mqtt/mosquitto/lib/ -fPIC -Wall -Werror -DBE_HTTP -I/src -DDEBUG=1 -I/usr/bin/include -c -o cache.o cache.c
cache.c: In function 'sha_hash':
cache.c:48:3: error: implicit declaration of function 'EVP_MD_CTX_new' [-Werror=implicit-function-declaration]
cache.c:48:23: error: initialization makes pointer from integer without a cast [-Werror]
cache.c:53:3: error: implicit declaration of function 'EVP_MD_CTX_free' [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make: *** [cache.o] Error 1
-
# Select your backends from this list
BACKEND_CDB ?= no
BACKEND_MYSQL ?= no
BACKEND_SQLITE ?= no
BACKEND_REDIS ?= no
BACKEND_POSTGRES ?= no
BACKEND_LDAP ?= no
BACKEND_HTTP ?= yes
BACKEND_JWT ?= no
BACKEND_MONGO ?= no
# Specify the path to the Mosquitto sources here
MOSQUITTO_SRC =/home/vagrant/Repos/mosquitto/mqtt/mosquitto
# Specify the path the OpenSSL here
OPENSSLDIR = /usr/bin
# Specify optional/additional linker flags here
LDFLAGS =
私はLINUX VM(浮浪者)でこれをやっている - それが作るかどうかわかりません任意の違い。私はすべてのapt-getがパッケージを期待通りにインストールするのを見ることができました。
提案がありますか?
@jpmens - あらゆるガイダンスが評価されます。前もって感謝します。 – Satya