嵌入式linux--问题归结

2019-07-12 18:17发布

嵌入式linux中遇到的问题: --------------------------------------------------------------------------------------- 近日建立GCC Cross-Compiler ,用的是binutils-2.13.1,在cygwinx下,按照 http://www.rtems.net/Documnet/rtems_serial/RTEMS%202%20tutorial/2.1_crosscomplier.htm 的步骤,当make时,报告如下错误: binutils-2.13.1/bfd/archures.c:463: undefined reference to '_bfd_i386_arch'
collect2: ld returned 1 exit status
make[3]; *** [size.exe] Error 1 在www.osdev.org中找到相关帖子: http://www.osdev.org/phpBB2/viewtopic.php?t=12566&start=15&postdays=0&postorder=asc&highlight= 依据帖子中提到:把 bfd/Makefile.in中 echo $$f > tofiles 修改为echo $$f ' ' > tofiles configure ,make 成功...... 至于原因不知........ 更多关于GCC Cross-Compiler,见Wiki: http://www.osdev.org/wiki/GCC_Cross-Compiler
------------------------------------------------------------------------------------------------------------------------------------------------------- make xconfig配置linux内核时,提示wish can  not find!!! RE:wish is the tk shell.  do you have tcl/tk installed? 执行:sudo apt-get install tclx8.4        sudo apt-get install tk8.4 然后make xconfig, OK!~~ ------------------------------------------------------------------------------------------------------------------------------------------------------ 
 make menuconfig配置linux内核时,需要用到Ncurses库。 Ncurses库提供了一个相当稳固的工作框架(Framework)可以在字符模式下产生漂亮的界面。 可以到发图片ftp://ftp.gnu.org下载。 安装说明:http://book.xlib.cn/lfs/chapter06/ncurses.html ---------------------------------------------------------------------------------------------------------------------------------------------------- winXP下,cygwin环境,tar解压包时,出现下列类似错误: tar: snapgear-p33a/linux-2.0.x/arch/sparcnommu/platform/LEON-2.x: time stamp 2007-05-31 19:41:33 is 54609679.207 s in the future
tar: snapgear-p33a/linux-2.0.x/arch/sparcnommu/platform: time stamp 2007-05-31 19:41:33 is 54609679.204 s in the future
tar: snapgear-p33a/linux-2.0.x/arch/sparcnommu/mm: time stamp 2007-05-31 19:41:34 is 54609680.195 s in the future
tar: snapgear-p33a/linux-2.0.x/arch/sparcnommu/config.in: time stamp 2007-05-15 20:06:24 is 53228770.19 s in the future
苦弄不清原因..... 然后赫然发现中了病毒,把我xp系统时间向前该了2年..... 修改,OK! ----------------------------------------------------------------------------------------------------------------------------------------------------