[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pthreads-devel
Subject:    Re: [pthreads-devel] ngpt fails to compile
From:       "Bill Abt" <babt () us ! ibm ! com>
Date:       2001-05-30 15:44:44
[Download RAW message or body]

Are you running on Debian???  For some reason, on Debian autoconf/configure
seems to think there is a workable makecontext/getcontext/setcontext.   You
can build it using the following command line:
     ./configure --with-mctx-mth=sjlj --with-mctx-dsp=ssjlj
--with-mctx-stk=sas --with-param=install

Let me know if it doesn't work.


Regards,
     Bill Abt
     Senior Software Engineer
     Next Generation POSIX Threading for Linux
     IBM Cambridge, MA, USA 02142
     Ext: +(00)1 617-693-1591
     T/L: 693-1591
     Cell: +(00)1 617-803-7514
     babt@us.ibm.com
     http://oss.software.ibm.com/developerworks/opensource/pthreads



                                                                                                         
                    "Nick Evgeniev"                                                                      
                    <nick@octet.com>                 To:     <pthreads-devel@dwoss.lotus.com>            
                    Sent by:                         cc:                                                 
                    pthreads-devel-admin@dwoss       Subject:     [pthreads-devel] ngpt fails to compile 
                    .lotus.com                                                                           
                                                                                                         
                                                                                                         
                    05/30/01 11:01 AM                                                                    
                    Please respond to "Nick                                                              
                    Evgeniev"                                                                            
                                                                                                         
                                                                                                         



Hi,

I tried to recompile ngpt 0.9.5 from source, but it fails with
pth_lib.c: In function `pth_getcontext':
pth_lib.c:442: structure has no member named `jb'

I've checked pth_p.h and have no idea of how it supposed to work. It
contains the following definition
typedef struct pth_mctx_st pth_mctx_t;
struct pth_mctx_st {
#if PTH_MCTX_MTH(mcsc)
    ucontext_t uc;
#elif PTH_MCTX_MTH(sjlj)
    pth_sigjmpbuf jb;
#else

One line of ./configure output was:
decision on mctx implementation... mcsc/sc/mc

but pth_lib.c unconditionally uses mctx_t->jb.

HOW should I compile this stuff??


_______________________________________________
pthreads-devel mailing list
pthreads-devel@oss.software.ibm.com
http://oss.software.ibm.com/developerworks/opensource/mailman/listinfo/pthreads-devel





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic