New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error #2952
Comments
Need to fully install cJSON library instead of just copying the two files cJSON.h and cJSON.c |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Trying to build latest version (2.0.18) on armhf platform I get the following error:
I have manually installed cJSON.h cJSON.C in ../cjson, do I miss something ?
cc mosquitto_ctrl.o client.o dynsec.o dynsec_client.o dynsec_group.o dynsec_role.o get_password.o memory_mosq.o memory_public.o misc_mosq.o options.o password_mosq.o ../../lib/libmosquitto.so.1 -o mosquitto_ctrl -lcrypto ../../lib/libmosquitto.so.1 -lcjson -ldl
/usr/bin/ld: cannot find -lcjson
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:46: mosquitto_ctrl] Error 1
make[2]: Leaving directory '/usr/src/mosquitto-2.0.18/apps/mosquitto_ctrl'
make[1]: *** [Makefile:9: all] Error 2
make[1]: Leaving directory '/usr/src/mosquitto-2.0.18/apps'
make: *** [Makefile:66: mosquitto] Error 2
The text was updated successfully, but these errors were encountered: