Ubuntu16.04系统中BusyBox在配置arm交叉编译环境时make失败
发表于:2025-12-03 作者:千家信息网编辑
千家信息网最后更新 2025年12月03日,/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory/home/uLinux/busy
千家信息网最后更新 2025年12月03日Ubuntu16.04系统中BusyBox在配置arm交叉编译环境时make失败
/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory/home/uLinux/busybox-1.24.2/scripts/gcc-version.sh: line 11: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
首先按照一篇看看:http://10638473.blog.51cto.com/10628473/1764014
再不行,可以按照如下操作:
he@ubuntu:~$ arm-none-linux-gnueabi-gcc --helpbash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directoryhe@ubuntu:~$ arm-none-linux-gnueabi-gcc -vbash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directoryhe@ubuntu:~$ sudo apt-get install ia32-libsReading package lists... DoneBuilding dependency tree Reading state information... DonePackage ia32-libs is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, oris only available from another sourceHowever the following packages replace it: lib32ncurses5 lib32z1E: Package 'ia32-libs' has no installation candidatehe@ubuntu:~$ sudo apt-get install lib32ncurses5 lib32z1Reading package lists... DoneBuilding dependency tree Reading state information... DoneThe following additional packages will be installed: lib32tinfo5 libc6-i386The following NEW packages will be installed: lib32ncurses5 lib32tinfo5 lib32z1 libc6-i3860 upgraded, 4 newly installed, 0 to remove and 127 not upgraded.Need to get 2,563 kB of archives.After this operation, 11.3 MB of additional disk space will be used.Do you want to continue? [Y/n] YGet:1 http://202.197.96.248/files/218000000036D67B/cn.archive.ubuntu.com/ubuntu xenial/main amd64 libc6-i386 amd64 2.23-0ubuntu3 [2,335 kB]Get:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 lib32tinfo5 amd64 6.0+20160213-1ubuntu1 [76.9 kB]Get:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 lib32ncurses5 amd64 6.0+20160213-1ubuntu1 [99.5 kB]Get:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 lib32z1 amd64 1:1.2.8.dfsg-2ubuntu4 [52.2 kB]Fetched 2,563 kB in 4s (606 kB/s) Selecting previously unselected package libc6-i386.(Reading database ... 173885 files and directories currently installed.)Preparing to unpack .../libc6-i386_2.23-0ubuntu3_amd64.deb ...Unpacking libc6-i386 (2.23-0ubuntu3) ...Selecting previously unselected package lib32tinfo5.Preparing to unpack .../lib32tinfo5_6.0+20160213-1ubuntu1_amd64.deb ...Unpacking lib32tinfo5 (6.0+20160213-1ubuntu1) ...Selecting previously unselected package lib32ncurses5.Preparing to unpack .../lib32ncurses5_6.0+20160213-1ubuntu1_amd64.deb ...Unpacking lib32ncurses5 (6.0+20160213-1ubuntu1) ...Selecting previously unselected package lib32z1.Preparing to unpack .../lib32z1_1%3a1.2.8.dfsg-2ubuntu4_amd64.deb ...Unpacking lib32z1 (1:1.2.8.dfsg-2ubuntu4) ...Processing triggers for libc-bin (2.23-0ubuntu3) ...Setting up libc6-i386 (2.23-0ubuntu3) ...Setting up lib32tinfo5 (6.0+20160213-1ubuntu1) ...Setting up lib32ncurses5 (6.0+20160213-1ubuntu1) ...Setting up lib32z1 (1:1.2.8.dfsg-2ubuntu4) ...Processing triggers for libc-bin (2.23-0ubuntu3) ...he@ubuntu:~$ arm-none-linux-gnueabi-gcc -vUsing built-in specs.Target: arm-none-linux-gnueabiConfigured with: /scratch/julian/2009q3-respin-linux-lite/src/gcc-4.4/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --enable-extra-sgxxlite-multilibs --with-arch=armv5te --with-gnu-as --with-gnu-ld --with-specs='%{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables} %{O2:%{!fno-remove-local-statics: -fremove-local-statics}} %{O*:%{O|O0|O1|O2|Os:;:%{!fno-remove-local-statics: -fremove-local-statics}}}' --enable-languages=c,c++ --enable-shared --disable-lto --enable-symvers=gnu --enable-__cxa_atexit --with-pkgversion='Sourcery G++ Lite 2009q3-67' --with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls --prefix=/opt/codesourcery --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sysroot=/scratch/julian/2009q3-respin-linux-lite/install/arm-none-linux-gnueabi/libc --with-gmp=/scratch/julian/2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-mpfr=/scratch/julian/2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-ppl=/scratch/julian/2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-cloog=/scratch/julian/2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --disable-libgomp --enable-poison-system-directories --with-build-time-tools=/scratch/julian/2009q3-respin-linux-lite/install/arm-none-linux-gnueabi/bin --with-build-time-tools=/scratch/julian/2009q3-respin-linux-lite/install/arm-none-linux-gnueabi/binThread model: posixgcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) he@ubuntu:~$OK,搞定。
再到BusyBox目录下执行make命令就可以编译了!
编译大概需要两分钟!
编译
不行
命令
目录
环境
系统
交叉
配置
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
武汉软件开发培训机构排名
上海网络技术服务要求
苏州前端软件开发哪家专业
在网络安全和信息化上讲话
c 软件开发技术专长
数据库停库模式
es代替数据库
数据库高级证考试
能够用到串口服务器的生产型企业
福建百万网络技术开发的游戏
业务报表数据库
泛微oa系统如何用云服务器
和服务器同步需要什么权限
中介服务器连接不上
冠通信息网络技术发展有限公司
僵尸毁灭工程服务器主机
云南兔子软件开发怎么做
睡觉有服务器
网络安全靠人名手抄报
石景山区通用软件开发推广
四川大学计算机和网络安全
如何使用电脑进行数据库转移
武汉一网网络技术
承德中交天枢网络技术有限公司
传奇数据库编辑器2019v2
dns服务器如何搭建
制作小程序服务器域名
东南亚网络服务器地址
小程序软件开发去哪里学
诺亚之心4月13服务器