[Olsr-users] Kamikaze 8.09_rc1 olsrd: can't resolve symbol '__libc_pthread_init'

Derek C (spam-protected)
Sun Nov 9 22:19:12 CET 2008


Thank you Aaron & Bernd !

I commented out the following two lines in Makefile.inc: -
CPPFLAGS +=	$(OS_CFLAG_PTHREAD)
LIBS +=		$(OS_LIB_PTHREAD)

Then I deselected the BMF plugin and did a "make world".  After this I was
able to ssh over the resulting olsrd executable and it ran, without error,
on the LS2.

This is great!

again thanks very much

Derek


On Sun, November 9, 2008 8:32 pm, Bernd Petrovitsch wrote:
> On Son, 2008-11-09 at 20:22 +0100, L. Aaron Kaplan wrote:
>
>> if my memory serves me right, then libpthread should be only used for
>> one of the plugins in olsrd. (please: fellow coders - correkt me if I am
>> wrong, was it txtinfo? BMF?).
>>
>
> ----  snip  ----
> {14}find -name '*.[ch]' | xargs fgrep -w pthread_create
> ./lib/bmf/src/Bmf.c:#include <pthread.h> /* pthread_t, pthread_create() */
>  ./lib/bmf/src/Bmf.c:  if (pthread_create(&BmfThread, NULL, BmfRun, NULL)
> != 0)
> ./lib/bmf/src/Bmf.c:    BmfPError("pthread_create() error");
> ./lib/dyn_gw/src/olsrd_dyn_gw.c:int pthread_create(HANDLE *Hand, void
> *Attr, void *(*Func)(void *), void *Arg);
> ./lib/dyn_gw/src/olsrd_dyn_gw.c:  pthread_create(&ping_thread, NULL, (void
> *(*)(void *))looped_checks, NULL);
> ./lib/dyn_gw/src/olsrd_dyn_gw.c:int pthread_create(HANDLE *Hand, void
> *Attr __attribute__((unused)), void *(*Func)(void *), void *Arg)
> ----  snip  ----
> That should IMHO be the complete list.
>
>
> Bernd
> --
> Firmix Software GmbH                   http://www.firmix.at/
> mobil: +43 664 4416156                 fax: +43 1 7890849-55
> Embedded Linux Development and Services
>
>
>
> --
> Olsr-users mailing list
> (spam-protected)
> http://lists.olsr.org/mailman/listinfo/olsr-users
>
>


-- 
--
Derek C
In Ireland






More information about the Olsr-users mailing list