|
|
Home » Developing U++ » U++ Developers corner » Problem with FreeBSD
Problem with FreeBSD [message #60622] |
Sun, 09 June 2024 17:11  |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
./umk reference Https CLANG -bus
in dir /usr/home/buildbot-worker/worker0/fb13-upp/build (timeout 1200 secs)
watching logfiles {}
argv: [b'./umk', b'reference', b'Https', b'CLANG', b'-bus']
using PTY: False
----- Core ( CLANG DEBUG SHARED DEBUG_FULL BLITZ POSIX BSD FREEBSD ) (1 / 3)
----- Core/SSL ( CLANG DEBUG SHARED DEBUG_FULL BLITZ POSIX BSD FREEBSD ) (2 / 3)
----- Https ( MAIN CLANG DEBUG SHARED DEBUG_FULL BLITZ POSIX BSD FREEBSD ) (3 / 3)
Linking...
ld: error: undefined symbol: SSL_get1_peer_certificate
>>> referenced by Socket.cpp:183
>>> /usr/home/buildbot-worker/worker0/fb13-upp/build/.cache/upp.out/Core/SSL/CLANG.Debug.Debug_Full.Shared/Socket.o:(Upp::TcpSocket::SSLImp::Handshake())
>>> did you mean: SSL_get_peer_certificate
>>> defined in: /usr/lib/libssl.so
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
There were errors. (0:00.12)
program finished with exit code 1
elapsedTime=0.141835
Regards,
Novo
|
|
|
|
Re: Problem with FreeBSD [message #60658 is a reply to message #60657] |
Wed, 26 June 2024 21:21   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
I ran full rebuild. The problem still remains.
It is hard to tell what is going on. FreeBSD 12 was fine ...
Regards,
Novo
|
|
|
|
|
|
Re: Problem with FreeBSD [message #60663 is a reply to message #60661] |
Sat, 29 June 2024 03:35  |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
Interestingly, there are two ssl.h:
/usr/local/include/openssl/ssl.h
/usr/include/openssl/ssl.h
First one:
# ifdef OPENSSL_X509_H
__owur X509 *SSL_get0_peer_certificate(const SSL *s);
__owur X509 *SSL_get1_peer_certificate(const SSL *s);
/* Deprecated in 3.0.0 */
# ifndef OPENSSL_NO_DEPRECATED_3_0
# define SSL_get_peer_certificate SSL_get1_peer_certificate
# endif
# endif
Second one:
# ifdef HEADER_X509_H
__owur X509 *SSL_get_peer_certificate(const SSL *s);
# endif
Basically, U++ should define OPENSSL_NO_DEPRECATED_3_0 ...
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Sat Jun 14 17:09:17 CEST 2025
Total time taken to generate the page: 0.06618 seconds
|
|
|