From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from [212.57.26.24] (helo=smtpauth2.superonline.com) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WBjQt-0003XG-Va for ptxdist@pengutronix.de; Fri, 07 Feb 2014 12:17:21 +0100 MIME-Version: 1.0 Date: Fri, 07 Feb 2014 13:17:06 +0200 From: bilal.tas@dcl.com.tr Message-ID: <5573c21af36c94fb3dc5859e705d5d05@dcl.com.tr> 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: multipart/mixed; boundary="===============0142928358==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============0142928358== Content-Type: multipart/alternative;boundary="=_e7d0434cadf0604d871ee93a68707bc9" --=_e7d0434cadf0604d871ee93a68707bc9 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8 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 --=_e7d0434cadf0604d871ee93a68707bc9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Hello,

while compiling the BSP-Phytec-phyFLEX-i.MX6-PD13.1.0<= br />ptxdist-2014.01.0 with OSELAS.Toolchain-2013.12.1  I get the foll= owing
error:

mtd.c:905:43: error: 'MTD_MODE_RAW' undeclared= (first use in this
function) r =3D ioctl(mp->fd, MTDFILEMODE, (voi= d *)MTD_MODE_RAW);
        &nb= sp;            =             &nb= sp;         ^
main.c: In funct= ion 'extract_main':
main.c:169:9: warning: variable 'j' set but not us= ed
[-Wunused-but-set-variable] int i, j, r;
   &nb= sp;     ^
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;
       &nbs= p; ^
main.c: In function 'init_main':
main.c:560:13: warning: var= iable 'image' set but not used
[-Wunused-but-set-variable] int flags, = image;
          &nb= sp;  ^
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= =2Ec:705:9: warning: variable 'j' set but not used
[-Wunused-but-set-v= ariable] int i, j;
         ^<= br />make[2]: *** [mtd.o] Error 1
make[2]: *** Waiting for unfinished = jobs....
mv -f .deps/main.Tpo .deps/main.Po
make[2]: Leaving dire= ctory
`/opt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/b= uild-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/pl= atform-phyFLEX-i.MX6/build-target/kobs-ng-12.02.01'
make: ***
[/o= pt/BSP-Phytec-phyFLEX-i.MX6-PD13.1.0/platform-phyFLEX-i.MX6/state/kobs-ng= =2Ecompile]
Error 2

 
--=_e7d0434cadf0604d871ee93a68707bc9-- --===============0142928358== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0142928358==--