From: Tim Sander <tim@krieglstein.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] gnutls fails to compile with error: 'gets' undeclared ?
Date: Wed, 23 Jan 2013 16:21:02 +0100 [thread overview]
Message-ID: <1408264.f3WDjG5Lnz@dabox> (raw)
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
next reply other threads:[~2013-01-23 15:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-23 15:21 Tim Sander [this message]
2013-01-23 18:15 ` Alexander Aring
2013-01-23 22:51 ` [ptxdist] gnutls fails to compile with error: 'gets' undeclared? Tim Sander
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1408264.f3WDjG5Lnz@dabox \
--to=tim@krieglstein.org \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox