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

make -f oe_certifier.mak in analytics_example/enclave/ dir fails with: No rule to make target 'oe_certifier.cc #123

Open
gapisback opened this issue Jun 23, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@gapisback
Copy link
Collaborator

While attempting to clean-up references to certifier.proto [ in the wake of fixes for issue #116 ], attempted to run make in the named sub-dir. This fails as follows (tried on Nimbus-VM):

cc-sdb-vm:[328] $ pwd
/home/agurajada/Code/certifier-framework-for-confidential-computing/sample_apps/analytics_example/enclave
cc-sdb-vm:[329] $ make -f oe_certifier.mak
make: *** No rule to make target 'oe_certifier.cc', needed by 'oe_certifier.o'.  Stop.

Even after resolving the Makefile logic, this fails finally as follows:

linking executable files
g++ -o ./oe_certifier.exe ./oe_certifier.o ./certifier.pb.o ./certifier.o ./support.o -lprotobu
f -lpthread -L/usr/local/opt/[email protected]/lib/ -lcrypto -lssl
/usr/bin/ld: ./oe_certifier.o: in function `test_digest_test_digest_Test::TestBody()':
/home/agurajada/Code/certifier-framework-for-confidential-computing/sample_apps/analytics_examp
le/enclave/../../../src/certifier_tests.cc:47: undefined reference to `test_digest(bool)'
/usr/bin/ld: /home/agurajada/Code/certifier-framework-for-confidential-computing/sample_apps/an
alytics_example/enclave/../../../src/certifier_tests.cc:47: undefined reference to `testing::Me
ssage::Message()'
/usr/bin/ld: /home/agurajada/Code/certifier-framework-for-confidential-computing/sample_apps/an
alytics_example/enclave/../../../src/certifier_tests.cc:47: undefined reference to `testing::in
ternal::GetBoolAssertionFailureMessage[abi:cxx11](testing::AssertionResult const&, char const*,
 char const*, char const*)'
/usr/bin/ld: /home/agurajada/Code/certifier-framework-for-confidential-computing/sample_apps/an
alytics_example/enclave/../../../src/certifier_tests.cc:47: undefined reference to `testing::in
ternal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*
)'

The version of working makefile is archived at: cc-sdb-vm:/home/agurajada/tmp/oe_certifier.mak.certifier-proto-116

@gapisback gapisback self-assigned this Jun 23, 2023
@gapisback gapisback added the bug Something isn't working label Jun 23, 2023
@gapisback
Copy link
Collaborator Author

Don't need this to be resolved before the summit.

@gapisback gapisback assigned yelvmw and unassigned gapisback Oct 30, 2023
@jlmucb
Copy link
Collaborator

jlmucb commented Nov 19, 2023

We may deprecate this example. We should if we don't fix it and remove it from the repository (or move it to "deprecated.")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants