Example temperature_conversion, does not build on the 1.4 branch

Asked by Johan Simonsson

Build error on the 1.4 branch:
mosquitto_1.4/examples/temperature_conversion/temperature_conversion.cpp:14: undefined reference to `vtable for mqtt_tempconv'
collect2: ld returned 1 exit status

step by step
git clone -b 1.4 http://git.eclipse.org/gitroot/mosquitto/org.eclipse.mosquitto.git mosquitto_1.4
cd mosquitto_1.4
make -j
cd examples/temperature_conversion
make

This exmple works on the 1.3 branch but not on the 1.4 branch.
Know issue?

Best regards
Johan Simonsson

Question information

Language:
English Edit question
Status:
Solved
For:
mosquitto Edit question
Assignee:
No assignee Edit question
Solved by:
Roger Light
Solved:
Last query:
Last reply:
Revision history for this message
Best Roger Light (roger.light) said :
#1

Not known, thanks very much. I've pushed a fix to the 1.4 branch.

Revision history for this message
Johan Simonsson (ubuntu-fun-tech) said :
#2

Got the fix, and it compiles again.

Thanks
Johan

Revision history for this message
Johan Simonsson (ubuntu-fun-tech) said :
#3

Thanks Roger Light, that solved my question.