[Olsr-dev] (no subject)

Sven-Ola Tücke (spam-protected)
Wed May 21 07:36:24 CEST 2008


Hi,

no. wrong. I'm using ubuntu(g) too. "make install install_libs" *does* strip everything and it's running without any hassles.

(spam-protected):/tmp# uname -a
Linux pcacer 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
(spam-protected):/tmp# file /usr/sbin/olsrd /usr/lib/olsrd_mini.so.0.1
/usr/sbin/olsrd:            ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), not stripped
/usr/lib/olsrd_mini.so.0.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
(spam-protected):/tmp# /usr/sbin/olsrd -f /tmp/olsrd.conf -d 1

 *** olsr.org - 0.5.6-rc1 ***
 Build date: 2008-05-21 07:29:10 on pcacer
 http://www.olsr.org

Parsing file: "/tmp/olsrd.conf"
*** MINI: constructor

*** MINI: parameter test: hello
*** MINI: plugin_init
Adding route
Adding route
...

// Sven-Ola

Am Dienstag 20 Mai 2008 17:55:46 schrieb Stanley Koteks:
> I think they might have to explicitly keep certain symbols, as
> olsr_addroute_function is stripped when using --strip-unneeded. I am
> using Ubuntu.
>
> $ objdump -x olsrd |grep addroute
> 0807c6b8 g     O .bss   00000004              olsr_addroute_function
> 0807c6bc g     O .bss   00000004              olsr_addroute6_function
> $ strip --strip-unneeded ./olsrd
> $ objdump -x olsrd |grep addroute
> $
>
> Stan
>
> On 5/20/08, Bernd Petrovitsch <(spam-protected)> wrote:
> > On Die, 2008-05-20 at 08:13 -0700, Stanley Koteks wrote:
> >> Thanks Sven, I figured out what was wrong. The problem was not my
> >> code, but rather that my distro strips symbols from olsrd, and
> >> couldn't find it. If I compile my own and don't strip the symbols, it
> >> works fine. This makes me think that a plugin is unsuitable for this
> >
> > Which distro is it?
> > Perhaps they should add "-strip-unneeded" as parameter to "strip".
> >
> > 	Bernd
> > --
> > Firmix Software GmbH                   http://www.firmix.at/
> > mobil: +43 664 4416156                 fax: +43 1 7890849-55
> >           Embedded Linux Development and Services
> >
> >
> >
> > --
> > Olsr-dev mailing list
> > (spam-protected)
> > http://lists.olsr.org/mailman/listinfo/olsr-dev


-------------- next part --------------
A non-text attachment was scrubbed...
Name: addroutehooktest.patch
Type: text/x-diff
Size: 1833 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20080521/197f77e7/attachment.patch>
-------------- next part --------------
DebugLevel              0
IpVersion               4
AllowNoInt              yes
Pollrate                0.1
TcRedundancy            2
MprCoverage             7
LinkQualityFishEye      1
LinkQualityWinSize      100
LoadPlugin "olsrd_mini.so.0.1"
{
	PlParam "test" "hello"
}
LinkQualityLevel 2
UseHysteresis no
Interface "ath2"
{
        HelloInterval           6.0
        HelloValidityTime       108.0
        TcInterval              4.0
        TcValidityTime          324.0
        MidInterval             18.0
        MidValidityTime         324.0
        HnaInterval             18.0
        HnaValidityTime         108.0
}


More information about the Olsr-dev mailing list