[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43509] Compilation stop, because of undefined
From: |
John |
Subject: |
[Octave-bug-tracker] [bug #43509] Compilation stop, because of undefined 'gets' |
Date: |
Fri, 31 Oct 2014 16:04:22 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 |
URL:
<http://savannah.gnu.org/bugs/?43509>
Summary: Compilation stop, because of undefined 'gets'
Project: GNU Octave
Submitted by: jcoppens
Submitted on: Fri 31 Oct 2014 04:04:21 PM GMT
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name: John
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.2
Operating System: GNU/Linux
_______________________________________________________
Details:
Compilation stops with this message:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I./array -I./cruft/misc
-Inumeric -I./numeric -Ioperators -I./operators -I./system -I./util
-I../libgnu -I../libgnu -I./cruft/Faddeeva -Wall -W -Wshadow -Wformat
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings
-Wcast-align -Wcast-qual -g -O2 -pthread -MT
numeric/numeric_libnumeric_la-randgamma.lo -MD -MP -MF
numeric/.deps/numeric_libnumeric_la-randgamma.Tpo -c numeric/randgamma.c
-fPIC -DPIC -o numeric/.libs/numeric_libnumeric_la-randgamma.o
In file included from /usr/include/sys/types.h:219:0,
from ../libgnu/sys/types.h:27,
from ../libgnu/stdio.h:58,
from numeric/randgamma.c:84:
../libgnu/stdio.h:1034:1: error: 'gets' undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
make[4]: *** [numeric/numeric_libnumeric_la-randgamma.lo] Error 1
make[4]: Leaving directory `/usr/local/src/system/octave-3.8.2/liboctave'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/system/octave-3.8.2/liboctave'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/system/octave-3.8.2/liboctave'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/system/octave-3.8.2'
make: *** [all] Error 2
Again, no expert. But could it be that if gets isn't defined in the stdio lib,
then this warning fails?
I could not find any instance of an actual use of gets in the code. I suspect
this error shouldn't be triggered?
I also checked the configure log, and it says gets is *not* defined without a
macro.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43509>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43509] Compilation stop, because of undefined 'gets',
John <=