Created
November 2, 2011 15:25
-
-
Save beelsebob/1333924 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@s15333697:~# clang -I/root/openssl-1.0.0a-orig/include/ -L/root/openssl-1.0.0a-orig/ -lcrypto -lssl srpgen.c | |
/tmp/cc-6XVXN4.o: In function `main': | |
srpgen.c:(.text+0x92): undefined reference to `SRP_get_default_gN' | |
srpgen.c:(.text+0xbb): undefined reference to `SRP_create_verifier_BN' | |
srpgen.c:(.text+0xc7): undefined reference to `BN_bn2hex' | |
srpgen.c:(.text+0xd4): undefined reference to `BN_bn2hex' | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
root@s15333697:~# cd openssl-1.0.0a-orig | |
root@s15333697:~/openssl-1.0.0a-orig# nm libcrypto.a | grep SRP_get_default_gN | |
0000000000000000 T SRP_get_default_gN | |
U SRP_get_default_gN | |
root@s15333697:~/openssl-1.0.0a-orig# nm libcrypto.a | grep SRP_create_verifier_BN | |
00000000000001c0 T SRP_create_verifier_BN | |
root@s15333697:~/openssl-1.0.0a-orig# nm libcrypto.a | grep BN_bn2hex | |
0000000000000a40 T BN_bn2hex | |
U BN_bn2hex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment