[ nagiosplug-Bugs-3600122 ] Old version of gnulib assumes gets is defined

SourceForge.net <[email protected]>
Newsgroups gmane.network.nagios.plugins.devel
Message-ID <[email protected]>
Bugs item #3600122, was opened at 2013-01-09 09:38
Message generated for change (Comment added) made by inakimtz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3600122&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compilation
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: racb ()
Assigned to: Holger Weiss (hweiss)
Summary: Old version of gnulib assumes gets is defined

Initial Comment:
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!

----------------------------------------------------------------------

Comment By: inaki_mtz (inakimtz)
Date: 2013-04-05 01:15

Message:
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


----------------------------------------------------------------------

Comment By: Holger Weiss (hweiss)
Date: 2013-01-09 10:57

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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3600122&group_id=29880

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.