From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from [212.57.26.29] (helo=smtpauth2.superonline.com) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WBiFP-0006wH-Pn for ptxdist@pengutronix.de; Fri, 07 Feb 2014 11:01:24 +0100 Date: Fri, 7 Feb 2014 12:01:10 +0200 From: bilal.tas@dcl.com.tr Message-ID: <20140207120110.1a9af8e8@pandanb> Mime-Version: 1.0 Subject: [ptxdist] ptxdist-2014.01.0 with OSELAS.Toolchain-2013.12.1 kobs-ng.compile 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 Hello, while compiling the BSP-Phytec-phyFLEX-i.MX6-PD13.1.0 ptxdist-2014.01.0 with OSELAS.Toolchain-2013.12.1 I get the following error: mtd.c:905:43: error: 'MTD_MODE_RAW' undeclared (first use in this function) r = ioctl(mp->fd, MTDFILEMODE, (void *)MTD_MODE_RAW); ^ main.c: In function 'extract_main': main.c:169:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] int i, j, r; ^ main.c: In function 'update_main': main.c:444:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] int i, j, r; ^ main.c: In function 'init_main': main.c:560:13: warning: variable 'image' set but not used [-Wunused-but-set-variable] int flags, image; ^ main.c:558:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] int i, j, r; ^ main.c: In function 'imgverify_main': main.c:705:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] int i, j; ^ make[2]: *** [mtd.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/main.Tpo .deps/main.Po make[2]: Leaving directory `/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/build-target/kobs-ng-12.02.01/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/build-target/kobs-ng-12.02.01' make: *** [/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/state/kobs-ng.compile] Error 2 -- ptxdist mailing list ptxdist@pengutronix.de