A cross-compilation question [help]-Linux general technology-Linux programming and kernel information. The following is a detailed description. Error:
/Opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin /.. /lib/gcc/armv5tl-montavista-linuxeabi/3.4.3 /.. /.. /.. /.. /armv5tl-montavista-linuxeabi/bin/ld: skipping incompatible/lib/libpthread. so.0 when searching for/lib/libpthread. so.0
/Opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin /.. /lib/gcc/armv5tl-montavista-linuxeabi/3.4.3 /.. /.. /.. /.. /armv5tl-montavista-linuxeabi/bin/ld: cannot find/lib/libpthread. so.0
Let's talk about the environment first, the ARM system is monavista, the compiler arm_v5t_le-gcc, working in nfs mode. The above error occurs when you make an SDK. based on the error ld, you searched for the lib of the host machine. I modified LD_LIBRARY_PATH = # The Library path of the ARM, such as ARM_ROOT/usr/lib: ARM_ROOT/usr/loacl/lib :...... The error persists. I add the library path to etc/ld. so. conf. I am surprised that the ld search path has started from ARM. Why does it still need to search for the lib of the host machine? Ask someone else to answer this question. Thank you.
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