Hello!--I have managed to compile librabbitmq in my build environment for mips_24k, openWRT.Could anyone help direct me how to compile the examples /rabbitmq-c/examplesThanks!Xarion
You received this message because you are subscribed to the Google Groups "rabbitmq-c-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-c-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rabbitmq-c-users/7cb52323-07dc-4427-a245-be668bb96f9fo%40googlegroups.com.
-- The C compiler identification is GNU 8.4.0-- Check for working C compiler: /home/xarion/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-openwrt-linux-gcc-- Check for working C compiler: /home/xarion/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-openwrt-linux-gcc -- works-- Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Detecting C compile features-- Detecting C compile features - done-- CMAKE_BUILD_TYPE not specified. Creating Release build-- Found C inline keyword: inline-- Looking for getaddrinfo-- Looking for getaddrinfo - found-- Looking for socket-- Looking for socket - found-- Looking for poll-- Looking for poll - found-- Looking for clock_gettime in rt-- Looking for clock_gettime in rt - found-- Looking for posix_spawnp in rt-- Looking for posix_spawnp in rt - foundCMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES) (Required is at least version "0.9.8")Call Stack (most recent call first): /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.5/Modules/FindOpenSSL.cmake:370 (find_package_handle_standard_args) CMakeLists.txt:122 (find_package)
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_VERSION 1)set(CMAKE_C_COMPILER "/home/xarion/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-openwrt-linux-gcc")set(CMAKE_CXX_COMPILER "/home/xarion/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-openwrt-linux-g++")SET(CMAKE_FIND_ROOT_PATH "/home/xarion/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl")SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)SET(OPENSSL_ROOT_DIR "/home/xarion/openwrt/build_dir/target-mips_24kc_musl/openssl-1.1.1g/")SET(OPENSSL_INCLUDE_DIR "/home/xarion/openwrt/build_dir/target-mips_24kc_musl/openssl-1.1.1g/include/openssl")SET(OPENSSL_LIBRARIES "/home/xarion/openwrt/build_dir/target-mips_24kc_musl/openssl-1.1.1g/libssl.a;/home/xarion/openwrt/build_dir/target-mips_24kc_musl/openssl-1.1.1g/libcrypto.a")SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
Specifying -DBUILD_EXAMPLES=ON when running cmake on the rabbitmq-c sources will cause the examples to be built.-Alan
On Sun, Jul 19, 2020 at 11:32 AM Xarion Comoretto <xar...@gmail.com> wrote:
Hello!--I have managed to compile librabbitmq in my build environment for mips_24k, openWRT.Could anyone help direct me how to compile the examples /rabbitmq-c/examplesThanks!Xarion
You received this message because you are subscribed to the Google Groups "rabbitmq-c-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq...@googlegroups.com.