Which version of stunnel ? On Wed, 27 Nov 2019 at 11:56, Somchai Smythe <[email protected]> wrote:
> How do I fix this? > > gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include > -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -O3 -m64 > -march=x86-64 -mtune=generic -pipe -std=gnu17 -pthread -Wall -Wextra > -Wpedantic -Wformat=2 -Wconversion -Wno-long-long > -Wno-deprecated-declarations -fPIE -fstack-protector > -D_FORTIFY_SOURCE=2 -MT stunnel-sthreads.o -MD -MP -MF > .deps/stunnel-sthreads.Tpo -c -o stunnel-sthreads.o `test -f > 'sthreads.c' || echo './'`sthreads.c > sthreads.c: In function 'thread_id_init': > sthreads.c:116:5: warning: implicit declaration of function > 'CRYPTO_set_id_callback'; did you mean 'CRYPTO_set_locking_callback'? > [-Wimplicit-function-declaration] > 116 | CRYPTO_set_id_callback(stunnel_thread_id); > | ^~~~~~~~~~~~~~~~~~~~~~ > | CRYPTO_set_locking_callback > > ... > > libtool: link: ( cd ".libs" && rm -f "libstunnel.la" && ln -s > "../libstunnel.la" "libstunnel.la" ) > > /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: > stunnel-sthreads.o: in function `sthreads_init': > sthreads.c:(.text+0xb0): undefined reference to `CRYPTO_set_id_callback' > > /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: > stunnel-sthreads.o: in function `thread_id_init': > sthreads.c:(.text+0x3a): undefined reference to `CRYPTO_set_id_callback' > collect2: error: ld returned 1 exit status > make[2]: *** [Makefile:550: stunnel] Error 1 > > I'm using openssl-1.1.1d if it matters. > _______________________________________________ > stunnel-users mailing list > [email protected] > https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users >
_______________________________________________ stunnel-users mailing list [email protected] https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
