You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)'
The text was updated successfully, but these errors were encountered:
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)'The text was updated successfully, but these errors were encountered: