Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Problem compiling on raspberry pi


I am trying to compile a sample program that uses Paho mqtt C client on raspberry pi.
gcc in raspberry is 4.6.. Whenever I compile the code I see below error

Undefined reference to "<func-name in mqtt library say MQTTAsync_Create>"

Things I tried and it didnot work
- use -L and -l options
- Export LIBRARY_PATH to the directory having .so files

Kindly request your help in compiling the codeĀ 


Back to the top