[Olsr-users] Android: reloc_library[1300] error for olsrd_bmf.so.1.7.0

Vikram KAUL (spam-protected)
Tue Jul 20 21:33:23 CEST 2010


Folks

  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).

  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