Error compiling mosquitto_auth_plugCross LFS - PPC - Error while compilingError compiling glibCannot create “Hello World” module (and NVIDIA, and VirtualBox)building/compiling kernel headersError compiling drivers for Ralink RT2870Error while building Linux kernel for versatile boardIs this error “Only Win32 target is supported” coming from wrong cc1plus?SSH Configuration Help / Can't tunnelError compiling gettextAndroid kernel compiling error
Was the picture area of a CRT a parallelogram (instead of a true rectangle)?
Do there exist finite commutative rings with identity that are not Bézout rings?
How does it work when somebody invests in my business?
Tiptoe or tiphoof? Adjusting words to better fit fantasy races
How to be diplomatic in refusing to write code that breaches the privacy of our users
Increase performance creating Mandelbrot set in python
Is there a problem with hiding "forgot password" until it's needed?
What is difference between behavior and behaviour
apt-get update is failing in debian
Can a monster with multiattack use this ability if they are missing a limb?
Was Spock the First Vulcan in Starfleet?
Is there a good way to store credentials outside of a password manager?
is this a spam?
How could Frankenstein get the parts for his _second_ creature?
Understanding "audieritis" in Psalm 94
Is there any easy technique written in Bhagavad GITA to control lust?
What would be the benefits of having both a state and local currencies?
Mapping a list into a phase plot
I'm in charge of equipment buying but no one's ever happy with what I choose. How to fix this?
Can somebody explain Brexit in a few child-proof sentences?
How was Earth single-handedly capable of creating 3 of the 4 gods of chaos?
How do I keep an essay about "feeling flat" from feeling flat?
Why does John Bercow say “unlock” after reading out the results of a vote?
Time travel short story where a man arrives in the late 19th century in a time machine and then sends the machine back into the past
Error compiling mosquitto_auth_plug
Cross LFS - PPC - Error while compilingError compiling glibCannot create “Hello World” module (and NVIDIA, and VirtualBox)building/compiling kernel headersError compiling drivers for Ralink RT2870Error while building Linux kernel for versatile boardIs this error “Only Win32 target is supported” coming from wrong cc1plus?SSH Configuration Help / Can't tunnelError compiling gettextAndroid kernel compiling error
My config.mk
file has the following settings:
# 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
When i am trying to compile it sudo make
it throws the following error:
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
Could you please advice whats wrong and how can i fix the problem?
linux debian mqtt
New contributor
add a comment |
My config.mk
file has the following settings:
# 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
When i am trying to compile it sudo make
it throws the following error:
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
Could you please advice whats wrong and how can i fix the problem?
linux debian mqtt
New contributor
Did you mean to write-I/usr/bin/openssl/include
in place of-I/usr/bin/openssl /include
?
– steeldriver
yesterday
I have reinstalled openssl package manually and changed openssl setting inside config.mk file toOPENSSLDIR = /usr/local/openssl
. Now it throws new error:In file included from /usr/include/openssl/evp.h:66:0, from auth-plug.c:33: /usr/include/x86_64-linux-gnu/openssl/opensslconf.h:18:3: error: #error OPENSSL_ALGORITHM_DEFINES no longer supported # error OPENSSL_ALGORITHM_DEFINES no longer supported ^~~~~ auth-plug.c:35:30: fatal error: mosquitto_broker.h: No such file or directory #include <mosquitto_broker.h> ^
– ussrback
yesterday
add a comment |
My config.mk
file has the following settings:
# 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
When i am trying to compile it sudo make
it throws the following error:
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
Could you please advice whats wrong and how can i fix the problem?
linux debian mqtt
New contributor
My config.mk
file has the following settings:
# 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
When i am trying to compile it sudo make
it throws the following error:
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
Could you please advice whats wrong and how can i fix the problem?
linux debian mqtt
linux debian mqtt
New contributor
New contributor
New contributor
asked yesterday
ussrbackussrback
132
132
New contributor
New contributor
Did you mean to write-I/usr/bin/openssl/include
in place of-I/usr/bin/openssl /include
?
– steeldriver
yesterday
I have reinstalled openssl package manually and changed openssl setting inside config.mk file toOPENSSLDIR = /usr/local/openssl
. Now it throws new error:In file included from /usr/include/openssl/evp.h:66:0, from auth-plug.c:33: /usr/include/x86_64-linux-gnu/openssl/opensslconf.h:18:3: error: #error OPENSSL_ALGORITHM_DEFINES no longer supported # error OPENSSL_ALGORITHM_DEFINES no longer supported ^~~~~ auth-plug.c:35:30: fatal error: mosquitto_broker.h: No such file or directory #include <mosquitto_broker.h> ^
– ussrback
yesterday
add a comment |
Did you mean to write-I/usr/bin/openssl/include
in place of-I/usr/bin/openssl /include
?
– steeldriver
yesterday
I have reinstalled openssl package manually and changed openssl setting inside config.mk file toOPENSSLDIR = /usr/local/openssl
. Now it throws new error:In file included from /usr/include/openssl/evp.h:66:0, from auth-plug.c:33: /usr/include/x86_64-linux-gnu/openssl/opensslconf.h:18:3: error: #error OPENSSL_ALGORITHM_DEFINES no longer supported # error OPENSSL_ALGORITHM_DEFINES no longer supported ^~~~~ auth-plug.c:35:30: fatal error: mosquitto_broker.h: No such file or directory #include <mosquitto_broker.h> ^
– ussrback
yesterday
Did you mean to write
-I/usr/bin/openssl/include
in place of -I/usr/bin/openssl /include
?– steeldriver
yesterday
Did you mean to write
-I/usr/bin/openssl/include
in place of -I/usr/bin/openssl /include
?– steeldriver
yesterday
I have reinstalled openssl package manually and changed openssl setting inside config.mk file to
OPENSSLDIR = /usr/local/openssl
. Now it throws new error:In file included from /usr/include/openssl/evp.h:66:0, from auth-plug.c:33: /usr/include/x86_64-linux-gnu/openssl/opensslconf.h:18:3: error: #error OPENSSL_ALGORITHM_DEFINES no longer supported # error OPENSSL_ALGORITHM_DEFINES no longer supported ^~~~~ auth-plug.c:35:30: fatal error: mosquitto_broker.h: No such file or directory #include <mosquitto_broker.h> ^
– ussrback
yesterday
I have reinstalled openssl package manually and changed openssl setting inside config.mk file to
OPENSSLDIR = /usr/local/openssl
. Now it throws new error:In file included from /usr/include/openssl/evp.h:66:0, from auth-plug.c:33: /usr/include/x86_64-linux-gnu/openssl/opensslconf.h:18:3: error: #error OPENSSL_ALGORITHM_DEFINES no longer supported # error OPENSSL_ALGORITHM_DEFINES no longer supported ^~~~~ auth-plug.c:35:30: fatal error: mosquitto_broker.h: No such file or directory #include <mosquitto_broker.h> ^
– ussrback
yesterday
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
ussrback is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508524%2ferror-compiling-mosquitto-auth-plug%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
ussrback is a new contributor. Be nice, and check out our Code of Conduct.
ussrback is a new contributor. Be nice, and check out our Code of Conduct.
ussrback is a new contributor. Be nice, and check out our Code of Conduct.
ussrback is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508524%2ferror-compiling-mosquitto-auth-plug%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
-debian, linux, mqtt
Did you mean to write
-I/usr/bin/openssl/include
in place of-I/usr/bin/openssl /include
?– steeldriver
yesterday
I have reinstalled openssl package manually and changed openssl setting inside config.mk file to
OPENSSLDIR = /usr/local/openssl
. Now it throws new error:In file included from /usr/include/openssl/evp.h:66:0, from auth-plug.c:33: /usr/include/x86_64-linux-gnu/openssl/opensslconf.h:18:3: error: #error OPENSSL_ALGORITHM_DEFINES no longer supported # error OPENSSL_ALGORITHM_DEFINES no longer supported ^~~~~ auth-plug.c:35:30: fatal error: mosquitto_broker.h: No such file or directory #include <mosquitto_broker.h> ^
– ussrback
yesterday