Open lbonjean opened 3 years ago
Hi,
try:
gcc -lpthread -c -fPIC -g3 sslkeylog.cpp -o sslkeylog.o
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]#
edit sslkeylog.cpp and add
at the beginning
ok, make succeeds now. I will now test if it works. Thanks. Do you want me to make a pull request?
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?