bug-gnu-libiconv
[Top][All Lists]
Advanced

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

[bug-gnu-libiconv] Build libiconv on linux / gets error


From: Kristian
Subject: [bug-gnu-libiconv] Build libiconv on linux / gets error
Date: Thu, 31 Mar 2016 23:19:47 +0200

Hi,

I am building libiconv on a linux system. The command "cat
/etc/*-release" gives me

> NAME="Red Hat Enterprise Linux Server"
> VERSION="7.2 (Maipo)"
> ID="rhel"
> ID_LIKE="fedora"
> VERSION_ID="7.2"
> PRETTY_NAME="Red Hat Enterprise Linux"
> ANSI_COLOR="0;31"
> CPE_NAME="cpe:/o:redhat:enterprise_linux:7.2:GA:server"
> HOME_URL="https://www.redhat.com/";
> BUG_REPORT_URL="https://bugzilla.redhat.com/";

> REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
> REDHAT_BUGZILLA_PRODUCT_VERSION=7.2
> REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
> REDHAT_SUPPORT_PRODUCT_VERSION="7.2"
> Red Hat Enterprise Linux Server release 7.2 (Maipo)
> Red Hat Enterprise Linux Server release 7.2 (Maipo)

When building libiconv, I do this:

./configure --prefix="/target/path"
make
make install

But when compiling, I get this error:

gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib  -I../intl
-DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1   -g -O2 -c progname.c
In file included from progname.c:26:0:
./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function)
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 ^

I searched a little bit on google, and found, that this is something,
that also occurred on other systems. And it seems, that there seems to
be some quick fixes (e.g.
http://linuking.com/GNHome/index.php?document_srl=10960&mid=LinuxEtc&listStyle=viewer&page=7)

But, if there are some fixes, why noone fix this error?



reply via email to

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