<div dir="ltr"><div><div><div><div><div><div>I tried to remove all the olsr-related libraries from that devices and upload new ones but the problem is still there.<br></div><div>It may be the result of some preprocessing conditions that..in the end..<span id="result_box" class="" lang="en"><span class="">inhibit foreing commands by compiling on something different than Linux?</span></span><br>
<br></div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-01-21 Henning Rogge <span dir="ltr"><<a href="mailto:hrogge@gmail.com" target="_blank">hrogge@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If the help command of the telnet plugin does not show the text you<br>
added to it, then you cannot be running the new code.<br>
<br>
Compiling doesn't help if the wrong plugin library is loaded, maybe<br>
you should look for a second (older) library on your smartphone you<br>
installed earlier.<br>
<span class="HOEnZb"><font color="#888888"><br>
Henning<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Tue, Jan 21, 2014 at 8:28 PM, Karoly Szabo <<a href="mailto:szabo.karoly.a@gmail.com">szabo.karoly.a@gmail.com</a>> wrote:<br>
> Unfortunately no.<br>
> I just recompiled both of them (with make OS=ANDROID and ndk path).<br>
><br>
> Karoly<br>
><br>
> Il giorno 21/gen/2014 20:20, "Henning Rogge" <<a href="mailto:hrogge@gmail.com">hrogge@gmail.com</a>> ha scritto:<br>
>><br>
>> I would guess you still run a copy of the old executable and plugin<br>
>> library.<br>
>><br>
>><br>
>> Henning Rogge<br>
>><br>
>> On Tue, Jan 21, 2014 at 8:16 PM, Karoly Szabo <<a href="mailto:szabo.karoly.a@gmail.com">szabo.karoly.a@gmail.com</a>><br>
>> wrote:<br>
>> > Hi all,<br>
>> > I'm having some troubles with telnet plugin when I try to use some<br>
>> > foreign<br>
>> > commands.<br>
>> > If I compile my commands (I put them in main.c to make it easier) and<br>
>> > run on<br>
>> > Linux everything is working fine, my foreign commands are listed when I<br>
>> > type<br>
>> > help in telnet and they do their job.<br>
>> ><br>
>> > When I compile for Android all the default commands are running but I<br>
>> > can't<br>
>> > make work the foreign commands, and neither see them with the help<br>
>> > command<br>
>> > in telnet.<br>
>> > (I double checked on the configuration file and they should be active,<br>
>> > also<br>
>> > because the configuration is imported from the same machine where they<br>
>> > are<br>
>> > working)<br>
>> ><br>
>> > I found only this difference just for Linux in telnet library<br>
>> > #ifdef __linux__<br>
>> > #include <fcntl.h><br>
>> > #endif /* __linux__ */<br>
>> ><br>
>> > And I tried to workaround that just by adding:<br>
>> > #ifdef __ANDROID__<br>
>> > #include <fcntl.h><br>
>> > #endif /*__ANDROID__ */<br>
>> ><br>
>> > But the result seems to be unchanged at all.<br>
>> ><br>
>> > Does anyone have an idea how to solve it?<br>
>> > Thanks for your help.<br>
>> > Karoly<br>
>> ><br>
>> > --<br>
>> > Olsr-dev mailing list<br>
>> > <a href="mailto:Olsr-dev@lists.olsr.org">Olsr-dev@lists.olsr.org</a><br>
>> > <a href="https://lists.olsr.org/mailman/listinfo/olsr-dev" target="_blank">https://lists.olsr.org/mailman/listinfo/olsr-dev</a><br>
</div></div></blockquote></div><br></div>