各种问题
sudo apt-get install libncurses5-dev swig python-dev zlib1g-dev libusb-1.0-0-dev pkg-config flex bison libssl-dev
fatal error: curses.h: 没有那个文件或目录
sudo apt-get install libncurses5-dev
参考 https://blog.csdn.net/yueashuxia/article/details/53018300
unable to execute ‘swig’: No such file or directory
sudo apt install swig
参考 https://blog.csdn.net/qq_37858386/article/details/109775672
scripts/dtc/pylibfdt/libfdt_wrap.c:147:21: fatal error: Python.h: 没有那个文件或目录
sudo apt install python-dev
参考 https://blog.csdn.net/p1279030826/article/details/112888891
fel.c:32:18: fatal error: zlib.h: 没有那个文件或目录
sudo apt-get install zlib1g-dev
参考 https://blog.csdn.net/u010608296/article/details/101721744
fel_lib.c:26:20: fatal error: libusb.h: 没有那个文件或目录
sudo apt-get install libusb-1.0-0-dev