[Olsr-dev] Loading plugin fails, undefined symbol for olsrd functions

Sven-Ola Tücke (spam-protected)
Thu Mar 25 13:47:20 CET 2010


Hey,

you can change that line in Makefile.inc to 
LDFLAGS +=    -Wl,-export-dynamic

which simply exports all symbols. Then test again:
if ok;then
  need to export more symbol, use 'EXPORT' macro
else
  another fault
fi

// Sven-Ola

Am Donnerstag, 25. März 2010 13:36:07 schrieb Jonathan P. Chapman:

> If I got Sven-Ola right, he recommended something along the line of
> adding to the Makefile (I'm using the 0.5.6-r8/stable release):
> LDFLAGS +=    -Wl,--dynamic-list=test.exports
> 
> where test.exports contains:
> {
>   "challenge_lq_parser_hello";
>   "process_message_neighbors";
>   "create_lq_hello";
>   "create_lq_tc";
>   "serialize_lq_tc";
> };
> 
> This did not make a change, either :-(




More information about the Olsr-dev mailing list