facebook / facebook/folly

undefined reference to `google::kLogSiteUninitialized

Abierto
#1,362 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C++
Estrellas
30.5k
Forks
5.9k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

The problems I had told in the previous issue(https://github.com/facebook/folly/issues/1358)
are solve to some extent.
Now the major point is about "undefined reference to `google::kLogSiteUninitialized'"

[ 75%] Building CXX object CMakeFiles/wdt_min.dir/util/Stats.cpp.o
[ 77%] Building CXX object CMakeFiles/wdt_min.dir/WdtBase.cpp.o
[ 80%] Building CXX object CMakeFiles/wdt_min.dir/WdtResourceController.cpp.o
[ 82%] Building CXX object CMakeFiles/wdt_min.dir/util/CommonImpl.cpp.o
[ 84%] Linking CXX shared library _bin/wdt/cygwdt_min.dll
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/wdt_min.dir/util/WdtSocket.cpp.o:WdtSocket.cpp:(.data+0x0): undefined reference to `google::kLogSiteUninitialized'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/wdt_min.dir/util/WdtSocket.cpp.o:WdtSocket.cpp:(.data+0x8): undefined reference to `google::kLogSiteUninitialized'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/wdt_min.dir/util/WdtSocket.cpp.o:WdtSocket.cpp:(.data+0x10): undefined reference to `google::kLogSiteUninitialized'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/wdt_min.dir/util/WdtSocket.cpp.o:WdtSocket.cpp:(.data+0x18): undefined reference to `google::kLogSiteUninitialized'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/wdt_min.dir/util/WdtSocket.cpp.o:WdtSocket.cpp:(.data+0x20): undefined reference to `google::kLogSiteUninitialized'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/wdt_min.dir/util/WdtSocket.cpp.o:WdtSocket.cpp:(.data+0x28): more undefined references to `google::kLogSiteUninitialized' follow
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/wdt_min.dir/build.make:481: _bin/wdt/cygwdt_min.dll] Error 1
make[2]: Leaving directory '/cygdrive/g/cygwin64/home/forough/w_f/wdt'
make[1]: *** [CMakeFiles/Makefile2:186: CMakeFiles/wdt_min.dir/all] Error 2
make[1]: Leaving directory '/cygdrive/g/cygwin64/home/forough/w_f/wdt'
make: *** [Makefile:130: all] Error 2

Have you got any suggestion?
Thanks.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.