where are the object files stored in the paho project [message #1722950] |
Wed, 10 February 2016 12:59 |
Frank van der Wal 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
|
|
|
Powered by
FUDForum. Page generated in 0.03110 seconds