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

Unsuccessful debug build #89

Closed
yufjiang opened this issue Apr 9, 2020 · 3 comments
Closed

Unsuccessful debug build #89

yufjiang opened this issue Apr 9, 2020 · 3 comments

Comments

@yufjiang
Copy link

yufjiang commented Apr 9, 2020

I am trying build Quote Generation Library.

With all prerequisite installed, my normal build by running "make" works well.

But when I try to build debug libraries by running "make DEBUG=1". I am keeping running into the issue below:

../qe_logic.cpp: In function ‘void* get_qpl_handle()’:
../qe_logic.cpp:259:13: error: ‘old_libname_used’ was not declared in this scope
old_libname_used = true;
^~~~~~~~~~~~~~~~
Makefile:87: recipe for target '../qe_logic.o' failed
make[2]: *** [../qe_logic.o] Error 1
make[2]: Leaving directory '/home/yufjiang/SGXDataCenterAttestationPrimitives/QuoteGeneration/quote_wrapper/quote/linux'
Makefile:90: recipe for target '../../quote/linux/libsgx_qe3_logic.so' failed
make[1]: *** [../../quote/linux/libsgx_qe3_logic.so] Error 2
make[1]: Leaving directory '/home/yufjiang/SGXDataCenterAttestationPrimitives/QuoteGeneration/quote_wrapper/ql/linux'
Makefile:55: recipe for target 'qe3_logic' failed
make: *** [qe3_logic] Error 2

Please let me know if there are any workaround. Thank you very much!

@yufjiang yufjiang reopened this Apr 10, 2020
@andyzyb
Copy link
Contributor

andyzyb commented Apr 10, 2020

Thanks for reporting the issue. Debug build is broken and will fix it soon.

@llly llly mentioned this issue Apr 10, 2020
@andyzyb
Copy link
Contributor

andyzyb commented Apr 10, 2020

@yufjiang , please pull the latest code and try again.

@yufjiang
Copy link
Author

@yufjiang , please pull the latest code and try again.

@andyzyb Thanks for your prompt help! I can do the debug build successfully with the latest master branch now. Feel free to close the issue. Really appreciate the fix.

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