[Olsr-dev] DL loading failed: undefined symbol OLSR Plugin
Mon Jan 14 19:29:55 CET 2013
Ich frage mich ob es was damit zu tun hat dass das File auf ".cpp"
endet... kannst du mal alle Source/Header-Files in xxx.c/xxx.h
umbenennen (und vermutlich nen paar Fehler im Makefile anpassen) ?
ist aber schwierig zu sagen obs das ist, seit 0.5.6R2 hat sich ne Menge getan.
On Mon, Jan 14, 2013 at 7:24 PM, Ricardo T. Macedo
> Hello Henning,
> When I compiled the source code did not have any compilation error.
> Thanks and best regards,
> On Mon, Jan 14, 2013 at 4:19 PM, Henning Rogge <(spam-protected)>
>> Did you get any compiler errors when compiling the code of the plugin
>> with a current OLSRd source?
>> Henning Rogge
>> On Mon, Jan 14, 2013 at 7:16 PM, Ricardo T. Macedo
>> <(spam-protected)> wrote:
>> > Hi,
>> > I'm trying to install a plugin OLSR for optimization of the choice of
>> > multiple paths
>> > (http://www.irccyn.ec-nantes.fr/spip.php?article527&lang=en),
>> > although the source code compilation and generation of binary not
>> > present
>> > problems, to load the plugin I am getting the message:
>> > DL loading failed: "/usr/lib/olsrd_sereadmo.so.0.1: undefined symbol:
>> > g_ser_device_name"!
>> > -- PLUGIN LOADING FAILED! --
>> > Searching in the code I saw that this symbol consists of a variable and
>> > that
>> > it is defined as follows in the file ser_device.cpp, line 16:
>> > char g_ser_device_name;
>> > To check if the variable was set in binary, I used the command:
>> > $ objdump -T olsrd_sereadmo.so.01
>> > and my result was:
>> > 00000000 D *UND* 00000000 g_ser_device_name
>> > This indicates that the symbol is not defined in spite of what appears
>> > in
>> > the code. I would like to understand why I'm having this error and how
>> > can I
>> > fix it.
>> > Can anyone point me a direction?
>> > Thanks and best regards.
>> > Ricardo.
>> > --
>> > Olsr-dev mailing list
>> > (spam-protected)
>> > https://lists.olsr.org/mailman/listinfo/olsr-dev
>> Steven Hawkings about cosmic inflation: "An increase of billions of
>> billions of percent in a tiny fraction of a second. Of course, that
>> was before the present government."
Steven Hawkings about cosmic inflation: "An increase of billions of
billions of percent in a tiny fraction of a second. Of course, that
was before the present government."
More information about the Olsr-dev