delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/30/04:58:24

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 30 Mar 2011 10:57:55 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.8: undefined reference to __xpg_strerror_r
Message-ID: <20110330085755.GD28987@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <7BE45EFA3B51A945A5CE66BAF647536DBC7499D87C AT GVW1119EXC DOT americas DOT hpqcorp DOT net> <20110308194109 DOT GK12899 AT calimero DOT vinschen DOT de> <loom DOT 20110330T102608-290 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20110330T102608-290@post.gmane.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mar 30 08:31, Jacky wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> 
> > 
> > On Mar  8 18:53, Hughes, Gregory Mark (PSG Consumer Experience) wrote:
> > > Hi,
> > > 
> > > After updating to Cygwin 1.7.8-1, I am seeing an unresolved reference to 
> __xpg_strerror_r 
> > 
> > Fixed in the recent snapshots on http://cygwin.com/snapshots/
> > 
> > Corinna
> > 
> 
> 
> Hi, Corinna, I also found the same error when building MPICH2 in Cygwin 1.7.8. 
> 
> make[2]: Entering directory `/cygdrive/d/cygwin/tmpmpich2/examples'
> ../bin/mpicc -I../src/include -I/cygdrive/d/cygwin/mpich2-1.3.2p1/src/include -
> c /cygdrive/d/cygwin/mpich2-1.3.2p1/examples/cpi.c
> ../bin/mpicc   -o cpi cpi.o  -lm 
> /cygdrive/d/cygwin/tmpmpich2/lib/libmpich.a(strerror.o):strerror.c:
> (.text+0x28): undefined reference to `__xpg_strerror_r'
> collect2: ld returned 1 exit status
> make[2]: *** [cpi] Error 1
> make[2]: Leaving directory `/cygdrive/d/cygwin/tmpmpich2/examples'
> make[1]: *** [all-postamble] Error 2
> make[1]: Leaving directory `/cygdrive/d/cygwin/tmpmpich2'
> make: *** [all-redirect] Error 2
> 
> How do the snapshots work? Should I replace cygwin1.dll by the snapshots? 
> Where to put winsup?

What about just upgrading to 1.7.9?  I released it yesterday.  You
should have seen the announcement.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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