openwrt: stdinpub: waitfor unexpectedly is NULL [message #1711985] |
Tue, 20 October 2015 14:49 |
nir droid Messages: 6 Registered: September 2015 |
Junior Member |
|
|
hi,
I cross compiled paho (https://www.eclipse.org/paho/clients/c/) for openwrt
but the samples wont run. for example, stdinpub:
root@OpenWrt:/tmp/dir# /tmp/dir/stdinpub abc --host 10.0.0.3
Using topic abc
=========================================================
Trace Output
Product name: Paho Synchronous MQTT C Client Library
Version: 1.0.3
Build level: Mon Oct 19 14:31:57 UTC 2015
/proc/version: Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42625) ) #3 Wed Oct 1 14:00:51 CEST 2014
=========================================================
Connecting
20151020 144423.409 waitfor unexpectedly is NULL for client publisher, packet_type 2, timeout 29878
20151020 144424.430 waitfor unexpectedly is NULL for client publisher, packet_type 2, timeout 28858
Failed to connect
any idea? maybe I should some flags for the build? my current line is:
make V=s CFLAGS=" -I /home/eclipse/openssl-dist/include -L /home/eclipse/openssl-dist/lib/ -ldl -fPIC" LDFLAGS=' -ldl -L /home/eclipse/openssl-dist/lib/'
|
|
|
Powered by
FUDForum. Page generated in 0.02433 seconds