From: Torben Hamel <torben.hamel@janitza.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Buildiung BSP-Phytec-phyFLEX-i.MX6-PD13.2.2_EA2
Date: Tue, 19 Nov 2013 14:51:43 +0100 [thread overview]
Message-ID: <CAMoSPaJX169S+6Q66LTYJvYWB9yHH0XZzPkMdAKWpKsag0ys0w@mail.gmail.com> (raw)
In-Reply-To: <20131119131516.GG31417@pengutronix.de>
[-- Attachment #1.1: Type: text/plain, Size: 4169 bytes --]
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 <m.olbrich@pengutronix.de>
> 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
>
[-- Attachment #1.2: Type: text/html, Size: 5255 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2013-11-19 13:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-19 9:54 Torben Hamel
2013-11-19 13:15 ` Michael Olbrich
2013-11-19 13:51 ` Torben Hamel [this message]
2013-11-19 16:32 ` Michael Olbrich
2013-11-20 15:54 ` Thomas Petazzoni
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=CAMoSPaJX169S+6Q66LTYJvYWB9yHH0XZzPkMdAKWpKsag0ys0w@mail.gmail.com \
--to=torben.hamel@janitza.de \
--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