i.mx283---换个编译器怎么这么难,build命令又出错

2020-02-19 21:22发布

辛辛苦苦编译好uboot 要再生成 imx28_ivt_uboot.sb。可按手册上做又出问题,./build命令不对
出错信息为:
by using the pre-build command line
# force building linux_prep
make clean -C linux_prep
make[1]: Entering directory `/jflinux/bootloader/imx-bootlets-src-10.12.01/linux_prep'
Cleaning...
Files:
rm -rf ./core/entry.o ./core/resume.o ./core/cmdlines.o ./core/setup.o ./core/keys.o ./board/iMX28_EVK.o ./hw/lradc-buttons.o ./output-target/linux_prep.ld
Build output:
rm -rf ./output-target
Build system:
rm -rf ./include/arch
make[1]: Leaving directory `/jflinux/bootloader/imx-bootlets-src-10.12.01/linux_prep'
cross-compiling linux_prep
make -C linux_prep ARCH=mx28 BOARD=iMX28_EVK
make[1]: Entering directory `/jflinux/bootloader/imx-bootlets-src-10.12.01/linux_prep'
arm-fsl-linux-gnueabi-gcc -c -Wall -I./include -nostdinc -fno-builtin -O -DMX28 -DBOARD_MX28_EVK -D__ASSEMBLY__ -o core/entry.o core/entry.S
make[1]: arm-fsl-linux-gnueabi-gcc: Command not found
make[1]: *** [core/entry.o] Error 127
make[1]: Leaving directory `/jflinux/bootloader/imx-bootlets-src-10.12.01/linux_prep'
make: *** [linux_prep] Error 2

再次求高人帮忙了!!
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
18条回答
liujinyi016
2020-02-21 01:34
查找 arm-在imx-bootlets-src-10.12.01目录 ,结果如下:
Searching 263 files for "arm-"

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01uild:
    1  
    2: make CROSS_COMPILE=arm-fsl-linux-gnueabi- BOARD=iMX28_EVK
    3  

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01uild_updater:
    1  
    2: make CROSS_COMPILE=arm-fsl-linux-gnueabi- BOARD=iMX28_EVK updater
    3  

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01Makefile:
    4  
    5  #DEV_IMAGE指向用户的zImage和u-boot所在的路径
    6: #DEV_IMAGE=/home/proton/EasyARM-iM283/rootfs/rootfs/boot
    7  DEV_IMAGE=./
    8  

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01oot_prepMakefile:
    9  
   10  
   11: CROSS_COMPILE ?= arm-linux-gnueabi-
   12  
   13  AS        = $(CROSS_COMPILE)as

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01linux_prepMakefile:
   21  LINUX_PREP_ROM        = $(OUTPUTDIR)/linux_prep.rom
   22  
   23: CROSS_COMPILE ?= arm-linux-gnueabi-
   24  
   25  AS        = $(CROSS_COMPILE)as

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01mach-mx23driverspowerMakefile:
   10  INCLUDEDIRS        = -I$(COMMONSRCDIR)/includes -I$(COMMONSRCDIR)
   11  
   12: CROSS_COMPILE ?= arm-linux-gnueabi-
   13  
   14  AS        = $(CROSS_COMPILE)as

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01mach-mx23hwcoreMakefile:
   10  INCLUDEDIRS        = -I$(COMMONSRCDIR)/includes -I$(COMMONSRCDIR)
   11  
   12: CROSS_COMPILE ?= arm-linux-gnueabi-
   13  
   14  AS        = $(CROSS_COMPILE)as

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01mach-mx23hwdigctlMakefile:
   10  INCLUDEDIRS        = -I$(COMMONSRCDIR)/includes -I$(COMMONSRCDIR)
   11  
   12: CROSS_COMPILE ?= arm-linux-gnueabi-
   13  
   14  AS        = $(CROSS_COMPILE)as

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01mach-mx23hwicollMakefile:
    9  INCLUDEDIRS        = -I$(COMMONSRCDIR)/includes -I$(COMMONSRCDIR)
   10  
   11: CROSS_COMPILE ?= arm-linux-gnueabi-
   12  
   13  AS        = $(CROSS_COMPILE)as

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01mach-mx23hwlradcMakefile:
    9  INCLUDEDIRS        = -I$(COMMONSRCDIR)/includes -I$(COMMONSRCDIR)
   10  
   11: CROSS_COMPILE ?= arm-linux-gnueabi-
   12  
   13  AS        = $(CROSS_COMPILE)as

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01mach-mx23hwpowerMakefile:
    9  INCLUDEDIRS        = -I$(COMMONSRCDIR)/includes -I$(COMMONSRCDIR)
   10  
   11: CROSS_COMPILE ?= arm-linux-gnueabi-
   12  
   13  AS        = $(CROSS_COMPILE)as

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01mach-mx28driverspowerMakefile:
   10  INCLUDEDIRS        = -I$(COMMONSRCDIR)/includes -I$(COMMONSRCDIR)
   11  
   12: CROSS_COMPILE ?= arm-linux-gnueabi-
   13  
   14  AS        = $(CROSS_COMPILE)as

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01mach-mx28hwcoreMakefile:
   10  INCLUDEDIRS        = -I$(COMMONSRCDIR)/includes -I$(COMMONSRCDIR)
   11  
   12: CROSS_COMPILE ?= arm-linux-gnueabi-
   13  
   14  AS        = $(CROSS_COMPILE)as

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01mach-mx28hwdigctlMakefile:
   10  INCLUDEDIRS        = -I$(COMMONSRCDIR)/includes -I$(COMMONSRCDIR)
   11  
   12: CROSS_COMPILE ?= arm-linux-gnueabi-
   13  
   14  AS        = $(CROSS_COMPILE)as

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01mach-mx28hwicollMakefile:
    9  INCLUDEDIRS        = -I$(COMMONSRCDIR)/includes -I$(COMMONSRCDIR)
   10  
   11: CROSS_COMPILE ?= arm-linux-gnueabi-
   12  
   13  AS        = $(CROSS_COMPILE)as

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01mach-mx28hwlradcMakefile:
    9  INCLUDEDIRS        = -I$(COMMONSRCDIR)/includes -I$(COMMONSRCDIR)
   10  
   11: CROSS_COMPILE ?= arm-linux-gnueabi-
   12  
   13  AS        = $(CROSS_COMPILE)as

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01mach-mx28hwpowerMakefile:
    9  INCLUDEDIRS        = -I$(COMMONSRCDIR)/includes -I$(COMMONSRCDIR)
   10  
   11: CROSS_COMPILE ?= arm-linux-gnueabi-
   12  
   13  AS        = $(CROSS_COMPILE)as

F:QQDownloadi.mx283EasyARM-iMX283_cdiMX283_287 V1.05_1409113.Linux6.源代码ootloaderootloaderimx-bootlets-src-10.12.01power_prepMakefile:
   13  POWER_PREP        = $(OUTPUTDIR)/power_prep
   14  
   15: CROSS_COMPILE ?= arm-linux-gnueabi-
   16  
   17  AS        = $(CROSS_COMPILE)as

18 matches across 18 files

一周热门 更多>