• make clean make[1]:sdl2-config:命令未找到


    系统版本

    [suozhang@localhost linux]$ cat  /etc/redhat-release
    CentOS Linux release 8.1.1911 (Core) 
    [suozhang@localhost linux]$ 

    make 版本

    [suozhang@localhost linux]$ make -v
    GNU Make 4.2.1
    为 x86_64-redhat-linux-gnu 编译
    Copyright (C) 1988-2016 Free Software Foundation, Inc.
    许可证:GPLv3+:GNU 通用公共许可证第 3 版或更新版本<http://gnu.org/licenses/gpl.html>。
    本软件是自由软件:您可以自由修改和重新发布它。
    在法律允许的范围内没有其他保证。
    [suozhang@localhost linux]$ 

    gcc 版本

    [suozhang@localhost linux]$ gcc -v
    使用内建 specs。
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper
    OFFLOAD_TARGET_NAMES=nvptx-none
    OFFLOAD_TARGET_DEFAULT=1
    目标:x86_64-redhat-linux
    配置为:../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
    线程模型:posix
    gcc 版本 8.3.1 20190507 (Red Hat 8.3.1-4) (GCC) 
    [suozhang@localhost linux]$ 

    make clean 报错

    [suozhang@localhost linux]$ cd xboot/
    [suozhang@localhost xboot]$ make clean
    make[1]:sdl2-config:命令未找到
    make[1]:sdl2-config:命令未找到
    [suozhang@localhost xboot]$ 

    暂时未解决。  2020年3月15日17:01:37

    经过 yzhu 大佬 提点 解决 ,需要指定目标,2020年3月15日17:48:52

    [suozhang@localhost xboot]$ make CROSS_COMPILE=arm-linux-gnueabihf- PLATFORM=arm32-v3s
    [ROMDISK] Packing romdisk
    [CC] init/version.c
    [AS] driver/block/romdisk.S
    [LD] Linking ../output/xboot
    [OC] Objcopying ../output/xboot.bin
    copy from `../output/xboot' [elf32-littlearm] to `../output/xboot.bin' [binary]
    Make header information for brom booting
    The bootloader head has been fixed, spl size is 7680 bytes.
    [suozhang@localhost xboot]$ make clean PLATFORM=arm32-v3
    [suozhang@localhost xboot]$ 

    CPU 信息

    [suozhang@localhost linux]$ cat /proc/cpuinfo 
    processor    : 0
    vendor_id    : GenuineIntel
    cpu family    : 6
    model        : 60
    model name    : Intel(R) Pentium(R) CPU G3220 @ 3.00GHz
    stepping    : 3
    microcode    : 0x27
    cpu MHz        : 2993.879
    cache size    : 3072 KB
    physical id    : 0
    siblings    : 2
    core id        : 0
    cpu cores    : 2
    apicid        : 0
    initial apicid    : 0
    fpu        : yes
    fpu_exception    : yes
    cpuid level    : 13
    wp        : yes
    flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer xsave rdrand lahf_lm abm cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust erms invpcid xsaveopt dtherm arat pln pts md_clear flush_l1d
    bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs
    bogomips    : 5986.81
    clflush size    : 64
    cache_alignment    : 64
    address sizes    : 39 bits physical, 48 bits virtual
    power management:
    
    processor    : 1
    vendor_id    : GenuineIntel
    cpu family    : 6
    model        : 60
    model name    : Intel(R) Pentium(R) CPU G3220 @ 3.00GHz
    stepping    : 3
    microcode    : 0x27
    cpu MHz        : 2993.677
    cache size    : 3072 KB
    physical id    : 0
    siblings    : 2
    core id        : 1
    cpu cores    : 2
    apicid        : 2
    initial apicid    : 2
    fpu        : yes
    fpu_exception    : yes
    cpuid level    : 13
    wp        : yes
    flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer xsave rdrand lahf_lm abm cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust erms invpcid xsaveopt dtherm arat pln pts md_clear flush_l1d
    bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs
    bogomips    : 5986.81
    clflush size    : 64
    cache_alignment    : 64
    address sizes    : 39 bits physical, 48 bits virtual
    power management:
  • 相关阅读:
    安装Kudu
    flume+kafka+spark streaming整合
    安装Kafka
    DataFrame格式化
    RDD/Dataset/DataFrame互转
    多个jar包合并成一个jar包的办法
    flume使用示例
    ecplise + hadoop 调试环境搭建
    web.xml文件加载顺序
    Web.xml配置参数详解
  • 原文地址:https://www.cnblogs.com/suozhang/p/12498559.html
Copyright © 2020-2023  润新知