mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] gnutls fails to compile with error: 'gets' undeclared ?
@ 2013-01-23 15:21 Tim Sander
  2013-01-23 18:15 ` Alexander Aring
  0 siblings, 1 reply; 3+ messages in thread
From: Tim Sander @ 2013-01-23 15:21 UTC (permalink / raw)
  To: ptxdist

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)

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-23 22:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-23 15:21 [ptxdist] gnutls fails to compile with error: 'gets' undeclared ? Tim Sander
2013-01-23 18:15 ` Alexander Aring
2013-01-23 22:51   ` [ptxdist] gnutls fails to compile with error: 'gets' undeclared? Tim Sander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox