Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » [C] Cross compiled x86 code not connecting to broker(broker connectivity issue in x86 (armv71))
[C] Cross compiled x86 code not connecting to broker [message #1859171] Wed, 17 May 2023 01:11
Eclipse UserFriend
hi,
i am using paho async library .
i am including library files like below
#include "paholib/MQTTAsync.h"
>file tree
paholib/
├── MQTTAsync.h
├── MQTTClient.h
├── MQTTClientPersistence.h
├── MQTTExportDeclarations.h
├── MQTTProperties.h
├── MQTTReasonCodes.h
└── MQTTSubscribeOpts.h

The application compiled using gcc in amd64 ubuntu system is connecting to broker but the same application compiled using cross compiler for MYS-6ULX board return -8 on MQTTAsync_connect.
i am attaching the error code from trace below
PS: the IMX linux system is running a yocto build and paho libraries are added in the build ( screen shot attached)
Previous Topic:Convert or export Eclipse .project/.cproject to CMakeLists.txt?
Next Topic:project won't compile
Goto Forum:
  


Current Time: Sun Jul 13 14:27:57 EDT 2025

Powered by FUDForum. Page generated in 0.06898 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top