Dec 17

I think it would be nice to develop applications with pthreads using the Bigloo interpreter and calling the pthread library. I tried this by including "(library pthread)" in the "(module " declaration. However, Bigloo reports "Can't find library `pthread' (`libbigloopthread_s-4.4c.so') -- (. /usr/local/bigloo-4.4c/lib/bigloo/4.4c)

There's a static library "libbigloopthread_s-4.4c.a" in directory

/usr/local/bigloo-4.4c/lib/bigloo/4.4c.  So I rebuilt Bigloo using the

"--cpicflags=-fpic" option, and created the shared library.

The configure command was:

configure --enable-pthread --disable-srfi18 --cpicflags=-fpic --prefix=/usr/local/bigloo-4.4c

Now when I run the Bigloo interpreter, it reports " *** ERROR:dynamic-load:/usr/local/bigloo-4.4c/lib/bigloo/4.4c/libbigloopthread_s-4.4c.so: /usr/local/bigloo-4.4c/lib/bigloo/4.4c/libbigloopthread_s-4.4c.so: undefined symbol: GC_pthread_sigmask -- /usr/local/bigloo-4.4c/lib/bigloo/4.4c/libbigloopthread_s-4.4c.so

Does anyone, maybe Manuel, know if the approach I'm trying is alright, and if so, how do you resolve the undefined symbol: GC_pthread_sigmask?

Althought the stuff for srfi-18 works in interpreter mode, I'd like to run native pthreading in interpreter mode if possible. Please ask for more information from me about my explanation above if you need it.

Thanks,

Glenn

Reply via email to