Re: Compile failure due to use of qsort_r

Karel Zak
2014-04-01T13:45:22Z

On Tue, Apr 01, 2014 at 01:03:10PM +0100, Paul Barker wrote:
> Hi all,
>
> I'm using util-linux as part of the OpenEmbedded build system and
> we've ran into two places where the use of qsort_r in util-linux is
> causing a compile failure:
>
> - CentOS 5.10 is using an old version of glibc which doesn't provide qsort_r

Well, I don't like this kind of arguments -- it's almost always
problematic to update only small subset of distro...

> - We're experimenting with musl-libc and this also doesn't provide qsort_r

This is better, I'll add #ifdef to the code. Thanks.

Karel

--
Karel Zak <kzak@redhat.com>