Joachim Schmitz wrote:
> alphasort missing, need to modify gllib/dirent.in.h? How?
> source='test-dirent-c++.cc' object='test-dirent-c++.o' libtool=no  
> DEPDIR=.depsdepmode=none /bin/sh ./../build-aux/depcomp  c++ -HAVE_CONFIG_H 
> -I.   -DGNULIB_STRICT_CHECKING=1  -I. -I.  -I.. -I./..  -I../gllib 
> -I./../gllib -I/usr/local/include  -Wnowarn -c -o test-dirent-c++.o 
> test-dirent-c++.cc
>   _GL_CXXALIAS_SYS_CAST (alphasort, int,
>   ^
> "/usr/local/Floss/gnulib/testdir-posix/gltests/./../gllib/dirent.h", line 
> 471: error(363):
>           the global scope has no "alphasort"

Gnulib has an 'alphasort' module that provides a replacement when the
function is missing. The error message here makes me think that the function
exists on your system but its declaration is missing.

Can you add the declaration to <dirent.h>?

References:
<http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/dirent.h.html>
<http://pubs.opengroup.org/onlinepubs/9699919799/functions/alphasort.html>

Bruno

Reply via email to