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

an error occurs when I run the test code #213

Open
Wangjun24 opened this issue Dec 12, 2024 · 0 comments
Open

an error occurs when I run the test code #213

Wangjun24 opened this issue Dec 12, 2024 · 0 comments

Comments

@Wangjun24
Copy link

I have successfully compiled and installed the library to / usr / local using make install, but an error occurs when I run the code:
test@ubuntu:~/code/ABY/src/examples/sha1$ g++ /home/test/code/ABY/src/examples/sha1/sha1_test.cpp -o sha1_test
/usr/bin/ld: /tmp/cctvLBaF.o: in function read_test_options(int*, char***, e_role*, unsigned int*, unsigned int*, unsigned int*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned short*, e_sharing*)': sha1_test.cpp:(.text+0x4fa): undefined reference to parse_options(int*, char***, parsing_ctx*, unsigned int)'
/usr/bin/ld: sha1_test.cpp:(.text+0x55a): undefined reference to print_usage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, parsing_ctx*, unsigned int)' /usr/bin/ld: /tmp/cctvLBaF.o: in function main':
sha1_test.cpp:(.text+0x9c6): undefined reference to get_sec_lvl(unsigned int)' /usr/bin/ld: sha1_test.cpp:(.text+0xa06): undefined reference to test_sha1_circuit(e_role, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned short, SECURITYLEVELS, unsigned int, unsigned int, e_mt_gen_alg, e_sharing)'

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

1 participant