From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from lvps176-28-13-145.dedicated.hosteurope.de ([176.28.13.145]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Ty28O-0001U2-5O for ptxdist@pengutronix.de; Wed, 23 Jan 2013 16:21:05 +0100 Received: from dabox.localnet (unknown [213.157.30.20]) by lvps176-28-13-145.dedicated.hosteurope.de (Postfix) with ESMTPSA id C2593A8A407B for ; Wed, 23 Jan 2013 16:21:02 +0100 (CET) From: Tim Sander Date: Wed, 23 Jan 2013 16:21:02 +0100 Message-ID: <1408264.f3WDjG5Lnz@dabox> MIME-Version: 1.0 Subject: [ptxdist] gnutls fails to compile with error: 'gets' undeclared ? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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