Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <003601c0ce2d$70da2a90$0200a8c0@lifelesswks> From: "Robert Collins" To: "Eric Peters" Cc: References: Subject: Re: cygwin/pthreads Date: Thu, 26 Apr 2001 18:14:16 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 26 Apr 2001 08:38:21.0601 (UTC) FILETIME=[401EB110:01C0CE2C] === ----- Original Message ----- From: "Eric Peters" To: "Robert Collins" 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 AT cygwin DOT com I'm happy to have a quick > > look-see. > > > > Rob > > > > > > >From: Eric Peters > > >To: Robert Collins > > >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 AT dante39 DOT u DOT washington DOT edu > > >[140.142.15.199])by jason05.u.washington.edu > > >(8.11.2+UW01.01/8.11.2+UW01.03) with ESMTP id f3P2xEP21810for > > >; Tue, 24 Apr 2001 19:59:14 -0700 > > >Received: from localhost (egpeters AT localhost)by dante39.u.washington.edu > > >(8.11.2+UW01.01/8.11.2+UW01.03) with ESMTP id f3P2xDV29404for > > >; Tue, 24 Apr 2001 19:59:13 -0700 > > >From egpeters AT u DOT washington DOT edu Tue Apr 24 20:01:19 2001 > > >Message-ID: > > > > > > > > >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. > > > > > >