Worked very well. But the next error occurs ----------------------- target: kobs-ng.compile ----------------------- make[1]: Entering directory `/home/user/Schreibtisch/i.MX6/BSP-Phytec-phyFLEX-i.MX6-PD13.2.2_EA2/platform-phyFLEX-i.MX6/build-target/kobs-ng-3.0.35-4.0.0' Making all in include make[2]: Entering directory `/home/user/Schreibtisch/i.MX6/BSP-Phytec-phyFLEX-i.MX6-PD13.2.2_EA2/platform-phyFLEX-i.MX6/build-target/kobs-ng-3.0.35-4.0.0/include' echo "const char *git_sha = \""`git rev-parse HEAD`"\";" > ../include/autoversion.h make all-am make[3]: Entering directory `/home/user/Schreibtisch/i.MX6/BSP-Phytec-phyFLEX-i.MX6-PD13.2.2_EA2/platform-phyFLEX-i.MX6/build-target/kobs-ng-3.0.35-4.0.0/include' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/user/Schreibtisch/i.MX6/BSP-Phytec-phyFLEX-i.MX6-PD13.2.2_EA2/platform-phyFLEX-i.MX6/build-target/kobs-ng-3.0.35-4.0.0/include' make[2]: Leaving directory `/home/user/Schreibtisch/i.MX6/BSP-Phytec-phyFLEX-i.MX6-PD13.2.2_EA2/platform-phyFLEX-i.MX6/build-target/kobs-ng-3.0.35-4.0.0/include' Making all in src make[2]: Entering directory `/home/user/Schreibtisch/i.MX6/BSP-Phytec-phyFLEX-i.MX6-PD13.2.2_EA2/platform-phyFLEX-i.MX6/build-target/kobs-ng-3.0.35-4.0.0/src' arm-cortexa9-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c main.c: In function 'extract_main': main.c:171:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] main.c: In function 'update_main': main.c:446:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] main.c: In function 'init_main': main.c:591:13: warning: variable 'image' set but not used [-Wunused-but-set-variable] main.c:589:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] main.c: In function 'imgverify_main': main.c:756:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] mv -f .deps/main.Tpo .deps/main.Po arm-cortexa9-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -MT mtd.o -MD -MP -MF .deps/mtd.Tpo -c -o mtd.o mtd.c mtd.c: In function 'mtd_read_page': mtd.c:253:8: warning: variable 'oobdata' set but not used [-Wunused-but-set-variable] mtd.c: In function 'mtd_write_page': mtd.c:331:14: warning: variable 'oobdata' set but not used [-Wunused-but-set-variable] mtd.c: In function 'mtd_open': mtd.c:696:42: error: 'MTD_MODE_NORMAL' undeclared (first use in this function) mtd.c:696:42: note: each undeclared identifier is reported only once for each function it appears in mtd.c: In function 'mtd_close': mtd.c:855:24: error: 'MEMSETOOBSEL' undeclared (first use in this function) mtd.c: In function 'mtd_set_ecc_mode': mtd.c:893:43: error: 'MTD_MODE_NORMAL' undeclared (first use in this function) mtd.c:900:23: error: 'MEMSETOOBSEL' undeclared (first use in this function) mtd.c:908:43: error: 'MTD_MODE_RAW' undeclared (first use in this function) make[2]: *** [mtd.o] Error 1 make[2]: Leaving directory `/home/user/Schreibtisch/i.MX6/BSP-Phytec-phyFLEX-i.MX6-PD13.2.2_EA2/platform-phyFLEX-i.MX6/build-target/kobs-ng-3.0.35-4.0.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/user/Schreibtisch/i.MX6/BSP-Phytec-phyFLEX-i.MX6-PD13.2.2_EA2/platform-phyFLEX-i.MX6/build-target/kobs-ng-3.0.35-4.0.0' make: *** [/home/user/Schreibtisch/i.MX6/BSP-Phytec-phyFLEX-i.MX6-PD13.2.2_EA2/platform-phyFLEX-i.MX6/state/kobs-ng.compile] Error 2 2013/11/19 Michael Olbrich > On Tue, Nov 19, 2013 at 10:54:18AM +0100, Torben Hamel wrote: > > while compiling the BSP-Phytec-phyFLEX-i.MX6-PD13.2.2_EA2 i get the > > following error: > [...] > > Add "-Wl,--copy-dt-needed-entries" to TARGET_EXTRA_LDFLAGS. > > Michael > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > -- > ptxdist mailing list > ptxdist@pengutronix.de >