mosquitto_auth_plugのコンパイル中にエラーが発生しました。

mosquitto_auth_plugのコンパイル中にエラーが発生しました。

私のconfig.mkファイルには次の設定があります。

# Select your backends from this list
BACKEND_CDB ?= no
BACKEND_MYSQL ?= no
BACKEND_SQLITE ?= no
BACKEND_REDIS ?= no
BACKEND_POSTGRES ?= yes
BACKEND_LDAP ?= no
BACKEND_HTTP ?= no
BACKEND_JWT ?= no
BACKEND_MONGO ?= no
BACKEND_FILES ?= yes
BACKEND_MEMCACHED ?= no

# Specify the path to the Mosquitto sources here
MOSQUITTO_SRC = /usr/include

# Specify the path the OpenSSL here
OPENSSLDIR = /usr/bin/openssl

# Specify optional/additional linker/compiler flags here
# On macOS, add
#       CFG_LDFLAGS = -undefined dynamic_lookup
# as described in https://github.com/eclipse/mosquitto/issues/244
CFG_LDFLAGS =
CFG_CFLAGS = -DRAW_SALT

コンパイルしようとすると、sudo make次のエラーが発生します。

Selected backends:          PostgreSQL Files
Using mosquitto source dir: /usr/include
OpenSSL install dir:        /usr/bin/openssl

If you changed the backend selection, you might need to 'make clean' first

CFLAGS:  -DRAW_SALT -I/usr/include/src/ -I/usr/include/lib/ -fPIC -Wall -Werror  -DBE_POSTGRES -DBE_FILES  -I/usr/include/postgresql -I/src -DDEBUG=1 -I/usr/bin/openssl /include
LDFLAGS:   -L/usr/include/lib/
LDADD:    -L/usr/lib/x86_64-linux-gnu -lpq -L/usr/bin/openssl /lib -lcrypto -lmosquitto

cc -DRAW_SALT -I/usr/include/src/ -I/usr/include/lib/ -fPIC -Wall -Werror  -DBE_POSTGRES -DBE_FILES  -I`pg_config --includedir` -I/src -DDEBUG=1 -I/usr/bin/openssl /include   -c -o auth-plug.o auth-plug.c
cc: error: /include: No such file or directory
<builtin>: recipe for target 'auth-plug.o' failed
make: *** [auth-plug.o] Error 1

何が問題なのか教えてもらえますか?この問題をどのように解決できますか?

ベストアンサー1

おすすめ記事