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

fix lgpr undefined reference while building emake #2344

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KartikShrivastava
Copy link
Contributor

OS: Arch linux
Fixes following error encountered while building emake target (make emake). RadialGM build failing on Arch Linux because of this issue.

g++ -std=c++17 -Wall -Wextra -Wpedantic -g -I. -I../../CompilerSource -I../../shared/protos/.eobjs -I../libEGM -I../libEGM -I../../shared  -o ../../emake .eobjs/EnigmaCallbacks.o .eobjs/EnigmaPlugin.o .eobjs/Main.o .eobjs/OptionsParser.o .eobjs/Server.o -g -lboost_program_options -Wl,--no-as-needed -Wl,-rpath,./ -lpthread -ldl -L../../ -lcompileEGMf -lEGM -lProtocols -lENIGMAShared -lgrpc++ -lprotobuf -lyaml-cpp -lpng 
/usr/bin/ld: .eobjs/Server.o: undefined reference to symbol 'gpr_inf_future'
/usr/bin/ld: /usr/lib/libgpr.so.30: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [../../Default.mk:23: ../../emake] Error 1
make[1]: Leaving directory '/home/kartik/Projects/radialgm-dir/RadialGM/Submodules/enigma-dev/CommandLine/emake'
make: *** [Makefile:51: emake] Error 2

@k0T0z
Copy link
Contributor

k0T0z commented Oct 12, 2023

I was going to submit a PR for this fix due to CI error but thank god I remembered that you already submitted one. LGTM @KartikShrivastava.

@KartikShrivastava
Copy link
Contributor Author

Thanks for the revisit to this PR @k0T0z !

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

Successfully merging this pull request may close these issues.

None yet

2 participants