Hi,


2013/1/23 Tim Sander <tim@krieglstein.org>
Hi

I am again using the OSELAS.Toolchain-2012.12.0  arm-1136jfs-linux-gnueabihf-
gcc with the extra linker flags: -Wl,--copy-dt-needed-entries. I get a little
further to the gnutls package. It fails to compile with:
arm-1136jfs-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -g -O2 -MT
read-file.lo -MD -MP -MF .deps/read-file.Tpo -c read-file.c  -fPIC -DPIC -o
.libs/read-file.o
In file included from read-file.h:26:0,
                 from read-file.c:21:
./stdio.h:1030:1: error: 'gets' undeclared here (not in a function)
Which gnutls version do you use?

There is already a patch in
patches/gnutls-2.12.20 / 0001-check-if-gets-is-defined-before-doing-something-with.patch
to handle this kind of error.


The gets is defined in the header with some cxx exeption flag so i tried adding
a --std= option but without any success. But as this header is part of the
toolchain i guess its a toolchain problem?

Best regards
Tim

--
ptxdist mailing list
ptxdist@pengutronix.de