zoukankan      html  css  js  c++  java
  • libquic-client-server-example

    root@ubuntu:~/reading-and-annotate-quic/libquic-client-server-example/libquic/build# cmake ..
    CMake Error: The current CMakeCache.txt directory /root/reading-and-annotate-quic/libquic-client-server-example/libquic/build/CMakeCache.txt is different than the directory /root/yangyazhou/reading-and-annotate-quic/libquic-client-server-example/libquic/build where CMakeCache.txt was created. This mayroot@ubuntu:~/reading-and-annotate-quic/libquic-client-server-example/libquic/build# cmake ..
    CMake Error: The current CMakeCache.txt directory /root/reading-and-annotate-quic/libquic-client-server-example/libquic/build/CMakeCache.txt is different than the directory /root/yangyazhou/reading-and-annotate-quic/libquic-client-server-example/libquic/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
    CMake Error: The source "/root/reading-and-annotate-quic/libquic-client-server-example/libquic/CMakeLists.txt" does not match the source "/root/yangyazhou/reading-and-annotate-quic/libquic-client-server-example/libquic/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.
    root@ubuntu:~/reading-and-annotate-quic/libquic-client-server-example/libquic/build# ls
    boringssl  CMakeCache.txt  CMakeFiles  cmake_install.cmake  libquic.a  Makefile  protobuf
    root@ubuntu:~/reading-and-annotate-quic/libquic-client-server-example/libquic/build# rm CMakeCache.txt  result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
    CMake Error: The source "/root/reading-and-annotate-quic/libquic-client-server-example/libquic/CMakeLists.txt" does not match the source "/root/yangyazhou/reading-and-annotate-quic/libquic-client-server-example/libquic/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.
    root@ubuntu:~/reading-and-annotate-quic/libquic-client-server-example/libquic/build# ls
    boringssl  CMakeCache.txt  CMakeFiles  cmake_install.cmake  libquic.a  Makefile  protobuf
    root@ubuntu:~/reading-and-annotate-quic/libquic-client-server-example/libquic/build# rm CMakeCache.txt 

    -- Detecting CXX compile features - done
    -- Setting build type to 'Debug' as none was specified.
    CMake Error at CMakeLists.txt:58 (message):
      Unknown processor:aarch64
    root@ubuntu:~/reading-and-annotate-quic/libquic-client-server-example/libquic# ls
    AUTHORS  boringssl  build  CMakeLists.txt  custom  DEPS  getdep.py  libquic.patch  LICENSE  Makefile  manage.py  patch  protobuf  README.md  src
    root@ubuntu:~/reading-and-annotate-quic/libquic-client-server-example/libquic# 
    CMakeLists.txt
    if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
            set(ARCH "amd64")
    elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "amd64")
            set(ARCH "amd64")
    elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64")
            set(ARCH "aarch64")
    root@ubuntu:~/reading-and-annotate-quic/libquic-client-server-example/libquic/build# cmake ..
    -- Found Perl: /usr/bin/perl (found version "5.26.1") 
    CMake Error at boringssl/CMakeLists.txt:9 (message):
      Could not find Go
    
    
    -- Configuring incomplete, errors occurred!
    See also "/root/reading-and-annotate-quic/libquic-client-server-example/libquic/build/CMakeFiles/CMakeOutput.log".
    root@ubuntu:~/reading-and-annotate-quic/libquic-client-server-example/libquic/build# source ~/kata/go_source 
    root@ubuntu:~/reading-and-annotate-quic/libquic-client-server-example/libquic/build# cmake ..
    -- The ASM compiler identification is GNU
    -- Found assembler: /usr/bin/cc
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /root/reading-and-annotate-quic/libquic-client-server-example/libquic/build
    root@ubuntu:~/reading-and-annotate-quic/libquic-client-server-example/libquic/build# 
    /root/reading-and-annotate-quic/libquic-client-server-example/libquic/boringssl/crypto/bio/socket_helper.c: In function ‘bio_ip_and_port_to_socket_and_addr’:
    /root/reading-and-annotate-quic/libquic-client-server-example/libquic/boringssl/crypto/bio/socket_helper.c:42:19: error: storage size of ‘hint’ isn’t known
       struct addrinfo hint, *result, *cur;
                       ^
    /root/reading-and-annotate-quic/libquic-client-server-example/libquic/boringssl/crypto/bio/socket_helper.c:51:9: error: implicit declaration of function ‘getaddrinfo’ [-Werror=implicit-function-declaration]
       ret = getaddrinfo(hostname, port_str, &hint, &result);
             ^
    /root/reading-and-annotate-quic/libquic-client-server-example/libquic/boringssl/crypto/bio/socket_helper.c:54:27: error: implicit declaration of function ‘gai_strerror’ [-Werror=implicit-function-declaration]
         ERR_add_error_data(2, gai_strerror(ret));
                               ^
    /root/reading-and-annotate-quic/libquic-client-server-example/libquic/boringssl/crypto/bio/socket_helper.c:60:36: error: dereferencing pointer to incomplete type ‘struct addrinfo’
       for (cur = result; cur; cur = cur->ai_next) {
                                        ^
    /root/reading-and-annotate-quic/libquic-client-server-example/libquic/boringssl/crypto/bio/socket_helper.c:79:3: error: implicit declaration of function ‘freeaddrinfo’ [-Werror=implicit-function-declaration]
       freeaddrinfo(result);
       ^
    /root/reading-and-annotate-quic/libquic-client-server-example/libquic/boringssl/crypto/bio/socket_helper.c:42:19: error: unused variable ‘hint’ [-Werror=unused-variable]
       struct addrinfo hint, *result, *cur;
                       ^
    cc1: all warnings being treated as errors
    boringssl/crypto/bio/CMakeFiles/bio.dir/build.make:302: recipe for target 'boringssl/crypto/bio/CMakeFiles/bio.dir/socket_helper.c.o' failed
    make[2]: *** [boringssl/crypto/bio/CMakeFiles/bio.dir/socket_helper.c.o] Error 1
    CMakeFiles/Makefile2:1748: recipe for target 'boringssl/crypto/bio/CMakeFiles/bio.dir/all' failed
    make[1]: *** [boringssl/crypto/bio/CMakeFiles/bio.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    [ 50%] Built target ssl
    [ 85%] Built target quic
    Makefile:83: recipe for target 'all' failed
    make: *** [all] Error 2
  • 相关阅读:
    ibatis核心内容概述
    ibatis selectKey
    setTimeout ;setInterval
    <select>设置multiple="multiple"属性后 下拉框全部展开了 不再是折叠的怎么回事
    $.ajax()实例
    html页面不显示中文
    sublime卡顿
    error_reporting
    js笔记
    怎样查看MYSQL数据库的端口号
  • 原文地址:https://www.cnblogs.com/dream397/p/14626307.html
Copyright © 2011-2022 走看看