From: DU HUANPENG <do_not_rep1y@163.com>
To: barebox <barebox@lists.infradead.org>
Cc: u74147@gmail.com
Subject: i.MX28 evk compile error
Date: Thu, 2 Mar 2017 20:45:49 +0800 [thread overview]
Message-ID: <20170302124549.GA12024@newbook.tkernel.org> (raw)
Hi, I have one i.MX283 and one i.MX280 board, and I want to try barebox
on these boards.
I encounter a compile error using the config file
freescale-mx28-evk_defconfig
(It seems a host program compile error.)
my host gcc is:
----------------------------------------------------------------------
du@newbook:~/hobby/barebox$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
----------------------------------------------------------------------
compile log:
----------------------------------------------------------------------
du@newbook:~/hobby/barebox$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
du@newbook:~/hobby/barebox$ make freescale-mx28-evk_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
du@newbook:~/hobby/barebox$ make
scripts/kconfig/conf --silentoldconfig Kconfig
Generating include/generated/mach-types.h
CHK include/generated/version.h
UPD include/generated/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CREATE include/config.h
CC arch/arm/lib/asm-offsets.s
GEN include/generated/asm-offsets.h
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/dtc/data.o
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/util.o
SHIPPED scripts/dtc/dtc-lexer.lex.c
SHIPPED scripts/dtc/dtc-parser.tab.h
HOSTCC scripts/dtc/dtc-lexer.lex.o
SHIPPED scripts/dtc/dtc-parser.tab.c
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTLD scripts/dtc/dtc
HOSTCC scripts/dtc/fdtget.o
HOSTCC scripts/dtc/fdt.o
HOSTCC scripts/dtc/fdt_ro.o
HOSTCC scripts/dtc/fdt_strerror.o
HOSTCC scripts/dtc/fdt_wip.o
HOSTCC scripts/dtc/fdt_empty_tree.o
HOSTCC scripts/dtc/fdt_rw.o
HOSTCC scripts/dtc/fdt_sw.o
HOSTLD scripts/dtc/fdtget
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/bin2c
HOSTCC scripts/mkimage
HOSTCC scripts/fix_size
HOSTCC scripts/bareboxenv
HOSTCC scripts/bareboxcrc32
HOSTCC scripts/kernel-install
HOSTCC scripts/kallsyms
HOSTCC scripts/mxsimage
scripts/mxsimage.c: In function ‘sb_aes_deinit’:
scripts/mxsimage.c:477:9: warning: implicit declaration of function ‘EVP_CIPHER_CTX_reset’ [-Wimplicit-function-declaration]
return EVP_CIPHER_CTX_reset(ctx);
^
scripts/mxsimage.c: In function ‘sb_encrypt_image’:
scripts/mxsimage.c:599:17: warning: implicit declaration of function ‘EVP_MD_CTX_new’ [-Wimplicit-function-declaration]
ictx->md_ctx = EVP_MD_CTX_new();
^
scripts/mxsimage.c:599:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
ictx->md_ctx = EVP_MD_CTX_new();
^
scripts/mxsimage.c:657:2: warning: implicit declaration of function ‘EVP_MD_CTX_free’ [-Wimplicit-function-declaration]
EVP_MD_CTX_free(ictx->md_ctx);
^
scripts/mxsimage.c: In function ‘sb_postfill_image_header’:
scripts/mxsimage.c:1631:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
md_ctx = EVP_MD_CTX_new();
^
scripts/mxsimage.c: In function ‘sb_verify_image_header’:
scripts/mxsimage.c:1895:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
ictx->md_ctx = EVP_MD_CTX_new();
^
scripts/mxsimage.c:1907:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
md_ctx = EVP_MD_CTX_new();
^
scripts/mxsimage.c: At top level:
scripts/mxsimage.c:2309:13: error: conflicting types for ‘EVP_MD_CTX_new’
EVP_MD_CTX *EVP_MD_CTX_new(void)
^
scripts/mxsimage.c:599:17: note: previous implicit declaration of ‘EVP_MD_CTX_new’ was here
ictx->md_ctx = EVP_MD_CTX_new();
^
scripts/mxsimage.c:2314:6: warning: conflicting types for ‘EVP_MD_CTX_free’
void EVP_MD_CTX_free(EVP_MD_CTX *ctx)
^
scripts/mxsimage.c:657:2: note: previous implicit declaration of ‘EVP_MD_CTX_free’ was here
EVP_MD_CTX_free(ictx->md_ctx);
^
scripts/Makefile.host:91: recipe for target 'scripts/mxsimage' failed
make[1]: *** [scripts/mxsimage] Error 1
Makefile:416: recipe for target 'scripts' failed
make: *** [scripts] Error 2
----------------------------------------------------------------------
DU HUANPENG
u74147@gmail.com
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2017-03-02 12:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-02 12:45 DU HUANPENG [this message]
2017-03-02 12:57 ` i.MX28 evk compile error Sascha Hauer
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=20170302124549.GA12024@newbook.tkernel.org \
--to=do_not_rep1y@163.com \
--cc=barebox@lists.infradead.org \
--cc=u74147@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.