在py-faster-rcnn/lib里make时报错: unrecognized command line option ‘-Wdate-time’
来源:互联网 发布:程序员考试资料 编辑:程序博客网 时间:2024/06/06 14:26
在py-faster-rcnn/lib里make时报错:
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/nms/nms_kernel.o build/temp.linux-x86_64-2.7/nms/gpu_nms.o -lcudart -o /home/wzy/py-faster-rcnn/lib/nms/gpu_nms.soc++: 错误: unrecognized command line option ‘-Wdate-time’c++: 错误: unrecognized command line option ‘-fstack-protector-strong’c++: 错误: unrecognized command line option ‘-Wdate-time’c++: 错误: unrecognized command line option ‘-fstack-protector-strong’error: command 'c++' failed with exit status 1
突然想到之前装cuda时gcc版本过高降低了的,现在可能是要改回去
root@wzy-ubuntu:/usr/bin# ls gcc*gcc gcc-5 gcc-ar-4.7 gcc-nm gcc-nm-5 gcc-ranlib-4.7gcc-4.7 gcc-ar gcc-ar-5 gcc-nm-4.7 gcc-ranlib gcc-ranlib-5root@wzy-ubuntu:/usr/bin# rm gcc root@wzy-ubuntu:/usr/bin# ln -s gcc-5 gcc root@wzy-ubuntu:/usr/bin# rm g++root@wzy-ubuntu:/usr/bin# ln -s g++-5 g++root@wzy-ubuntu:/usr/bin# ls
然后make,貌似好了
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -Ipycocotools -I/usr/include/python2.7 -c pycocotools/_mask.c -o build/temp.linux-x86_64-2.7/pycocotools/_mask.o -Wno-cpp -Wno-unused-function -std=c99x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/pycocotools/maskApi.o build/temp.linux-x86_64-2.7/pycocotools/_mask.o -o /home/wzy/py-faster-rcnn/lib/pycocotools/_mask.sorm -rf build
0 0
- 在py-faster-rcnn/lib里make时报错: unrecognized command line option ‘-Wdate-time’
- Unrecognized command line option
- 在py-faster-rcnn/lib下make报错 EnvironmentError: The CUDA lib64 path could not be located in /usr/lib64
- 在py-faster-rcnn/lib下make报错 EnvironmentError: The CUDA lib64 path could not be located in /usr/lib64
- py-faster-rcnn/lib/datasets/imdb.py
- make module失败的原因cc1: error: unrecognized command line option "-m64"
- make module失败的原因cc1: error: unrecognized command line option "-m64"
- openssl error: unrecognized command line option "-m486"
- unrecognized command line option "-frame-pointer"解决方法
- error: unrecognized command line option "-fconserve-stack"
- cc1: error: unrecognized command line option "-m64"
- unrecognized command line option '-V' 解决方法
- py-faster-rcnn:在windows上配置
- py faster rcnn caffe模块编译时报cudnn错误
- cc1: error: unrecognized command line option "-m64"报错,需要加入ARCH=arm
- cc1: error: unrecognized command line option "-mlittle-endian"
- 内核编译unrecognized command line option “-milittle-endian”解决方案
- 错误:cc1: error: unrecognized command line option "-m32"
- Android之选项菜单子菜单学习笔记
- 文件权限定义 S_IRUSR S_IWUSR S_IRGRP S_IWGRP S_IROTH S_IWOTH
- Hash表
- android.mk 详解
- 关于cookie的一些知识
- 在py-faster-rcnn/lib里make时报错: unrecognized command line option ‘-Wdate-time’
- java:string对象equals 和 == 的区别
- 何为" css sprites " ?何以为之酷?如何使用之?
- Go起步:3、变量、常量和基础类型
- 【杭电5480】Conturbatio象棋--车
- iOS开发(第三方使用)——百度地图的简单使用(定位与当前位置的显示)
- 类目 非正式协议 与 延展
- jni应用(*isCopy 返回的说明)
- Java NIO:NIO概述