[OLSR-users] PLUGIN LOADING FAILED!

Siamak Eskandari (spam-protected)
Sat Apr 7 10:15:04 CEST 2007


Hi Andreas,

Thanks for info.
I used your HOWTO as a reference to make a plugin.

Now I need to know that :
1. How can I upgrade the plugin?
2. Do you have new plugin HOWTO  that  I can  use.

Thanks.

Siamak 

----- Original Message ----
From: Andreas T√łnnesen <(spam-protected)>
To: OLSR discussion and development <(spam-protected)>
Sent: Saturday, April 7, 2007 9:25:47 AM
Subject: Re: [OLSR-users] PLUGIN LOADING FAILED!


You are using the initial v1 interface. The current version is 4 and
there has been some major changes. There is no longer a need for
fetching function pointers trough the "fetch function"(whatever
it was called back then).
Now you can call all olsrd functions directly from your plugin.

To declare that your interface is version 4 you must make a function:
int olsrd_plugin_interface_version(void)
available. This function must return 4.
However, changing the version alone will not be enough, you need
to update your plugin to use the new interface(as explained above).

And yes, the plugin HOWTO is OBSOLETE.

- Andreas

Siamak Eskandari wrote:
> Hi,
>
> I am trying to load my private plugin, but I receive this error 
> message after start of olsrd:
>
> Loading plugins...
>
> ---------- Plugin loader ----------
> Library: olsrd_myplugin.so.0.1
> OLSRD myplugin plugin 0.1 by Siamak
> Checking plugin interface version... trying v2 detection... trying v1 
> detection...  1 - OK
>
> WARNING: YOU ARE USING AN OLD DEPRECATED PLUGIN INTERFACE! DETECTED 
> VERSION 1 CURRENT VERSION 4
> PLEASE UPGRADE YOUR PLUGIN!
> WILL CONTINUE IN 5 SECONDS...
>
> -- PLUGIN LOADING FAILED! --
>
> Main address: 192.168.0.142
>
> Scheduler started - polling every 0.05 seconds
> |
>
> How can I upgrade my plugin to a new version?
>
> Thanks
>
> Siamak
>
>
> ------------------------------------------------------------------------
> Don't get soaked. Take a quick peek at the forecast 
> <http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news>
> with theYahoo! Search weather shortcut. 
> <http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news>
> ------------------------------------------------------------------------
>
> _______________________________________________
> olsr-users mailing list
> (spam-protected)
> https://www.olsr.org/mailman/listinfo/olsr-users
>   


_______________________________________________
olsr-users mailing list
(spam-protected)
https://www.olsr.org/mailman/listinfo/olsr-users







 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20070407/de1ce95a/attachment.html>


More information about the Olsr-users mailing list