Skip to content
This repository was archived by the owner on Jan 6, 2022. It is now read-only.
This repository was archived by the owner on Jan 6, 2022. It is now read-only.

U-Boot #45

@khatatbih

Description

@khatatbih

There is a problem when I try to execute U-Boot compile script with the following command :
./compile_loader.sh -j8

/Desktop/hero/zc706/zynqlinux/u-boot-xlnx$ ./compile_loader.sh -j8

  • Executing U-Boot compile script -

Adding kernel scripts to PATH
Comiling U-Boot

configuration written to .config

scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
CFG u-boot.cfg
GEN include/autoconf.mk.dep
CFG spl/u-boot.cfg
GEN include/autoconf.mk
GEN spl/include/autoconf.mk
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
CHK include/generated/version_autogenerated.h
CHK include/generated/generic-asm-offsets.h
CHK include/generated/asm-offsets.h
HOSTCC tools/mkenvimage.o
HOSTCC tools/fit_image.o
HOSTCC tools/image-host.o
HOSTCC tools/lib/rsa/rsa-sign.o
HOSTCC tools/dumpimage.o
HOSTCC tools/mkimage.o
In file included from tools/lib/rsa/rsa-sign.c:1:0:
./tools/../lib/rsa/rsa-sign.c: In function ‘rsa_remove’:
./tools/../lib/rsa/rsa-sign.c:156:2: warning: ‘ERR_remove_thread_state’ is deprecated [-Wdeprecated-declarations]
ERR_remove_thread_state(NULL);
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509_vfy.h:20:0,
from /usr/include/openssl/x509.h:309,
from /usr/include/openssl/pem.h:17,
from ./tools/../lib/rsa/rsa-sign.c:13,
from tools/lib/rsa/rsa-sign.c:1:
/usr/include/openssl/err.h:247:1: note: declared here
DEPRECATEDIN_1_1_0(void ERR_remove_thread_state(void *))
^
In file included from tools/lib/rsa/rsa-sign.c:1:0:
./tools/../lib/rsa/rsa-sign.c: In function ‘rsa_sign_with_key’:
./tools/../lib/rsa/rsa-sign.c:213:2: warning: implicit declaration of function ‘EVP_MD_CTX_cleanup’; did you mean ‘EVP_MD_CTX_create’? [-Wimplicit-function-declaration]
EVP_MD_CTX_cleanup(context);
^~~~~~~~~~~~~~~~~~
EVP_MD_CTX_create
./tools/../lib/rsa/rsa-sign.c: In function ‘rsa_get_exponent’:
./tools/../lib/rsa/rsa-sign.c:279:21: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’
if (BN_num_bits(key->e) > 64)
^~
scripts/Makefile.host:116: recipe for target 'tools/lib/rsa/rsa-sign.o' failed
make[1]: *** [tools/lib/rsa/rsa-sign.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:1217: recipe for target 'tools' failed
make: *** [tools] Error 2
Copying u-boot to ../sdk/u-boot.elf
cp: cannot stat 'u-boot': No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions