Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • Paddle
  • Issue
  • #3662

P
Paddle
  • 项目概览

PaddlePaddle / Paddle
大约 2 年 前同步成功

通知 2325
Star 20933
Fork 5424
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 1423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
P
Paddle
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 1,423
    • Issue 1,423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
    • 合并请求 543
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板
已关闭
开放中
Opened 8月 24, 2017 by saxon_zh@saxon_zhGuest

Paddle分支源代码编译问题_cmake出core make提示o rule to make target `../third_party/install/glog/lib/libglog.a', needed by `paddle/function/MulOpTest'

Created by: xieshufu

从某个分支上将PADDLE代码下载下来, https://github.com/zzsu/Paddle, 然后执行cmake命令cmake .. -DCMAKE_INSTALL_PREFIX=../../../test_exe/ ,提示如下:

-- The CXX compiler identification is GNU 4.8.3
-- The C compiler identification is GNU 4.8.3
-- Check for working CXX compiler: /home/vis/.jumbo/opt/gcc48/bin/g++
-- Check for working CXX compiler: /home/vis/.jumbo/opt/gcc48/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /home/vis/.jumbo/opt/gcc48/bin/gcc
-- Check for working C compiler: /home/vis/.jumbo/opt/gcc48/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Sphinx: /home/vis/.jumbo/bin/sphinx-build  
-- Found Git: /usr/bin/git (found version "1.7.1") 
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found Paddle host system: centos
-- Found Paddle host system's CPU: 12 cores
-- Performing Test MMX_FOUND
-- Performing Test MMX_FOUND - Success
-- Performing Test SSE2_FOUND
-- Performing Test SSE2_FOUND - Success
-- Performing Test SSE3_FOUND
-- Performing Test SSE3_FOUND - Success
-- Performing Test AVX_FOUND
-- Performing Test AVX_FOUND - Success
-- Performing Test AVX2_FOUND
-- Performing Test AVX2_FOUND - Failed
-- Found PythonInterp: /home/vis/.jumbo/bin/python2.7 (found suitable version "2.7.3", minimum required is "2.7") 
-- Found PythonLibs: /home/vis/.jumbo/lib/libpython2.7.so (found suitable version "2.7.3", minimum required is "2.7") 
-- Found PY_pip: /home/vis/.jumbo/lib/python2.7/site-packages/pip  
-- Found PY_numpy: /home/vis/.jumbo/lib/python2.7/site-packages/numpy  
-- Found PY_wheel: /home/vis/.jumbo/lib/python2.7/site-packages/wheel  
-- Found PY_google.protobuf: /home/vis/.jumbo/lib/python2.7/site-packages/google/protobuf  
-- Found NumPy: /home/vis/.jumbo/lib/python2.7/site-packages/numpy/core/include  
[Paddle] Python Executable: /home/vis/.jumbo/bin/python2.7
[Paddle] Python Include: /home/vis/.jumbo/include/python2.7
[Paddle] Python Libraries: /home/vis/.jumbo/lib/libpython2.7.so
-- Found MKL (include: /home/vis/mkl/include, library: /home/vis/mkl/lib/libmkl_intel_lp64.a;/home/vis/mkl/lib/libmkl_sequential.a;/home/vis/mkl/lib/libmkl_core.a)
-- Found SWIG: /home/vis/.jumbo/bin/swig (found version "3.0.0") 
-- Looking for UINT64_MAX
-- Looking for UINT64_MAX - found
-- Performing Test C_COMPILER_SUPPORT_FLAG__fPIC
-- Performing Test C_COMPILER_SUPPORT_FLAG__fPIC - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fPIC
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fPIC - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer
-- Performing Test C_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wall
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wall - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wall
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wall - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wextra
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wextra - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wextra
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wextra - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Werror
-- Performing Test C_COMPILER_SUPPORT_FLAG__Werror - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Werror
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Werror - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor - Failed
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor - Failed
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_parameter
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_parameter - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_parameter
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_parameter - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_function
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_function - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_function
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_function - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_function
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_function - Success
-- Current cuDNN header is /home/work/cudnn/cudnn_v5/cuda/include/cudnn.h. Current cuDNN version is v5. 
-- Paddle version is 0.9.0a0
-- Found CUDA: /home/work/cuda-7.5 (found version "7.5") 
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vis/xieshufu/paddle/ocr/PaddleSRC/Paddle/build
从信息上看感觉是正常的,但在目录下会有一个core文件:core.31531
然后执行make -j 12命令,编译完成的提示如下:
make[2]: *** No rule to make target `../third_party/install/glog/lib/libglog.a', needed by `paddle/utils/tests/test_Error'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 81%] Building CXX object paddle/utils/tests/CMakeFiles/test_Error.dir/test_Error.cpp.o
make[2]: *** No rule to make target `../third_party/install/glog/lib/libglog.a', needed by `paddle/function/TensorShapeTest'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 82%] Building CXX object paddle/function/CMakeFiles/TensorShapeTest.dir/TensorShapeTest.cpp.o
make[2]: *** No rule to make target `../third_party/install/glog/lib/libglog.a', needed by `paddle/utils/tests/test_CustomStackTracePrint'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 82%] Building CXX object paddle/utils/tests/CMakeFiles/test_CustomStackTracePrint.dir/test_CustomStackTracePrint.cpp.o
make[2]: *** No rule to make target `../third_party/install/glog/lib/libglog.a', needed by `paddle/utils/tests/test_CustomStackTrace'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: *** No rule to make target `../third_party/install/glog/lib/libglog.a', needed by `paddle/function/CrossMapNormalOpTest'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: *** No rule to make target `../third_party/install/glog/lib/libglog.a', needed by `paddle/function/PadOpTest'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 82%] [ 83%] [ 83%] make[2]: *** No rule to make target `../third_party/install/glog/lib/libglog.a', needed by `paddle/function/BufferArgTest'.  Stop.
make[2]: *** Waiting for unfinished jobs....
Building CXX object paddle/utils/tests/CMakeFiles/test_CustomStackTrace.dir/test_CustomStackTrace.cpp.o
[ 83%] Building CXX object paddle/function/CMakeFiles/CrossMapNormalOpTest.dir/CrossMapNormalOpTest.cpp.o
Building CXX object paddle/function/CMakeFiles/PadOpTest.dir/PadOpTest.cpp.o
Building CXX object paddle/function/CMakeFiles/BufferArgTest.dir/BufferArgTest.cpp.o
make[2]: *** No rule to make target `../third_party/install/glog/lib/libglog.a', needed by `paddle/function/CosSimOpTest'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 83%] make[2]: *** No rule to make target `../third_party/install/glog/lib/libglog.a', needed by `paddle/function/FunctionTest'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: *** No rule to make target `../third_party/install/glog/lib/libglog.a', needed by `paddle/function/TensorTypeTest'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 83%] [ 83%] Building CXX object paddle/function/CMakeFiles/FunctionTest.dir/FunctionTest.cpp.o
Building CXX object paddle/function/CMakeFiles/TensorTypeTest.dir/TensorTypeTest.cpp.o
Building CXX object paddle/function/CMakeFiles/CosSimOpTest.dir/CosSimOpTest.cpp.o
make[2]: *** No rule to make target `../third_party/install/glog/lib/libglog.a', needed by `paddle/function/MulOpTest'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 83%] Building CXX object paddle/function/CMakeFiles/MulOpTest.dir/MulOpTest.cpp.o
make[2]: *** No rule to make target `../third_party/install/glog/lib/libglog.a', needed by `paddle/function/ContextProjectionOpTest'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 83%] Building CXX object paddle/function/CMakeFiles/ContextProjectionOpTest.dir/ContextProjectionOpTest.cpp.o
make[1]: *** [paddle/utils/tests/CMakeFiles/test_Error.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [paddle/function/CMakeFiles/TensorShapeTest.dir/all] Error 2
make[1]: *** [paddle/utils/tests/CMakeFiles/test_CustomStackTracePrint.dir/all] Error 2
make[1]: *** [paddle/function/CMakeFiles/BufferArgTest.dir/all] Error 2
make[1]: *** [paddle/utils/tests/CMakeFiles/test_CustomStackTrace.dir/all] Error 2
make[1]: *** [paddle/function/CMakeFiles/TensorTypeTest.dir/all] Error 2
make[1]: *** [paddle/function/CMakeFiles/PadOpTest.dir/all] Error 2
make[1]: *** [paddle/function/CMakeFiles/CosSimOpTest.dir/all] Error 2
make[1]: *** [paddle/function/CMakeFiles/CrossMapNormalOpTest.dir/all] Error 2
make[1]: *** [paddle/function/CMakeFiles/FunctionTest.dir/all] Error 2
make[1]: *** [paddle/function/CMakeFiles/ContextProjectionOpTest.dir/all] Error 2
make[1]: *** [paddle/function/CMakeFiles/MulOpTest.dir/all] Error 2
make: *** [all] Error 2

试了好几遍,都是这个问题。

指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/Paddle#3662
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7