Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe some problems with glog? Can't make folly #2230

Open
DittoWii opened this issue Jun 8, 2024 · 1 comment
Open

Maybe some problems with glog? Can't make folly #2230

DittoWii opened this issue Jun 8, 2024 · 1 comment

Comments

@DittoWii
Copy link

DittoWii commented Jun 8, 2024

I'm installing folly with ubuntu 20.04.
I follow the instructions to make a dir _build and cmake ..
I've already installed the glog version 0.6.0, which < 0.7.0, and it is found correctly when i am doing cmake ..
But when executing make -j, the following error keeps appearing.

[ 99%] Linking CXX executable logging_example
/usr/bin/ld: ../../../libfolly.a(MemoryIdler.cpp.o): in function `folly::detail::MemoryIdler::unmapUnusedStack(unsigned long)':
/home/xx/soft-tar/folly/folly/detail/MemoryIdler.cpp:221: undefined reference to `google::ErrnoLogMessage::ErrnoLogMessage(char const*, int, int, unsigned long, void (google::LogMessage::*)())'
/usr/bin/ld: ../../../libfolly.a(SignalHandler.cpp.o): in function `folly::symbolizer::installFatalSignalHandler(std::bitset<64ul>)':
/home/xx/soft-tar/folly/folly/experimental/symbolizer/SignalHandler.cpp:557: undefined reference to `google::ErrnoLogMessage::ErrnoLogMessage(char const*, int, int, unsigned long, void (google::LogMessage::*)())'
collect2: error: ld returned 1 exit status
make[2]: *** [folly/logging/example/CMakeFiles/logging_example.dir/build.make:124: folly/logging/example/logging_example] Error 1
make[1]: *** [CMakeFiles/Makefile2:331: folly/logging/example/CMakeFiles/logging_example.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

How can i solve this?

@DittoWii DittoWii changed the title Maybe some problems with glog? Can make folly Maybe some problems with glog? Can't make folly Jun 8, 2024
@NoobPythoner
Copy link

the same question?is there anaybody who can solve it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants