Create a problem record in the snapgear-linux Image
Source: Internet
Author: User
Create a problem record in the snapgear-linux image-Linux general technology-Linux programming and kernel information. The following is a detailed description. Recently established GCC Cross-Compiler, using a binutils-2.13.1
When making, the following error is reported:
Binutils-2.13.1/bfd/archures. c: 463: undefined reference to '_ bfd_i1__arch'
Collect2: ld returned 1 exit status
Make [3]; *** inclusize.exe] Error 1
Modify echo $ f> tofiles in bfd/Makefile. in to echo $ f> tofiles
Configure, make successful ......
I don't know why ........
Use the sparc-linux-toos.sh of snapgerr for cross tools:
When compiling and installing boot-trap gcc, remember to add -- disable-threads -- disable-shared -- without-headers to configure.
Otherwise, make gcc requires pthreadtypes. h and other files. These files can be copied directly in uClibc/libc/sysdeps/linux/common/bits.
Compile the c ++ program. Remember that there is a floating point support in make menuconfig of ulibc to be selected. Otherwise, the system will prompt that a pair of files cannot be found and the file name cannot be remembered.
When you configure the Linux kernel in make xconfig, the message wish can not find! is displayed!
RE: wish is the tk shell. do you have tcl/tk installed?
Run sudo apt-get install tclx8.4 sudo apt-get install tk8.4.
Then make xconfig, OK!
Make menuconfig uses the Ncurses library When configuring the Linux kernel.
The Ncurses Library provides a fairly solid working Framework that can generate beautiful interfaces in character mode.
In winXP, when the cygwin environment and tar package are decompressed, the following error similar occurs:
Tar: snapgear-p33a/linux-2.0.x/arch/sparcnommu/platform/LEON-2.x: time stamp 19:41:33 is 54609679.207 s in the future
Tar: snapgear-p33a/linux-2.0.x/arch/sparcnommu/platform: time stamp 19:41:33 is 54609679.204 s in the future
Tar: snapgear-p33a/linux-2.0.x/arch/sparcnommu/mm: time stamp 19:41:34 is 54609680.195 s in the future
Tar: snapgear-p33a/linux-2.0.x/arch/sparcnommu/config. in: time stamp 20:06:24 is 53228770.19 s in the future
I cannot figure out the cause .....
Then I suddenly found a virus, and it took me two years to move the time of my XP system forward... modify, OK!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service