X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.9 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FORGED_YAHOO_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,SARE_SUB_ENC_UTF8,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Jacky Subject: Re: 1.7.8: undefined reference to =?utf-8?b?X194cGdfc3RyZXJyb3Jfcg==?= Date: Wed, 30 Mar 2011 08:31:52 +0000 (UTC) Lines: 35 Message-ID: References: <7BE45EFA3B51A945A5CE66BAF647536DBC7499D87C AT GVW1119EXC DOT americas DOT hpqcorp DOT net> <20110308194109 DOT GK12899 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Corinna Vinschen 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? Thanks Jacky -- 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