Hi,

I tried to compile the tux daemon for OpenWrt (for an Asus WL-500GD)
and I also faced a problem:

The available glib is an old one (version 1.2), so the references to
libgthread don't work. I tried to compile a more recent one (v 2.0.7),
but it requires several other libraries -- libiconv, gettext... --
which are not provided with uClibC.
This was quite laborious, so I gave up and started looking at the
deamon's source code.

Now, as Philippe says:
>Apparently all pthreads are handled through processes on ARM,
>I've seen the same with apache2-mpm-worker where what should be
>plenty of threads becoming standalone processes.
>Probably a kind of thread emulation if the ARM arch doesn't allow
>native support of threads, no idea...

I don't have much experience with threads, but I am wondering: would
it be interesting to create a specific version of tuxdaemon for
embedded systems, based on forks and no longer on threads ? It might
be handled more reliably, be easier to compile using the different
SDKs and should not require lots of modifications.

Any advice ?

Cheers,
--
Florent Vuillemin

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
tux-droid-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-user

Reply via email to