ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/04/26/12:59:20

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: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <003601c0ce2d$70da2a90$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Eric Peters" <eric AT peters DOT org>
Cc: <cygwin-apps AT cygwin DOT com>
References: <Pine DOT LNX DOT 4 DOT 33 DOT 0104252316470 DOT 30875-100000 AT frodo DOT ezprohosting DOT com>
Subject: Re: cygwin/pthreads
Date: Thu, 26 Apr 2001 18:14:16 +1000
MIME-Version: 1.0
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" <eric AT peters DOT org>
To: "Robert Collins" <rbtcollins AT hotmail DOT 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 AT cygwin DOT com I'm happy to have
a quick
> > look-see.
> >
> > Rob
> >
> >
> > >From: Eric Peters <egpeters AT u DOT washington DOT edu>
> > >To: Robert Collins <rbtcollins AT hotmail DOT 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 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
> > ><rbtcollins AT hotmail DOT com>; 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
> > ><rbtcollins AT hotmail DOT com>; 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:
> > ><Pine DOT A41 DOT 4 DOT 33 DOT 0104241956240 DOT 64360-100000 AT dante39 DOT u DOT washington DOT 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.
> >
> >
>
>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019