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

Problem installing proxygen on Ubuntu 16.04 #117

Closed
kgupta15 opened this issue Sep 8, 2016 · 2 comments
Closed

Problem installing proxygen on Ubuntu 16.04 #117

kgupta15 opened this issue Sep 8, 2016 · 2 comments

Comments

@kgupta15
Copy link

kgupta15 commented Sep 8, 2016

I downloaded the source code and ran ./deps.sh in the proxygen/proxygen directory. I am getting these errors:

./.libs/libfollybase.a(Conv.o): In function `std::string* google::MakeCheckOpString<unsigned long, unsigned long>(unsigned long const&, unsigned long const&, char const*)':
/usr/include/glog/logging.h:672: undefined reference to `google::base::CheckOpMessageBuilder::NewString()'
./.libs/libfollybase.a(Format.o): In function `std::string* google::MakeCheckOpString<int, int>(int const&, int const&, char const*)':
/usr/include/glog/logging.h:672: undefined reference to `google::base::CheckOpMessageBuilder::NewString()'
build/GenerateFingerprintTables.o: In function `std::string* google::MakeCheckOpString<int, unsigned long long>(int const&, unsigned long long const&, char const*)':
/usr/include/glog/logging.h:672: undefined reference to `google::base::CheckOpMessageBuilder::NewString()'
collect2: error: ld returned 1 exit status
Makefile:1405: recipe for target 'generate_fingerprint_tables' failed
make[2]: *** [generate_fingerprint_tables] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/cortana/Downloads/proxygen-master/proxygen/folly/folly'
Makefile:1669: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/cortana/Downloads/proxygen-master/proxygen/folly/folly'
Makefile:1027: recipe for target 'all' failed
make: *** [all] Error 2

How can I remove these errors? I have tried compiling the library with both the default 5.3 and the 4.8 version of GCC and they give the same errors.

@cmazakas
Copy link

cmazakas commented Sep 8, 2016

I've had similar issues in the past, only my code compiled with 5.3. What if you try gcc6? I actually wound up trying all 3 compilers on my machine until I found the Goldilocks one.

@afrind
Copy link
Contributor

afrind commented Sep 19, 2016

I just built a new 16.04 VM and ran deps.sh on it from HEAD. It pulled in gcc-5.4 and built cleanly. Try that and reopen if you are still having trouble?

@afrind afrind closed this as completed Sep 19, 2016
chadaustin added a commit to chadaustin/proxygen that referenced this issue Aug 19, 2022
Summary:
X-link: facebook/fboss#117

Sadly, even though Ubuntu 18.04 is still in LTS, GitHub is deprecating
its runner image.

Migrate the generated GitHub Actions to 20.04.

actions/runner-images#6002

https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/

Reviewed By: fanzeyi

Differential Revision: D38877286

fbshipit-source-id: a1a0299f506c28cf34224c253c03d77f1aa39fbf
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

3 participants