PX30 编译内核问题出错问题解决 extract-cert.c:(.text.startup+0x25): undefined reference to OPENSSL_init_crypto
px30_linux_sdk_release_v1.3.0_20200224版本编译PX30内核 过程中报错 如下/tmp/ccFRVwLv.o: In function `main':extract-cert.c:(.text.startup+0x25): undefined reference to `OPENSSL_init_crypto'extract-cert.c:(.text.star
px30_linux_sdk_release_v1.3.0_20200224版本 编译PX30内核 过程中报错 如下
/tmp/ccFRVwLv.o: In function `main':
extract-cert.c:(.text.startup+0x25): undefined reference to `OPENSSL_init_crypto'
extract-cert.c:(.text.startup+0x31): undefined reference to `OPENSSL_init_crypto'
collect2: error: ld returned 1 exit status
scripts/Makefile.host:91: recipe for target 'scripts/extract-cert' failed
make[1]: *** [scripts/extract-cert] Error 1
make[1]: *** Waiting for unfinished jobs....
HOSTLD scripts/mod/modpost
Makefile:579: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jo
解决方法:修改kernel/script/Makefile ,加上路径 /usr/local/lib/
HOSTLOADLIBES_extract-cert =-L /usr/local/lib/ -lcrypto
更多推荐
所有评论(0)