[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sharutils-4.11.1] Compilation against glibc-2.16.6 fails due to incompa
From: |
Petr Pisar |
Subject: |
[sharutils-4.11.1] Compilation against glibc-2.16.6 fails due to incompatible gnulib |
Date: |
Thu, 2 Aug 2012 16:59:26 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello,
it's not possible to build sharutils 4.11.1 with glibc-2.16.6:
make[4]: Entering directory `/home/test/fedora/sharutils/sharutils-4.11.1/lib'
gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -c localcharset.c
In file included from localcharset.c:28:0:
./stdio.h:494:1: error: ‘gets’ undeclared here (not in a function)
The reason is glibc-2.16 stopped declaring gets(3) in modern build environments
and this makes bundled gnulib unhappy, where the error is from. gnulib
developers has fix
<http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/30298>.
Please update the gnulib or apply the fix to sharutil copy.
-- Petr
pgp4E9R_wI6R9.pgp
Description: PGP signature
- [sharutils-4.11.1] Compilation against glibc-2.16.6 fails due to incompatible gnulib,
Petr Pisar <=