[dev] Symbols missing from liboctbstack.so

2015-05-07 Thread Schulhof, Gabriel
Hi! I've found that if I modify the command line which links liboctbstack.so to manually include libcoap_coap_list.o from libcoap, then those symbols still show up as missing, but my linking works: gcc -o out/linux/x86_64/release/resource/csdk/liboctbstack.so -ldl -lpthread -m64 -shared

[dev] Symbols missing from liboctbstack.so

2015-05-07 Thread Schulhof, Gabriel
Hi! nm -a out/linux/x86_64/release/liboctbstack.so | grep ' U ' | grep -v 'GLIBC' U coap_delete_list U coap_insert U coap_new_listnode It's very strange that these symbols are missing since they seem to be provided by libcoap.a, and libcoap.a is being included in liboctbstack.so ... Now, for com

[dev] Symbols missing from liboctbstack.so

2015-05-06 Thread Thiago Macieira
On Wednesday 06 May 2015 16:21:22 Thiago Macieira wrote: > But libconnectivity_abstraction.a requires libcoap.a. The order of the > declarations needs to be the opposite. But I won't make that change because > it appears that libconnectivity_abstraction.a is used in a lot of places. Ok, I've fix

[dev] Symbols missing from liboctbstack.so

2015-05-06 Thread Thiago Macieira
On Thursday 07 May 2015 01:55:24 Schulhof, Gabriel wrote: > Hi! > > nm -a out/linux/x86_64/release/liboctbstack.so | grep ' U ' | grep -v > 'GLIBC' > U coap_delete_list > U coap_insert > U coap_new_listnode Hint: you can use ldd to ask for undefined symbols. $ ldd -d -r out/linux/x86_64/release