Hello, I try compile freerdp-2.0.0-rc1 on my OpenBSD 6.2.
I run cmake with these arguments:
$ cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON -DWITH_ALSA=OFF -DWITH_CUPS=ON  
-DWITH_DIRECTFB=OFF -DWITH_GSTREAMER_0_10=OFF  -DWITH_GSTREAMER_1_0=OFF 
-DWITH_OPENSLES=OFF -DWITH_PCSC=ON -DWITH_PULSE=OFF .

and I run make and I get error:
Scanning dependencies of target winpr-tools
[ 40%] Building C object 
winpr/tools/CMakeFiles/winpr-tools.dir/makecert/makecert.c.o
[ 40%] Linking C shared library libwinpr-tools2.so
[ 40%] Built target winpr-tools
Scanning dependencies of target winpr-makecert
[ 40%] Building C object 
winpr/tools/makecert-cli/CMakeFiles/winpr-makecert.dir/main.c.o
[ 40%] Linking C executable winpr-makecert
/home/amihailov/devel/freerdp-2.0.0-rc1/winpr/tools/libwinpr-tools2.so.2.0: 
warning: warning: strcpy() is almost always misused, please use strlcpy()
/home/amihailov/devel/freerdp-2.0.0-rc1/winpr/libwinpr/libwinpr2.so.2.0: 
warning: warning: strcat() is almost always misused, please use strlcat()
/home/amihailov/devel/freerdp-2.0.0-rc1/winpr/libwinpr/libwinpr2.so.2.0: 
warning: warning: sprintf() is often misused, please use snprintf()
/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'
collect2: error: ld returned 1 exit status
*** Error 1 in . 
(winpr/tools/makecert-cli/CMakeFiles/winpr-makecert.dir/build.make:96 
'winpr/tools/makecert-cli/winpr-makecert')
*** Error 1 in . (CMakeFiles/Makefile2:1124 
'winpr/tools/makecert-cli/CMakeFiles/winpr-makecert.dir/all')
*** Error 1 in /home/amihailov/devel/freerdp-2.0.0-rc1 (Makefile:152 'all')


I tried change gcc to clang, but I still get these error .

------------------------------------------------------------------------------
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