Closed lyq1996 closed 4 years ago
The problem seems to resolve.
Here is my step:
~/dtc# make NO_PYTHON=1 CC=arm-linux-gnueabi-gcc
and then
~/dtc# make NO_PYTHON=1 CC=arm-linux-gnueabi-gcc CFLAGS=-static -s
then rm dtc and run again
~/dtc# make NO_PYTHON=1 CC=arm-linux-gnueabi-gcc CFLAGS=-static -s
~/dtc# file dtc
ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=e14f20a57ad58c674d2e5113299a7c2cf5ad9b3a, stripped
Just don't know why..
Sorry for bothering.
Thank you.
Hm, I'm not really sure why that would be happening.
Do you have libyaml installed? This might happen if the NO_YAML variable was somehow being set differently for building the .o files and the final link, but I don't know why that would happen.
Hi, Im using arm-linux-gnueabi-gcc to compile dtc, inorder to use it on TWRP recovery, but when I run
it always say
Could you please tell me what to do , thank you!!!