zoukankan      html  css  js  c++  java
  • dpdk 编译 cp: cannot stat ‘.map’: No such file or directory

     

    [root@localhost ring_test]# make clean all
      CC main.o
    cc1: error: argument to ‘-O’ should be a non-negative integer, ‘g’, ‘s’ or ‘fast’
    cc1: warning: unrecognized command line option "-Wno-address-of-packed-member" [enabled by default]
    make[1]: *** [main.o] Error 1
    make: *** [all] Error 2

    删除如下

    #EXTRA_CFLAGS +="-O0 -g"
    root@localhost ring_test]# make
    /data1/dpdk-19.11/mk/rte.app.mk:459: warning: overriding recipe for target `/data1/dpdk-19.11/demo/ring_test/build/app/test_ring'
    /data1/dpdk-19.11/mk/rte.app.mk:451: warning: ignoring old recipe for target `/data1/dpdk-19.11/demo/ring_test/build/app/test_ring'
      LD test_ring
      INSTALL-MAP test_ring .map
    cp: cannot stat ‘.map’: No such file or directory
    make[1]: *** [/data1/dpdk-19.11/demo/ring_test/build/app/test_ring] Error 1
    make: *** [all] Error 2

     

  • 相关阅读:
    新的学习计划
    Python学习搬家啦
    安装数据库软件
    oracle11g RAC之grid安装
    PG源码编译安装
    vnc图形化远程centos7.6步骤
    postgresql 日期格式
    centos配置yum源
    pg创建多个实例
    PostgreSQL配置
  • 原文地址:https://www.cnblogs.com/dream397/p/13647796.html
Copyright © 2011-2022 走看看