[Olsr-dev] Dynamic library

Henning Rogge (spam-protected)
Tue Jul 6 07:56:57 CEST 2010


On Mon July 5 2010 21:18:30 Airton Ishimori wrote:
> How can I create ipk package (example.ipk) for olsrd-0.6 with OpenWrt SDK?
> 
> I want to the example.ipk holds a dynamic library (dll_example.so.0.1) and
> when I install in the OpenWrt Whiterrussian, the library dll_example.so.0.1
> willl be intalled into directory /usr/lib. I want to the library will be
> used by olsrd-0.6 as a plugin.
> 
> My implementation holds the fucntion that construct the dynamic library.
> (my_ini and my_fini).
First step would be to integrate your plugin into the OLSRd makefile. This 
should be nearly automatic with linux as long as you copy your plugin 
directory with the plugin makefile into the libs/ subfolder of OLSRd. You will 
find examples for plugin makefiles in the other plugins.

Second step would be to modify the OpenWRT ipk makefile to build an additional 
package.

Henning Rogge
-- 
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100706/6da21bd2/attachment.sig>


More information about the Olsr-dev mailing list