You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by "supernear (via GitHub)" <gi...@apache.org> on 2023/09/06 06:48:55 UTC

Re: [I] 编译报错 (brpc)

supernear commented on issue #1587:
URL: https://github.com/apache/brpc/issues/1587#issuecomment-1707768048

   [root@localhost build]# cmake .. -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON
   -- The CXX compiler identification is GNU 8.3.0
   -- Check for working CXX compiler: /usr/local/bin/g++
   -- Check for working CXX compiler: /usr/local/bin/g++ -- works
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- Looking for C++ include unistd.h
   -- Looking for C++ include unistd.h - found
   -- Looking for C++ include stdint.h
   -- Looking for C++ include stdint.h - found
   -- Looking for C++ include inttypes.h
   -- Looking for C++ include inttypes.h - found
   -- Looking for C++ include sys/types.h
   -- Looking for C++ include sys/types.h - found
   -- Looking for C++ include sys/stat.h
   -- Looking for C++ include sys/stat.h - found
   -- Looking for C++ include fnmatch.h
   -- Looking for C++ include fnmatch.h - found
   -- Looking for C++ include stddef.h
   -- Looking for C++ include stddef.h - found
   -- Check size of uint32_t
   -- Check size of uint32_t - done
   -- Looking for strtoll
   -- Looking for strtoll - found
   -- Looking for C++ include pthread.h
   -- Looking for C++ include pthread.h - found
   -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
   -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
   -- 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  
   -- Check size of pthread_rwlock_t
   -- Check size of pthread_rwlock_t - done
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /home/tools/gflags-v2.2.2/build
   [root@localhost build]# 
   [root@localhost build]# 
   [root@localhost build]# 
   [root@localhost build]# 
   [root@localhost build]# 
   [root@localhost build]# make
   Scanning dependencies of target gflags_shared
   [  6%] Building CXX object CMakeFiles/gflags_shared.dir/src/gflags.cc.o
   [ 12%] Building CXX object CMakeFiles/gflags_shared.dir/src/gflags_reporting.cc.o
   [ 18%] Building CXX object CMakeFiles/gflags_shared.dir/src/gflags_completions.cc.o
   [ 25%] Linking CXX shared library lib/libgflags.so
   [ 25%] Built target gflags_shared
   Scanning dependencies of target gflags_static
   [ 31%] Building CXX object CMakeFiles/gflags_static.dir/src/gflags.cc.o
   [ 37%] Building CXX object CMakeFiles/gflags_static.dir/src/gflags_reporting.cc.o
   [ 43%] Building CXX object CMakeFiles/gflags_static.dir/src/gflags_completions.cc.o
   [ 50%] Linking CXX static library lib/libgflags.a
   [ 50%] Built target gflags_static
   Scanning dependencies of target gflags_nothreads_static
   [ 56%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags.cc.o
   [ 62%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags_reporting.cc.o
   [ 68%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags_completions.cc.o
   [ 75%] Linking CXX static library lib/libgflags_nothreads.a
   [ 75%] Built target gflags_nothreads_static
   Scanning dependencies of target gflags_nothreads_shared
   [ 81%] Building CXX object CMakeFiles/gflags_nothreads_shared.dir/src/gflags.cc.o
   [ 87%] Building CXX object CMakeFiles/gflags_nothreads_shared.dir/src/gflags_reporting.cc.o
   [ 93%] Building CXX object CMakeFiles/gflags_nothreads_shared.dir/src/gflags_completions.cc.o
   [100%] Linking CXX shared library lib/libgflags_nothreads.so
   [100%] Built target gflags_nothreads_shared
   [root@localhost build]# 
   [root@localhost build]# 
   [root@localhost build]# 
   [root@localhost build]# 
   [root@localhost build]# make install
   [ 25%] Built target gflags_shared
   [ 50%] Built target gflags_static
   [ 75%] Built target gflags_nothreads_static
   [100%] Built target gflags_nothreads_shared
   Install the project...
   -- Install configuration: "Release"
   -- Installing: /usr/local/lib/libgflags.so.2.2.2
   -- Up-to-date: /usr/local/lib/libgflags.so.2.2
   -- Up-to-date: /usr/local/lib/libgflags.so
   -- Installing: /usr/local/lib/libgflags_nothreads.so.2.2.2
   -- Up-to-date: /usr/local/lib/libgflags_nothreads.so.2.2
   -- Up-to-date: /usr/local/lib/libgflags_nothreads.so
   -- Installing: /usr/local/lib/libgflags.a
   -- Installing: /usr/local/lib/libgflags_nothreads.a
   -- Installing: /usr/local/include/gflags/gflags.h
   -- Installing: /usr/local/include/gflags/gflags_declare.h
   -- Installing: /usr/local/include/gflags/gflags_completions.h
   -- Installing: /usr/local/include/gflags/gflags_gflags.h
   -- Installing: /usr/local/lib/cmake/gflags/gflags-config.cmake
   -- Installing: /usr/local/lib/cmake/gflags/gflags-config-version.cmake
   -- Installing: /usr/local/lib/cmake/gflags/gflags-targets.cmake
   -- Installing: /usr/local/lib/cmake/gflags/gflags-targets-release.cmake
   -- Installing: /usr/local/lib/cmake/gflags/gflags-nonamespace-targets.cmake
   -- Installing: /usr/local/lib/cmake/gflags/gflags-nonamespace-targets-release.cmake
   -- Up-to-date: /usr/local/bin/gflags_completions.sh
   -- Installing: /usr/local/lib/pkgconfig/gflags.pc
   -- Installing: /root/.cmake/packages/gflags/e5f7ce61772240490d3164df06f58ce9
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org