Hi Alex,

On Dec 17, 2017, at 19:56, Alex Mihajlov wrote:
> Hello, I try compile freerdp-2.0.0-rc1 on my OpenBSD 6.2.
> 
> [...]
> 
> /home/amihailov/devel/freerdp-2.0.0-rc1/winpr/libwinpr/libwinpr2.so.2.0: 
> undefined reference to `backtrace_symbols'
> /home/amihailov/devel/freerdp-2.0.0-rc1/winpr/libwinpr/libwinpr2.so.2.0: 
> undefined reference to `backtrace'
> /home/amihailov/devel/freerdp-2.0.0-rc1/winpr/libwinpr/libwinpr2.so.2.0: 
> undefined reference to `backtrace_symbols_fd'
> /home/amihailov/devel/freerdp-2.0.0-rc1/winpr/libwinpr/libwinpr2.so.2.0: 
> undefined reference to `FIPS_mode_set'
> /home/amihailov/devel/freerdp-2.0.0-rc1/winpr/libwinpr/libwinpr2.so.2.0: 
> undefined reference to `FIPS_mode'
> 
> [...]
> 
> I tried change gcc to clang, but I still get these error .

I don't think it's the compiler to blame here. The issue is most likely
caused by FreeRDP not supporting OpenBSD's libraries.

For instance, the backtrace() functions are GNU extensions, they are
present only in glibc, but not in OpenBSD's libc. Some quick googling
shows that libexecinfo can provide these functions for OpenBSD.

The FIPS_mode() functions are a part of the OpenSSL library. However,
OpenBSD uses LibreSSL, which does not support FIPS mode and never will.

So this could be fixed by updating the CMakeLists to support OpenBSD.
It should disable FIPS mode usage for OpenBSD and link against
libexecinfo (or drop backtraces).
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to