[Olsr-users] Android: reloc_library[1300] error for olsrd_bmf.so.1.7.0 (fwd)
Vikram KAUL
(spam-protected)
Sun Jul 25 15:51:37 CEST 2010
> I don't get it. AFAICT from your mails you do not compile yourself? And you
> have a problem loading a plugin that doublely has some purpose on any android
> device - since the BMF offers multicast and I cannot imagine that MCast is
> running well on android because IBSS/Ad-Hoc is hardly supported by wifi drivers
> and I would expect bugs/flaws in the driver also.
I do have the android NDK and do compile olsrd (and the plugins) myself
after setting up the paths in make/Makefile.Android
With a rooted android device (I am using G1 running Android 2.1),
working in ad-hoc mode is well documented and there are instructions on how to do that.
Standard olsrd works fine. Of course, if the conf file has the LoadPlugin for BMF,
it errors out. But without any plugin, it works fine. Routes are created
and unicast routing works well.
>
> Anyhow. A missing symbol may popup with other plugins too. The
> set_plugin_int() is exported by olsrd-main as some other helper functions. Can
> you check to load the dyn_gw or nameservice plugin? They use the same
> function.
Yes. It probably has nothing to do with BMF. The issue is generic with all
plugins. I did not get an opportunity to try that out. I will report
results as soon as I get a chance to do it. Probably tomorrow
thanks
Vikram
>
> // Sven-Ola
>
> Am Samstag, 24. Juli 2010, um 03:25:53 schrieb Vikram KAUL:
>> Hi Mitar and Sevn-Ola
>>
>> Sorry for the direct email. I had heard no responses, and was not sure if
>> you had seen my problem with the BMF pluging on Android.
>>
>> Do you think you can give me some pointers ?
>>
>> Sorry again for the direct email. I know I should not do it and the forum
>> is the best place.. was not sure if it missed your attention
>>
>> Thanks again, and regards..
>> Vikram
>>
>> ---------- Forwarded message ----------
>> Date: Tue, 20 Jul 2010 15:51:34 -0400 (Eastern Daylight Time)
>> From: Vikram KAUL <(spam-protected)>
>> To: (spam-protected)
>> Cc: Vikram KAUL <(spam-protected)>
>> Subject: Re: Android: reloc_library[1300] error for olsrd_bmf.so.1.7.0
>>
>>> I seem to get a problem with the stable relese from today (20th July)
>>> with the plugin load for BMF on Android G1 (version 2.1).
>>
>> Sorry, I meant to say the most "stable" release version from 16th July.
>>
>> committer Sven-Ola Tuecke <(spam-protected)>
>> Fri, 16 Jul 2010 18:29:29 +0000 (20:29 +0200)
>>
>> with the commit reference starting with 31ec9d6....
>>
>> Vikram
>>
>>> I am loading only the bmf plugin, and have placed the .so* file in
>>> /system/lib. The file is found, but olsrd errors out on not being able to
>>> locate 'set_plugin_int'. See error below.
>>>
>>> The config file is pretty simple. I have only removed the txtinfo plugin
>>> and added bmf to the default.lq config
>>>
>>> LoadPlugin "olsrd_bmf.so.1.7.0"
>>> {
>>> }
>>>
>>> Any idea why this is happening ? It works fine on standard linux.
>>>
>>> Any pointers will be greatly appreciated
>>>
>>> regards..
>>> Vikram
>>>
>>> Here is the full error
>>>
>>> # ./olsrd -d 9
>>> ./olsrd -d 9
>>>
>>> *** olsr.org - pre-0.6.1 ***
>>> Build date: 2010-07-20 13:50:31 on vkaul-laptop
>>> http://www.olsr.org
>>>
>>> Parsing file: "/data/local/etc/olsrd.conf"
>>> Link quality fish eye 0
>>> Plugin: olsrd_bmf.so.1.7.0
>>>
>>> Interface Defaultssetting ifs_in_curr_cfg = 0
>>>
>>> IPv4 broadcast/multicast : AUTO (d)
>>> Mode : mesh (d)
>>> IPv6 multicast : ff02::6d
>>> HELLO emission/validity : 2.00 (d)/20.00 (d)
>>> TC emission/validity : 5.00 (d)/300.00 (d)
>>> MID emission/validity : 5.00 (d)/300.00 (d)
>>> HNA emission/validity : 5.00 (d)/300.00 (d)
>>> Autodetect changes : yes
>>> IPv4 broadcast/multicast : AUTO
>>> Mode : mesh
>>> IPv6 multicast : ::
>>> HELLO emission/validity : 0.00/0.00
>>> TC emission/validity : 0.00/0.00
>>> MID emission/validity : 0.00/0.00
>>> HNA emission/validity : 0.00/0.00
>>> Autodetect changes : no
>>>
>>> *** olsrd configuration ***
>>> Debug Level : 9
>>> IpVersion : 4
>>> No interfaces : ALLOWED
>>> TOS : 0x10
>>> OlsrPort : 0x2ba
>>> RtTable : 254
>>> RtTableDefault : 254
>>> RtTableTunnel : 254
>>> Willingness : 3
>>> IPC connections : 0
>>> Pollrate : 0.05
>>> NIC ChangPollrate: 2.50
>>> TC redundancy : 2
>>> MPR coverage : 7
>>> LQ level : 2
>>> LQ fish eye : 0
>>> LQ aging factor : 0.050000
>>> LQ algorithm name: default
>>> NAT threshold : 1.000000
>>> Clear screen : yes
>>> Use niit : yes
>>> Smart Gateway : no
>>> SmGw. Allow NAT : yes
>>> Smart Gw. Uplink : both
>>> SmGw. Uplink NAT : yes
>>> Smart Gw. speed : 128 kbit/s up, 1024 kbit/s down
>>> # Smart Gw. prefix : ::/0
>>>
>>> InterfaceDefaults:
>>> IPv4 broadcast/multicast : AUTO
>>> Mode : mesh
>>> IPv6 multicast : ff02::6d
>>> HELLO emission/validity : 2.00/20.00
>>> TC emission/validity : 5.00/300.00
>>> MID emission/validity : 5.00/300.00
>>> HNA emission/validity : 5.00/300.00
>>> Autodetect changes : yes
>>>
>>> dev: "tiwlan0"
>>>
>>> IPv4 broadcast/multicast : AUTO (d)
>>> Mode : mesh (d)
>>> IPv6 multicast : ff02::6d (d)
>>> HELLO emission/validity : 2.00 (d)/20.00 (d)
>>> TC emission/validity : 5.00 (d)/300.00 (d)
>>> MID emission/validity : 5.00 (d)/300.00 (d)
>>> HNA emission/validity : 5.00 (d)/300.00 (d)
>>> Autodetect changes : yes (d)
>>>
>>> Plugins:
>>> Name: "olsrd_bmf.so.1.7.0"
>>>
>>> Not using hysteresis
>>> Adding OLSR socket entry 5
>>> Initializing parser...
>>> Parser: registering event for type 201
>>> Register parse function: Added function for type 201
>>> Parser: registering event for type 202
>>> Register parse function: Added function for type 202
>>> Parser: registering event for type 3
>>> Register parse function: Added function for type 3
>>> Parser: registering event for type 4
>>> Register parse function: Added function for type 4
>>> Added 0.0.0.0 to IP deny set
>>> Added 127.0.0.1 to IP deny set
>>>
>>> ---- Interface configuration ----
>>>
>>> Checking tiwlan0:
>>> Not a wireless interface
>>> Metric: 0
>>> MTU - IPhdr: 1472
>>> Index 7
>>> Address:192.168.0.128
>>> Netmask:255.255.255.0
>>> Broadcast address:192.168.0.255
>>>
>>> Binding socket 11 to device tiwlan0
>>> Binding socket 14 to device tiwlan0
>>> Adding OLSR socket entry 11
>>> Adding OLSR socket entry 14
>>> New main address: 192.168.0.128
>>> TIMER: jitter 25% rel_time 2000ms to 1683ms
>>> TIMER: start Hello Generation timer 0x7cbb0 firing in 00:00:01.683, ctx
>>> 0x7ca80
>>> TIMER: jitter 25% rel_time 5000ms to 4580ms
>>> TIMER: start TC Generation timer 0x7cbe0 firing in 00:00:04.580, ctx
>>> 0x7ca80 TIMER: jitter 25% rel_time 5000ms to 4700ms
>>> TIMER: start MID Generation timer 0x7cc10 firing in 00:00:04.700, ctx
>>> 0x7ca80 TIMER: jitter 25% rel_time 5000ms to 4272ms
>>> TIMER: start HNA Generation timer 0x7cc40 firing in 00:00:04.272, ctx
>>> 0x7ca80 TIMER: jitter 5% rel_time 2000ms to 1978ms
>>> TIMER: start Interface Polling timer 0x7cc70 firing in 00:00:01.978, ctx
>>> 0x0 TIMER: start Default Timer Cookie timer 0x7cca0 firing in
>>> 00:00:00.600, ctx 0x0
>>> Using 'etx_ff' algorithm for lq calculation.
>>> Parser: registering packetparser
>>> Registered packetparser function
>>> TIMER: start Default Timer Cookie timer 0x7cda0 firing in 00:00:01.000,
>>> ctx 0x0
>>> TIMER: jitter 25% rel_time 15000ms to 14933ms
>>> TIMER: start Default Timer Cookie timer 0x7cdd0 firing in 00:00:14.933,
>>> ctx 0x0
>>> RIB: init routing tree
>>> TC: init topo
>>> TC: add entry 192.168.0.128
>>> RIB: add prefix 192.168.0.128/32 from 192.168.0.128
>>> MPRS: Init
>>> MID: init
>>> TIMER: start Default Timer Cookie timer 0x7d140 firing in 01:00:00.000,
>>> ctx 0x0
>>> ---------- LOADING LIBRARY olsrd_bmf.so.1.7.0 ----------
>>> DL loading failed: "Cannot load library: reloc_library[1300]: 1544
>>> cannot locate 'set_plugin_int'..."!
>>> -- PLUGIN LOADING FAILED! --
>
>
More information about the Olsr-users
mailing list