Skip to content

Instantly share code, notes, and snippets.

@elcontrastador
Created September 20, 2017 01:36
Show Gist options
  • Save elcontrastador/ce6081a9d2e1ca901b0ea6746bbda9eb to your computer and use it in GitHub Desktop.
Save elcontrastador/ce6081a9d2e1ca901b0ea6746bbda9eb to your computer and use it in GitHub Desktop.
[CC] utils.c -> utils.o
[CC] uuid.c -> uuid.o
[CC] version.c -> version.o
[CC] xml.c -> xml.o
[CC] xmldoc.c -> xmldoc.o
[CC] libasteriskssl.c -> libasteriskssl.o
libasteriskssl.c:76:5: warning: no previous prototype for ‘SSL_library_init’ [-Wmissing-prototypes]
int SSL_library_init(void)
^
libasteriskssl.c:86:6: warning: no previous prototype for ‘SSL_load_error_strings’ [-Wmissing-prototypes]
void SSL_load_error_strings(void)
^
libasteriskssl.c:95:6: warning: no previous prototype for ‘CRYPTO_set_id_callback’ [-Wmissing-prototypes]
void CRYPTO_set_id_callback(unsigned long (*func)(void))
^
libasteriskssl.c:104:6: warning: no previous prototype for ‘CRYPTO_set_locking_callback’ [-Wmissing-prototypes]
void CRYPTO_set_locking_callback(void (*func)(int mode,int type, const char *file, i
^
libasteriskssl.c:113:6: warning: no previous prototype for ‘ERR_free_strings’ [-Wmissing-prototypes]
void ERR_free_strings(void)
^
libasteriskssl.c: In function ‘ast_ssl_init’:
libasteriskssl.c:169:19: warning: implicit declaration of function ‘CRYPTO_num_locks’ [-Wimplicit-function-declaration]
ssl_num_locks = CRYPTO_num_locks();
^
[LD] libasteriskssl.o -> libasteriskssl.so.1
[LN] libasteriskssl.so.1 -> libasteriskssl.so
[CC] libasteriskpj.c -> libasteriskpj.o
[GENERATE] libasteriskpj.exports
[LD] libasteriskpj.o -> libasteriskpj.so.2
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
Makefile:293: recipe for target 'libasteriskpj.so.2' failed
make[1]: *** [libasteriskpj.so.2] Error 1
Makefile:367: recipe for target 'main' failed
make: *** [main] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment