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













0















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?










share|improve this question







New contributor




ussrback is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • 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
















0















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?










share|improve this question







New contributor




ussrback is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • 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














0












0








0








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?










share|improve this question







New contributor




ussrback is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












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






share|improve this question







New contributor




ussrback is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




ussrback is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




ussrback is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









ussrbackussrback

132




132




New contributor




ussrback is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





ussrback is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






ussrback is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • 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


















  • 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

















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











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.









draft saved

draft discarded


















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.









draft saved

draft discarded


















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.




draft saved


draft discarded














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





















































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

Popular posts from this blog

Creating 100m^2 grid automatically using QGIS?Creating grid constrained within polygon in QGIS?Createing polygon layer from point data using QGIS?Creating vector grid using QGIS?Creating grid polygons from coordinates using R or PythonCreating grid from spatio temporal point data?Creating fields in attributes table using other layers using QGISCreate .shp vector grid in QGISQGIS Creating 4km point grid within polygonsCreate a vector grid over a raster layerVector Grid Creates just one grid

Can I redirect output to a log file and background a process at the same time?2019 Community Moderator ElectionUnable to write to file in shell script when running command in backgroundredirect and log script outputhow to properly log the output of a console program that frequently updates “parts” of the screen, resulting in a messy log file?How can I redirect the output of a child process?grep script - output lines at the same time into echoHow to run process in background and get its pid to create log file nameHow to redirect output to a log from expect commandHow to clear a redirect log file content in shell?Log background jobs started in all the manually started shells?Why do `jobs` and `dirs` run in command subsitution, process substitution, pipeline, and background jobs output the same as in original shell?How to redirect output to file to STDOUT?

Can I sign legal documents with a smiley face?Do Legal Documents Require Signing In Standard Pen Colors?Is it possible to legally prohibit someone from linking to specific pages on your website?Do scans of signed documents have the same legal power as the original document?What can I do if I signed an excessively restrictive contract?Can other party sneak in new contract terms via termination notice?How to prove that someone forged my signature on a contract that I was not aware of?In Australia, Is it legal to sign a document as somebody else?making a contract that includes video licenceLease dispute, over email and text messageIf you must include all of the natural language prose in a legal document, or if it can be abstracted outE-signing: legal ramifications of “identifying” a person