cygwin/pthreads

Robert Collins robert.collins@itdomain.com.au
Thu Apr 26 01:46:00 GMT 2001


===
----- Original Message -----
From: "Eric Peters" <eric@peters.org>
To: "Robert Collins" <rbtcollins@hotmail.com>
Sent: Thursday, April 26, 2001 1:16 PM
Subject: Re: cygwin/pthreads


> .@C922720-A /cygdrive/c/Daemon/CommonC++-1.4.2
> $ make
> Making all in posix
> make[1]: Entering directory `/cygdrive/c/Daemon/CommonC++-1.4.2/posix'
> /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.
> -I../posix
>  -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c semaphore.cpp
> c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE
> -D_REENTRANT -D_
> THREAD_SAFE -c semaphore.cpp -o semaphore.o
> semaphore.cpp: In method `int cc_Semaphore::getValue()':
> semaphore.cpp:79: implicit declaration of function `int
sem_getvalue(...)'

                                        ^^^^^
Here's your problem: sem_getvalue() is not implemented. You need to look
into what it's used for. I'll have a look into implementing
sem_getvalue, but I can't put a timeframe on it just yet.

Rob

> make[1]: *** [semaphore.lo] Error 1
> make[1]: Leaving directory `/cygdrive/c/Daemon/CommonC++-1.4.2/posix'
> make: *** [all-recursive] Error 1
>
> .@C922720-A /cygdrive/c/Daemon/CommonC++-1.4.2
> $
>
>
> Thanks!
>
> Eric
>
> On Thu, 26 Apr 2001, Robert Collins wrote:
>
> > Hi Eric,
> >   Semaphores should be working properly. If you could drop the link
error
> > you get to the mailing list cygwin-apps@cygwin.com I'm happy to have
a quick
> > look-see.
> >
> > Rob
> >
> >
> > >From: Eric Peters <egpeters@u.washington.edu>
> > >To: Robert Collins <rbtcollins@hotmail.com>
> > >Subject: cygwin/pthreads
> > >Date: Tue, 24 Apr 2001 19:59:13 -0700 (PDT)
> > >MIME-Version: 1.0
> > >Received: from [140.142.8.54] by hotmail.com (3.2) with ESMTP id
> > >MHotMailBCAF88830099400431608C8E0836F54A0; Tue Apr 24 19:59:15 2001
> > >Received: from dante39.u.washington.edu
(egpeters@dante39.u.washington.edu
> > >[140.142.15.199])by jason05.u.washington.edu
> > >(8.11.2+UW01.01/8.11.2+UW01.03) with ESMTP id f3P2xEP21810for
> > ><rbtcollins@hotmail.com>; Tue, 24 Apr 2001 19:59:14 -0700
> > >Received: from localhost (egpeters@localhost)by
dante39.u.washington.edu
> > >(8.11.2+UW01.01/8.11.2+UW01.03) with ESMTP id f3P2xDV29404for
> > ><rbtcollins@hotmail.com>; Tue, 24 Apr 2001 19:59:13 -0700
> > >From egpeters@u.washington.edu Tue Apr 24 20:01:19 2001
> > >Message-ID:
> > ><Pine.A41.4.33.0104241956240.64360-100000@dante39.u.washington.edu>
> > >
> > >I noticed you've done a considerable ammount of work updating the
cygwin
> > >support for pthreads.  I was curious where the implementation
status for
> > >sem_getvalue was at.  Do the semaphores actually update at all with
the
> > >sem_init and etc?  I'm trying to get CommonC++ to compile under
cygwin,
> > >and the compile phase has significantly advanced, until it hit the
> > >undefined reference to sem_getvalue during linking.
> > >( http://sourceforge.net/projects/cplusplus ) if your interested.
> > >
> > >Great work and thank you for your time,
> > >
> > >Eric
> > >
> >
> >
________________________________________________________________________
_
> > Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com .
> >
> >
>
>



More information about the Cygwin-apps mailing list