[riot-devel] microcoap app

Baptiste Clenet bapclenet at gmail.com
Mon Mar 16 14:41:49 CET 2015


Sorry, I forgot the "e", I wanted to mention you.
I tried the "make distclean" and it works! I will thinbk about this command
next time!
Thank you Martine.


2015-03-16 14:21 GMT+01:00 Martine Lenders <authmillenon at gmail.com>:

> Hi,
> I don't know how much expertise Martin has on the microcoap application,
> but I tried to compile it against current master and it worked. Did you try
> a `make distclean` before `make`? Sometimes the checkout points for the pkg
> repositories get a little deprecated.
>
> Cheers,
> Martine
>
> 2015-03-16 10:26 GMT+01:00 Baptiste Clenet <bapclenet at gmail.com>:
>
>> Hello,
>>
>> I'm trying to build the microcoap app on Native.
>> Here is what I get:
>>
>> workspace/applications-master/microcoap$ make
>> ...
>> gcc: error:
>> workspace/applications-master/microcoap/bin/native/microcoap.a: Aucun
>> fichier ou dossier de ce type
>> make: *** [all] Erreur 1
>>
>>
>> RIOT folder is in workspace as well.
>>
>> If I change the name "microcoap-example" by "microcoap", I get:
>>
>> workspace/applications-master/microcoap$ make
>> ...
>> workspace/applications-master/microcoap/bin/native/microcoap.a(main.o):
>> dans la fonction « _microcoap_server_thread »:
>> main.c:(.text+0x30a): référence indéfinie vers « coap_dump »
>> main.c:(.text+0x336): référence indéfinie vers « coap_parse »
>> main.c:(.text+0x384): référence indéfinie vers « coap_dumpPacket »
>> main.c:(.text+0x3a4): référence indéfinie vers « coap_handle_req »
>> main.c:(.text+0x3c4): référence indéfinie vers « coap_build »
>> main.c:(.text+0x418): référence indéfinie vers « coap_dump »
>> main.c:(.text+0x43e): référence indéfinie vers « coap_dumpPacket »
>> collect2: error: ld returned 1 exit status
>> make: *** [all] Erreur 1
>>
>> Btw, coap pkg is built without errors.
>>
>> Martin, did I do something wrong?
>>
>> Cheers,
>>
>> --
>>
>> *Clenet BaptisteFR: +33 6 29 73 05 39 <%2B33%206%2029%2073%2005%2039>*
>>
>>
>>
>> _______________________________________________
>> devel mailing list
>> devel at riot-os.org
>> http://lists.riot-os.org/mailman/listinfo/devel
>>
>>
>
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> http://lists.riot-os.org/mailman/listinfo/devel
>
>


-- 

*Clenet BaptisteFR: +33 6 29 73 05 39*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20150316/a02ae8b4/attachment.html>


More information about the devel mailing list