← Back to team overview

mosquitto-dev team mailing list archive

Re: [Question #136821]: Sample MQTT SUBSCRIBE MESSAGE

 

Question #136821 on mosquitto changed:
https://answers.launchpad.net/mosquitto/+question/136821

    Status: Answered => Solved

Venkates Velayutham confirmed that the question is solved:
Thanks Roger. When we tried to compile
http://bitbucket.org/oojah/mosquitto/src/5a33eb4c0979/test/packet-gen.c
using the Makefile in
http://bitbucket.org/oojah/mosquitto/src/5a33eb4c0979/test/, we received
the error undefined reference for functions _mosquitto_send_connect and
_mosquitto_send_subscribe. It appears they are not exported in the
shared library as they are meant for internal use. We replaced the above
mentioned functions with mosquitto_connect and mosquitto_subscribe and
compilation was successful. Just thought we mentioned this to you.

Thanks for your help.

Regards,

Venky

-- 
You received this question notification because you are a member of
Mosquitto Dev, which is an answer contact for mosquitto.