Hello,

I am trying to cross-compile inetutils 1.9.1 with:

sed -i -e '/PATH_PROCNET_DEV/s/\ no//' paths
./configure \
    --build=mipsel-cross-linux-gnu \
    --host=mips64el-cross-linux-gnu \
    --prefix=/usr
make

The last make gives me this error message:

make[4]: Entering directory `/gllfsc/build/inetutils-1.9.1/lib'
  CC     argp-ba.o
  CC     argp-eexst.o
  CC     argp-fmtstream.o
  CC     argp-fs-xinl.o
In file included from argp-fmtstream.h:27:0,
                 from argp-fs-xinl.c:26:
./stdio.h:1030:1: error: 'gets' undeclared here (not in a function)
  CC     argp-help.o
make[4]: *** [argp-fs-xinl.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from argp.h:22:0,
                 from argp-eexst.c:25:
./stdio.h:1030:1: error: 'gets' undeclared here (not in a function)
make[4]: *** [argp-eexst.o] Error 1
In file included from argp-fmtstream.h:27:0,
                 from argp-fmtstream.c:33:
./stdio.h:1030:1: error: 'gets' undeclared here (not in a function)
make[4]: *** [argp-fmtstream.o] Error 1
In file included from argp.h:22:0,
                 from argp-help.c:49:
./stdio.h:1030:1: error: 'gets' undeclared here (not in a function)
make[4]: *** [argp-help.o] Error 1
make[4]: Leaving directory `/gllfsc/build/inetutils-1.9.1/lib'

Christophe



Reply via email to