[Olsr-dev] OLSRv1 telnet plugin on Android
Henning Rogge
(spam-protected)
Tue Jan 21 20:31:02 CET 2014
If the help command of the telnet plugin does not show the text you
added to it, then you cannot be running the new code.
Compiling doesn't help if the wrong plugin library is loaded, maybe
you should look for a second (older) library on your smartphone you
installed earlier.
Henning
On Tue, Jan 21, 2014 at 8:28 PM, Karoly Szabo <(spam-protected)> wrote:
> Unfortunately no.
> I just recompiled both of them (with make OS=ANDROID and ndk path).
>
> Karoly
>
> Il giorno 21/gen/2014 20:20, "Henning Rogge" <(spam-protected)> ha scritto:
>>
>> I would guess you still run a copy of the old executable and plugin
>> library.
>>
>>
>> Henning Rogge
>>
>> On Tue, Jan 21, 2014 at 8:16 PM, Karoly Szabo <(spam-protected)>
>> wrote:
>> > Hi all,
>> > I'm having some troubles with telnet plugin when I try to use some
>> > foreign
>> > commands.
>> > If I compile my commands (I put them in main.c to make it easier) and
>> > run on
>> > Linux everything is working fine, my foreign commands are listed when I
>> > type
>> > help in telnet and they do their job.
>> >
>> > When I compile for Android all the default commands are running but I
>> > can't
>> > make work the foreign commands, and neither see them with the help
>> > command
>> > in telnet.
>> > (I double checked on the configuration file and they should be active,
>> > also
>> > because the configuration is imported from the same machine where they
>> > are
>> > working)
>> >
>> > I found only this difference just for Linux in telnet library
>> > #ifdef __linux__
>> > #include <fcntl.h>
>> > #endif /* __linux__ */
>> >
>> > And I tried to workaround that just by adding:
>> > #ifdef __ANDROID__
>> > #include <fcntl.h>
>> > #endif /*__ANDROID__ */
>> >
>> > But the result seems to be unchanged at all.
>> >
>> > Does anyone have an idea how to solve it?
>> > Thanks for your help.
>> > Karoly
>> >
>> > --
>> > Olsr-dev mailing list
>> > (spam-protected)
>> > https://lists.olsr.org/mailman/listinfo/olsr-dev
More information about the Olsr-dev
mailing list