xHasKx / luamqtt

luamqtt - Pure-lua MQTT v3.1.1 and v5.0 client
https://xhaskx.github.io/luamqtt/
MIT License
154 stars 41 forks source link

openwrt/Makefile error #9

Closed daveliang closed 5 years ago

daveliang commented 5 years ago

openwrt/Makefile compile error
last version

xHasKx commented 5 years ago

daveliang, can you provide some error output of your make call?

daveliang commented 5 years ago

1552958356(1)

xHasKx commented 5 years ago

Can you post the terminal command you use to build for openwrt?

daveliang commented 5 years ago

$make menuconfig enable luamqtt $make package/utils/luamqtt/compile V=s

xHasKx commented 5 years ago

daveliang, check the new version of Makefile Basically, I replaced all spaces with tabs and now commands like yours are not generating any errors. But I'm not sure you need to compile the package as it's completely written in lua.

And for understanding - the openwrt/Makefile was contributed to my lib, I didn't tested it on real openwrt hardware. So there might be another issues.

daveliang commented 5 years ago

I have solved the problem.