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

Jonathan P. Chapman (spam-protected)
Thu Mar 25 13:36:07 CET 2010


Hi!

Am 24.03.2010 00:46, schrieb Jonathan P. Chapman:
> Then assign the function pointers to the corresponding symbol:
> create_lq_hello = dlsym (dynamic_link_handler, "create_lq_hello");
>   
Apparently I was overly optimistic :-( - the respective pointers were
all NULL, so this did not work, in the end.
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 :-(

Thanks and best regards!

Jonathan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100325/f4b0f04e/attachment.sig>


More information about the Olsr-dev mailing list