• 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
  • 相关阅读:
    关于SQL批量插入数据方法比较
    Meta详细说明及使用方法
    【原创】自己写的用户控件的传值
    Windows 2003全面优化
    IT职位全面解析(软件类)
    NHibernate介绍
    获取到的客户端发送的文件的MIME内容类型的全部类型列
    C#如何编程方式获取计算机主板序列号
    XP下HTTP的403.9错误禁止访问:连接的用户过多如何解
    用户登录验证程序——VB.NET
  • 原文地址:https://www.cnblogs.com/dream397/p/14626307.html
Copyright © 2020-2023  润新知