On 7/6/06, ISHWAR RATTAN <[EMAIL PROTECTED]> wrote:
Did a fresh cvs checkout and tried to compile. System is (via uname -a): SunOS cps222 5.10 Generic_118833-03 sun4u sparc SUNW,Sun-Blade-100 In plan9 directory (via ./INSTALL): ... >>> cd /home/user/rattan/plan9/src/libthread; mk all 9c -I. pthread.c sparc-ucontext.h:20: error: conflicting types for 'makecontext' /usr/include/ucontext.h:43: error: previous declaration of 'makecontext' was here
There's a block of code that is #ifdef __sun__ in threadimpl.h that breaks Solaris. I was just in the process of preparing a diff when I was distracted by other things. In particular, this block is unnecessary and harmful: #if defined(__sun__) # define mcontext libthread_mcontext # define mcontext_t libthread_mcontext_t # define ucontext libthread_ucontext # define ucontext_t libthread_ucontext_t # include "sparc-ucontext.h" #endif Having eliminated that, however, it's working well for me.
