I've already posted a similar question, but I'd like to get some feedback from the modders community if they are experiencing the same issue, or if its just me.
It seems that no matter what I try, I cannot get to compile any packages that make use of the pthread library on my ARM based Synology NAS. I have a 410j running DSM3/1337. Configure scripts of linux software that makes use of pthreads don't detect my phtreads library, although I've installed all header files which are detected properly and libpthread.so.0 is present in /lib.
Sofar I've tried the following :
1) replacing the config.guess and config.sub files from these packages with more up to date variants;
2) feeding --libdir=/lib to the configure script;
3) Exporting the environment variables for the correct library directories before compiling;
4) When comparing with DSM3-1337 on powerpc, we noticed that several aliases were missing in /opt/lib, so I went ahead and created symlinks for them :
/opt/lib/libpthread-0.10.so -> /lib/libpthread.so.0
/opt/lib/ libpthread.so.0 -> /lib/libpthread.so.0
These packages compile fine on DSM3/ppc and on several x86 2.6 Linux based distributions (Ubuntu 10.10, Debian Etch)
Either I'm missing something trivial and inobvious, or something is seriously busted on DSM3 on ARM. Anyone have thoughts on where to look further to solve this issue? Or have an idea for a working workaround?
Thanks!


