bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getgroups.c failes to compile


From: Mohammad Akhlaghi
Subject: getgroups.c failes to compile
Date: Sat, 11 May 2019 23:06:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Dear Gnulib maintainers,

Recently in a build of Gnuastro 0.9 (which uses Gnulib `v0.1-2539-gd6af24178'), we confronted a crash during the build of Gnulib's `getgroups.c' (error summary is in P.S.).

As further information, I am also attaching several outputs of the configuration and build which will hopefully provide much more detailed information on the host system and build environment. The two `redirect-*.txt' files are the full outputs of the `./configure' and `make' commands.

We really appreciate your help in fixing this problem.

Thank you very much for all the great effort on Gnulib,
Cheers,
Mohammad



P.S. Error message while building Gnulib within Gnuastro:

/bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -Wall -O3 -pthread -MT getopt1.lo -MD -MP -MF $depbase.Tpo -c -o getopt1.lo getopt1.c &&\
mv -f $depbase.Tpo $depbase.Plo
In file included from getgroups.c:22:0:
getgroups.c:33:1: error: conflicting types for ‘rpl_getgroups’
 getgroups (int n _GL_UNUSED, GETGROUPS_T *groups _GL_UNUSED)
 ^
./unistd.h:1216:1: note: previous declaration of ‘rpl_getgroups’ was here
 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups));
 ^
Makefile:2208: recipe for target 'getgroups.lo' failed
make[4]: *** [getgroups.lo] Error 1
make[4]: *** Waiting for unfinished jobs....

Attachment: config.log
Description: Text Data

Attachment: Makefile
Description: Text document

Attachment: redirect-configure.txt
Description: Text document

Attachment: redirect-make.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]