Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 05:11
anandhu us is currently offline anandhu usFriend
Messages: 1
Registered: May 2023
Junior Member
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: Tue Jan 14 21:05:20 GMT 2025

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

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

Back to the top