Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » where are the object files stored in the paho project(PAHO project)
where are the object files stored in the paho project [message #1722950] Wed, 10 February 2016 12:59
Frank van der Wal is currently offline Frank van der WalFriend
Messages: 1
Registered: February 2016
Junior Member
Hi there,

newby alert

I've downloaded the c files and I build/make the project. All runs OK but I would like to take of or two .c files out of the ~/org.eclipse.paho.mqtt.c/src/samples directory and want to compile/link them separately. (more for education reasons then anything else...)

So I took subasync.c changed the ip number and tried to run it. Compiling was OK but the linking phase failed with the error message:

/tmp/cchTINjb.o: In function `msgarrvd':
subasync.c:(.text+0xd4): undefined reference to `MQTTClient_freeMessage'
subasync.c:(.text+0xdc): undefined reference to `MQTTClient_free'

and some other 'undefined references to '

As far as my c knowledge goes I understand that I need to link .o files in where the functions like MQTTClient_freeMessage are described.

Question is: where are these files stored in the project? I tried to disassemble the make file but found that very difficult to do.

Thanks for the help.

__Frank
Previous Topic:Error handling when no PINGRESP received
Next Topic:deadlock with the java client
Goto Forum:
  


Current Time: Tue Apr 23 06:51:54 GMT 2024

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

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

Back to the top