Hi, There is no clarity on cross-compiling freeRDP for arm platform. I compile this in ubuntu 16.04 for desktop within arm-linux-gnueabihf-gcc. and compile zlib, openssl with arm-linux-gnueabihf-gcc too; but could not succeed with configuration even.
#cmake . -DZLIB_INCLUDE_DIR=/.....zlib//include -DZLIB_LIBRARY=/.....zlib/lib -DOPENSSL_ROOT_DIR=/...../openssl -DLIB_EAY=/.....openssl/lib/libcrypto.a -DSSL_EAY=....../openssl/lib/libssl.a -DCMAKE_INSTALL_PREFIX=./freerdp-arm -DWITH_CUPS=OFF -DWITH_ALSA=OFF -DWITH_FFMPEG=OFF -DWITH_GSTREAMER_1_0=OFF -DWITH_XINERAMA=OFF -DWITH_XV=OFF -DWITH_XRANDR=ON -DWITH_NEON=OFF -DCMAKE_BUILD_TYPE=Debug -DGlib_INCLUDE_DIR=/....../libc/usr/include -DGlibConfig_INCLUDE_DIR=/..../libc/usr/include -DGlib_LIBRARY=/..../arm-linux-gnueabihf/libc/lib -DGobject_LIBRARY=/...../arm-linux-gnueabihf/libc/lib -DBUILS_SHARED_LIBS=OFF getting below error msg while cofiguring. FREERDP_VERSION=2.0.0-rc4 -- Git Revision b9718af -- Performing Test Wno-unused-result -- Performing Test Wno-unused-result - Success -- Performing Test Wno-unused-but-set-variable -- Performing Test Wno-unused-but-set-variable - Success -- Performing Test Wno-deprecated-declarations -- Performing Test Wno-deprecated-declarations - Success -- Performing Test Wno-deprecated-declarationsCXX -- Performing Test Wno-deprecated-declarationsCXX - Success -- GCC default symbol visibility: hidden -- Performing Test Wimplicit-function-declaration -- Performing Test Wimplicit-function-declaration - Success -- Performing Test Wredundant-decls -- Performing Test Wredundant-decls - Success -- Performing Test fno-omit-frame-pointer -- Performing Test fno-omit-frame-pointer - Success -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file execinfo.h -- Looking for include file execinfo.h - not found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file sys/modem.h -- Looking for include file sys/modem.h - not found -- Looking for include file sys/filio.h -- Looking for include file sys/filio.h - not found -- Looking for include file sys/sockio.h -- Looking for include file sys/sockio.h - not found -- Looking for include file sys/strtio.h -- Looking for include file sys/strtio.h - not found -- Looking for include file sys/select.h -- Looking for include file sys/select.h - found -- Looking for include file syslog.h -- Looking for include file syslog.h - found -- Performing Test HAVE_TM_GMTOFF -- Performing Test HAVE_TM_GMTOFF - Success -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE -- Looking for pthread_mutex_timedlock -- Looking for pthread_mutex_timedlock - found -- Looking for pthread_mutex_timedlock in pthreads -- Looking for pthread_mutex_timedlock in pthreads - not found -- Skipping disabled feature X11 for X11 (X11 client and server) -- Skipping disabled feature Wayland for Wayland (Wayland client) -- Skipping optional feature DirectFB for DirectFB (DirectFB client) -- Enable feature DirectFB using "-DWITH_DIRECTFB=ON" -- Finding required feature ZLIB for compression (data compression) -- Found ZLIB: /home/kaushal/FreeRDP/zlib/_install/lib (found version "1.2.11") -- Finding required feature OpenSSL for cryptography (encryption, certificate validation, hashing functions) CMake Error at cmake/FindOpenSSL.cmake:298 (list): list GET given empty list Call Stack (most recent call first): cmake/FindFeature.cmake:16 (find_package) CMakeLists.txt:859 (find_feature) CMake Error at cmake/FindOpenSSL.cmake:299 (list): list GET given empty list Call Stack (most recent call first): cmake/FindFeature.cmake:16 (find_package) CMakeLists.txt:859 (find_feature) CMake Error at cmake/FindOpenSSL.cmake:301 (list): list GET given empty list Call Stack (most recent call first): cmake/FindFeature.cmake:16 (find_package) CMakeLists.txt:859 (find_feature) CMake Error at cmake/FindOpenSSL.cmake:303 (list): list GET given empty list Call Stack (most recent call first): cmake/FindFeature.cmake:16 (find_package) CMakeLists.txt:859 (find_feature) -- Found OpenSSL: /home/kaushal/FreeRDP/openssl/libssl.so;/home/kaushal/FreeRDP/openssl/libcrypto.so (found version ".0.0`") -- Skipping optional feature MbedTLS for cryptography (encryption, certificate validation, hashing functions) -- Enable feature MbedTLS using "-DWITH_MBEDTLS=ON" -- Skipping optional feature OpenSLES for multimedia (OpenSLES audio / video) -- Enable feature OpenSLES using "-DWITH_OPENSLES=ON" -- Finding recommended feature OSS for sound (audio input, audio output and multimedia redirection) -- Disable feature OSS using "-DWITH_OSS=OFF" -- Found OSS Audio -- Skipping recommended feature ALSA for sound (audio input, audio output and multimedia redirection) -- Skipping optional feature Pulse for sound (audio input, audio output and multimedia redirection) -- Enable feature Pulse using "-DWITH_PULSE=ON" -- Skipping optional feature Cups for printing (printer device redirection) -- Enable feature Cups using "-DWITH_CUPS=ON" -- Skipping optional feature PCSC for smart card (smart card device redirection) -- Enable feature PCSC using "-DWITH_PCSC=ON" -- Skipping recommended feature FFmpeg for multimedia (multimedia redirection, audio and video playback) -- Skipping optional feature GStreamer_0_10 for multimedia (multimedia redirection, audio and video playback, gstreamer 0.10 version) -- Enable feature GStreamer_0_10 using "-DWITH_GSTREAMER_0_10=ON" -- Skipping recommended feature GStreamer_1_0 for multimedia (multimedia redirection, audio and video playback) -- Skipping optional feature JPEG for codec (use JPEG library) -- Enable feature JPEG using "-DWITH_JPEG=ON" -- Skipping optional feature x264 for codec (use x264 library) -- Enable feature x264 using "-DWITH_X264=ON" -- Skipping optional feature OpenH264 for codec (use OpenH264 library) -- Enable feature OpenH264 using "-DWITH_OPENH264=ON" -- Skipping optional feature GSM for codec (GSM audio codec library) -- Enable feature GSM using "-DWITH_GSM=ON" -- Skipping optional feature LAME for codec (lame MP3 audio codec library) -- Enable feature LAME using "-DWITH_LAME=ON" -- Skipping optional feature FAAD2 for codec (FAAD2 AAC audio codec library) -- Enable feature FAAD2 using "-DWITH_FAAD2=ON" -- Skipping optional feature FAAC for codec (FAAC AAC audio codec library) -- Enable feature FAAC using "-DWITH_FAAC=ON" -- Skipping optional feature soxr for codec (SOX audio resample library) -- Enable feature soxr using "-DWITH_SOXR=ON" -- Skipping optional feature GSSAPI for auth (add kerberos support) -- Enable feature GSSAPI using "-DWITH_GSSAPI=ON" -- Using OpenSSL Version: .0.0` -- Looking for include file stdbool.h -- Looking for include file stdbool.h - found -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for timer_create -- Looking for timer_create - found -- Looking for timer_delete -- Looking for timer_delete - found -- Looking for timer_settime -- Looking for timer_settime - found -- Looking for timer_gettime -- Looking for timer_gettime - found CMake Warning (dev) at winpr/libwinpr/CMakeLists.txt:127 (add_library): ADD_LIBRARY called with SHARED option but the target platform does not support dynamic linking. Building a STATIC library instead. This may lead to problems. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at winpr/tools/CMakeLists.txt:105 (add_library): ADD_LIBRARY called with SHARED option but the target platform does not support dynamic linking. Building a STATIC library instead. This may lead to problems. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at libfreerdp/CMakeLists.txt:347 (add_library): ADD_LIBRARY called with SHARED option but the target platform does not support dynamic linking. Building a STATIC library instead. This may lead to problems. This warning is for project developers. Use -Wno-dev to suppress it. -- Adding device channel client "drive": Drive Redirection Virtual Channel Extension -- Adding dynamic channel client "tsmf": Video Redirection Virtual Channel Extension -- Adding dynamic channel client "rdpei": Input Virtual Channel Extension -- Adding static channel client server "cliprdr": Clipboard Virtual Channel Extension -- Adding static channel client server "encomsp": Multiparty Virtual Channel Extension -- Adding dynamic channel client "rdpgfx": Graphics Pipeline Extension -- Adding static channel client server "rdpdr": Device Redirection Virtual Channel Extension -- Adding device channel client "smartcard": Smart Card Virtual Channel Extension -- Adding static channel client "rail": Remote Programs Virtual Channel Extension -- Adding dynamic channel client "video": Video optimized remoting Virtual Channel Extension -- Adding dynamic channel client server "audin": Audio Input Redirection Virtual Channel Extension -- Adding static channel client server "rdpsnd": Audio Output Virtual Channel Extension -- Adding dynamic channel client "geometry": Geometry tracking Virtual Channel Extension -- Adding dynamic channel client server "echo": Echo Virtual Channel Extension -- Adding dynamic channel client "disp": Display Update Virtual Channel Extension -- Adding device channel client "serial": Serial Port Virtual Channel Extension -- Adding static channel client server "remdesk": Remote Assistance Virtual Channel Extension -- Adding device channel client "parallel": Parallel Port Virtual Channel Extension -- Adding static channel client server "drdynvc": Dynamic Virtual Channel Extension CMake Warning (dev) at client/common/CMakeLists.txt:58 (add_library): ADD_LIBRARY called with SHARED option but the target platform does not support dynamic linking. Building a STATIC library instead. This may lead to problems. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! See also "/home/kaushal/kau/freeRDP/FreeRDP-2.0.0-rc4/CMakeFiles/CMakeOutput.log". See also "/home/kaushal/kau/freeRDP/FreeRDP-2.0.0-rc4/CMakeFiles/CMakeError.log". plz help me ! -- *BR,* *Kaushal Kr Gupta* _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel