当前位置:网站首页>Libc.so.6/glibc cross compilation
Libc.so.6/glibc cross compilation
2022-07-24 07:01:00 【lifei_ 0001】
Different versions of the system libc.so.6 Link library libc Libraries are different , For example ubuntu18 yes libc-2.27.so,ubuntu20 It is libc-3.31.so.x86_64 The library of the platform is easy to download , Source code compilation is also relatively simple , Don't say , Here is the cross compilation method , And the problems that I have .
Official website glibc Download address of source code of different versions :
http://mirrors.nju.edu.cn/gnu/libc/
I made it up glic-2.30 The library of :
https://download.csdn.net/download/lifei_0001/12741852
Correct compilation configuration :
../glibc-2.30/configure --host=arm-linux-gnueabihf --build=i686-pc-linux-gnu --prefix=/home/lf/source/glibc30Install the required dependencies before compiling :
sudo apt-get install autoconf libtool automake
Problems encountered during compilation :
1. configure: error: Hurd headers not installed or too old
reason :--host=arm-linux-gnueabihf- Wrong parameter , An extra “-”.
2.gawk bison not installed or too old
reason : This is really not installed .sudo apt-get install gawk bison
3. echo $LD_LIBRARY_PATH
*** LD_LIBRARY_PATH shouldn't contain the current directory when
*** building glibc. Please change the environment variable
*** and run configure again.First set the value of this variable to null . At present shell Input directly in LD_LIBRARY_PATH=, And then go back
Why not destroy the system source environment , And can use the heart glibc?
https://my.oschina.net/zhangxu0512/blog/262275
边栏推荐
- 2022-07-22 mysql/stonedb parallel hashjoin memory usage analysis
- Camera Hal OEM模块 ---- cmr_grab.c
- Sealos 打包部署 KubeSphere 容器平台
- tensorflow boolean_ Mask function
- 10分钟就能写出来的——25~30K的国外企业招聘面试考题,这不是轻轻松松吗~
- 自己的人生无须浪费在别人的标准中
- (静态,动态,文件)三个版本的通讯录
- 安装snownlp包过程出现Requirement already satisfied:及Read timed out.问题解决方法
- chm文件打开时提示乱码
- Sealos packages and deploys kubesphere container platform
猜你喜欢

JSONObject按照key的A——Z顺序排序

Create WPF project

Sealos 打包部署 KubeSphere 容器平台

MapReduce (I)

An AI plays 41 games, and the comprehensive performance score of Google's latest multi game decision transformer is twice that of dqn

一个AI玩41个游戏,谷歌最新多游戏决策Transformer综合表现分是DQN的两倍
![[lvgl layout] grid layout](/img/36/47f586f3dc1a114ed7775c4e190872.png)
[lvgl layout] grid layout

记录PHPSerializer工具类反序列化遇到的坑

三级分类/菜单的查询——树形结构

tensorflow scatter_ Nd function
随机推荐
处理树形结构数据
Sealos 打包部署 KubeSphere 容器平台
Redis特殊数据类型-GEO
MySQL gets the self incrementing line mark (different from MySQL version)
[lvgl (1)] a brief introduction to lvgl
OSS authorizes a single bucket permission
[lvgl] [stage summary 1]
Introduction to pyqt5 - student management system
Redis分布式缓存学习笔记
Lambda expressions sort list objects in multiple fields
Redis basic type - combined with set
tensorflow boolean_mask函数
Tensorflow Einstein function
[learning notes] possible reasons and optimization methods for white screen on Web pages
【学习笔记】从汇编看 a+++a与 a+a++的区别
[C language] operator details (in-depth understanding + sorting and classification)
reflex
数据分析思维之从整体出发分析零售行业——全方位多方面细节分析
Nodejs enables multi process and inter process communication
XXL execute node error log swiping