delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/29/21:35:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <002501c0b8b9$f5438f80$822aeda9@ucdavis.edu>
Reply-To: "Wei Ku" <weiku AT mailaps DOT org>
From: "Wei Ku" <weiku AT physics DOT ucdavis DOT edu>
To: <cygwin AT cygwin DOT com>
Subject: pthread in Cygwin? (attempt to build ghostscript 6.5)
Date: Thu, 29 Mar 2001 17:37:18 -0800
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: 30 Mar 2001 01:37:18.0968 (UTC) FILETIME=[F5438F80:01C0B8B9]

Hello,

In the last step of building ghostscript 6.5 (after some minor modifications
in a few places) I encountered the following error message:

(while gcc -fno-common -o ./bin/gs ./obj/gs.o ./obj/gp_getnv.o ...)

./obj/gp_psync.o(.text+0x49):gp_psync.c: undefined reference to
`pthread_cond_init'
./obj/gp_psync.o(.text+0x7a):gp_psync.c: undefined reference to
`pthread_cond_destroy'
./obj/gp_psync.o(.text+0xda):gp_psync.c: undefined reference to
`pthread_cond_wait'
./obj/gp_psync.o(.text+0x148):gp_psync.c: undefined reference to
`pthread_cond_signal'
./obj/gp_psync.o(.text+0x28e):gp_psync.c: undefined reference to
`pthread_attr_setdetachstate'

I have /usr/include/pthread.h but can not find libpthread.a anywhere.  Any
help is appreciated.

Wei Ku


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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