On Sat, 7 Apr 2012 12:39:10 -0400 Matthew Mondor <mm_li...@pulsar-zone.net> wrote:
> gcc -DECLDIR="\"/usr/local/ecl/lib/ecl-12.2.1\"" -I. > -I/home/mmondor/work/ecl-git/ecl/build -I/home/mmondor/work/ecl-git/ecl/src/c > -I../ecl/gc -DECL_API -DECL_NO_LEGACY -I/usr/pkg/include -O2 -g -fPIC > -Dnetbsd -c -o threads/process.o threads/process.o.c > /home/mmondor/work/ecl-git/ecl/src/c/threads/process.d: In function > ‘mp_process_enable’: > /home/mmondor/work/ecl-git/ecl/src/c/threads/process.d:501:3: error: invalid > initializer > /home/mmondor/work/ecl-git/ecl/src/c/threads/process.d:503:3: error: > incompatible type for argument 2 of ‘GC_pthread_sigmask’ > /usr/pkg/include/gc/gc_pthread_redirects.h:25:7: note: expected ‘const struct > sigset_t *’ but argument is of type ‘sigset_t’ > *** Error code 1 I could look again into it: diff --git a/src/c/threads/process.d b/src/c/threads/process.d index d13234b..f2223e5 100644 --- a/src/c/threads/process.d +++ b/src/c/threads/process.d @@ -497,8 +497,8 @@ mp_process_enable(cl_object process) */ #ifdef HAVE_SIGPROCMASK { - sigset_t previous, new = process_env->default_sigmask; - sigaddset(&new, ecl_option_values[ECL_OPT_THREAD_INTERRUPT_SIGNAL]); + sigset_t previous, *new = process_env->default_sigmask; + sigaddset(new, ecl_option_values[ECL_OPT_THREAD_INTERRUPT_SIGNAL]); pthread_sigmask(SIG_SETMASK, new, &previous); code = pthread_create(&process->process.thread, &pthreadattr, thread_entry_point, process); Although ECL crashed when I attempted to rebuild the HTTPd. I'll try to play more with it later on. Slime rebuilt fine and I got to the REPL. -- Matt ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list