bugidutils - Bugs: bug #57429, build failure: ./stdio.h:1030:1:...


bug #57429: build failure: ./stdio.h:1030:1: error: 'gets' undeclared here

Submitter:  None
Submitted:  Mon 16 Dec 2019 11:53:08 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Fri 03 Apr 2020 05:08:42 AM UTC, comment #1: 

Try https://github.com/lockywolf/idutils

I played with gnulib a bit and managed to compile it.
Just run ./configure && make -j4

Vladimir Nikishkin <lockywolf>
Mon 16 Dec 2019 11:53:08 PM UTC, original submission:  

I configured with just ./configure --prefix=$HOME/local then make says:

$ make
/home/bkerin/local/bin/make  all-recursive
make[1]: Entering directory '/home/bkerin/tmp/idutils-4.6'
Making all in lib
make[2]: Entering directory '/home/bkerin/tmp/idutils-4.6/lib'
  GEN      alloca.h
  GEN      configmake.h
mv -f configmake.h-t configmake.h
  GEN      dirent.h
  GEN      fcntl.h
  GEN      langinfo.h
  GEN      math.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      strings.h
  GEN      sys/ioctl.h
  GEN      sys/stat.h
  GEN      sys/types.h
  GEN      time.h
  GEN      unistd.h
  GEN      wchar.h
  GEN      wctype.h
/home/bkerin/local/bin/make  all-am
make[3]: Entering directory '/home/bkerin/tmp/idutils-4.6/lib'
  CC       argv-iter.o
In file included from argv-iter.h:17:0,
                 from argv-iter.c:20:
./stdio.h:1030:1: error: 'gets' undeclared here (not in a function); did you mean 'fgets'?
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
make[3]: * [Makefile:1590: argv-iter.o] Error 1
make[3]: Leaving directory '/home/bkerin/tmp/idutils-4.6/lib'
make[2]: * [Makefile:1388: all] Error 2
make[2]: Leaving directory '/home/bkerin/tmp/idutils-4.6/lib'
make[1]: * [Makefile:1278: all-recursive] Error 1
make[1]: Leaving directory '/home/bkerin/tmp/idutils-4.6'
make: * [Makefile:1233: all] Error 2



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by lockywolf (Posted a comment)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.12