[Olsr-dev] (no subject)

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


Oops. Who the f*ck has removed the strip from "make install"!? Anyhow a 
manual "strip /usr/lib/olsrd_*;strip /usr/sbin/olsrd" later: still running.

// Sven-Ola

 Am Mittwoch 21 Mai 2008 07:36:24 schrieb Sven-Ola Tücke:
> 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






More information about the Olsr-dev mailing list