Tracker: Bugs

5 Old version of gnulib assumes gets is defined - ID: 3600122
Last Update: Comment added ( inakimtz )

The next release of Ubuntu will use eglibc 2.16, which drops the definition of gets (following ISO C11).

The embedded gnulib assumes that gets is defined, and thus causes a build failure in the current development release of Ubuntu.

Upstream gnulib has followed this change in http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=66712c23388e93e5c518ebc8515140fa0c807348

Workaround is to disable the warning in gl/stdio.in.h.

Please update gnulib to allow nagios-plugins to compile in environments where gets is not defined.

Ubuntu bug: https://launchpad.net/bugs/1097848

Thanks!


racb ( racb ) - 2013-01-09 09:38:53 PST

5

Open

None

Holger Weiss

Compilation

None

Public


Comments ( 2 )

Date: 2013-04-05 01:15:35 PDT
Sender: inakimtz

Same issue on OpenSuse 12.3 clean install when compiling nagios-plugins
1.4.16

./stdio.h:456:1: error: 'gets' undeclared here (not in a function)
make[5]: *** [localcharset.o] Error 1



Date: 2013-01-09 10:57:16 PST
Sender: hweissProject Admin

Yes, we're aware of that issue and will update Gnulib before the next
release.


Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
assigned_to nobody 2013-01-09 10:57:16 PST hweiss