This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7.8: undefined reference to __xpg_strerror_r


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?

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]