Forum Discussion
Altera_Forum
Honored Contributor
20 years agohi:
question A: When I execed patch command after I updated the elf2lt.diff ,but got following information. # patch -p1 <dl/elf2flt.diff patching file toolchain/Config.in patch:**** malformed patch at line 13:Index: buildroot/toolchain/elf2flt/Config.in Why? question B: In buildroot dir I execed make command, but fail. # make make -C package/config ncurses conf mconf make[1]: Entering directory '/usr/local/nios2_toolschain/buildroot/package/config' gcc: installation problem, cannot exec 'cc1':没有那个文件或目录 >> Unable to findthe Ncurses libraries. >> >> You must have Ncurses installed in order >> to use 'make menuconfig' >> >> Maybe you want to try 'make config, which >> doesn't depend on the Ncurese libraries. make[1]: *** [ncurses] Error 1 make[1]: Leaving directory '/usr/local/nios2_toolschain/buildroot/package/config, make: *** [package/config/mcong] Error 2 In package, I find ncurses dir.But the dir is empty.If i want to use ncurses, frist I must download ncurses source code in the dir?