|
按楼主的教程来的。
编译的时候就报错了,无语啊,编译的资料太少了。哎。
root@luiwendi-PC:~/GPL_QTS/src/linux-4.2# cp ../../kernel_cfg/TS-X53B/linux-4.2- x86_64.config .config
root@luiwendi-PC:~/GPL_QTS/src/linux-4.2# export PATH=$PATH:~/x86_64-QNAP-linux- gnu/cross-tools/bin
root@luiwendi-PC:~/GPL_QTS/src/linux-4.2# export LD_LIBRARY_PATH=$LD_LIBRARY_PAT H:~/x86_64-QNAP-linux-gnu/cross-tools/bin/lib
root@luiwendi-PC:~/GPL_QTS/src/linux-4.2#
root@luiwendi-PC:~/GPL_QTS/src/linux-4.2# export CROSS_COMPILE=x86_64-QNAP-linux -gnu
root@luiwendi-PC:~/GPL_QTS/src/linux-4.2# export ARCH=x86_64
root@luiwendi-PC:~/GPL_QTS/src/linux-4.2# make menuconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/mconf.o
<command-line>: fatal error: curses.h: 没有那个文件或目录
compilation terminated.
make[1]: *** [scripts/Makefile.host:108:scripts/kconfig/mconf.o] 错误 1
make: *** [Makefile:530:menuconfig] 错误 2
|
|