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

ssl_keylogger problem #71

Open
lbonjean opened this issue Jan 6, 2021 · 4 comments
Open

ssl_keylogger problem #71

lbonjean opened this issue Jan 6, 2021 · 4 comments

Comments

@lbonjean
Copy link

lbonjean commented Jan 6, 2021

Hi,
This is what happens if I run make for the ssl_keylogger:

[root@Q01PBX002 ssl_keylogger]# pwd
/usr/local/src/voipmonitor-git/tools/ssl_keylogger
[root@Q01PBX002 ssl_keylogger]# make
gcc -c -fPIC -g3 sslkeylog.cpp -o sslkeylog.o
sslkeylog.cpp: In function ‘void create_write_thread()’:
sslkeylog.cpp:399: error: ‘pthread_create’ was not declared in this scope
make: *** [sslkeylog.o] Error 1

Any suggestions?

@voipmonitor
Copy link
Owner

Hi,

try:

gcc -lpthread -c -fPIC -g3 sslkeylog.cpp -o sslkeylog.o

@lbonjean
Copy link
Author

lbonjean commented Jan 6, 2021

Same problem:
[root@Q01PBX002 ssl_keylogger]# gcc -lpthread -c -fPIC -g3 sslkeylog.cpp -o sslkeylog.o
sslkeylog.cpp: In function ‘void create_write_thread()’:
sslkeylog.cpp:399: error: ‘pthread_create’ was not declared in this scope
[root@Q01PBX002 ssl_keylogger]#

@voipmonitor
Copy link
Owner

edit sslkeylog.cpp and add

#include <pthread.h>

at the beginning

@lbonjean
Copy link
Author

lbonjean commented Jan 6, 2021

ok, make succeeds now. I will now test if it works.
Thanks.
Do you want me to make a pull request?

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

2 participants