This is the mail archive of the
cygwin
mailing list for the Cygwin project.
qsort_r and libc.a version?
- From: Jim Garrison <jim dot garrison at nwea dot org>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 6 Feb 2014 19:04:38 +0000
- Subject: qsort_r and libc.a version?
- Authentication-results: sourceware.org; auth=none
I tried to build libgit2 so I could try to build gitg but encountered
undefined reference to `qsort_r'
GitHub has a closed issue for this https://github.com/libgit2/libgit2/issues/1606 saying that qsort_r was added to glibc in version 2.8, released in 2008.
Since libc in Cygwin is part of the base package, how would I find out which upstream version it's based on?
There was a commit in libgit2 that was supposed to fix this :
https://github.com/libgit2/libgit2/commit/0d77647adc1f76df66e437e6442d7f7706e2c38e#diff-bb2cd4651768482b99cb1c52d29ceffdR694
but I don't know enough about Cygwin internals to determine why it still fails on Cygwin.
--
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