pistacheio / pistache

A high-performance REST toolkit written in C++
https://pistacheio.github.io/pistache/
Apache License 2.0
3.21k stars 701 forks source link

Issue when building pistache with yocto project #188

Closed sonuabraham closed 4 years ago

sonuabraham commented 6 years ago

Hi, I am trying to add pistache framework to my Angstrom image using bitbake . When compiling pistache I am getting the following errors

My questions are 1**) Is there a bitbake recipie for pistache 2) I am getting errors like error: undefined reference to 'std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr const&)'

during linking operation. Is there some specific libraries /configuration options when building for embedded linux based targets.**

bitbake -C compile libpistache NOTE: Started PRServer with DBfile: /home/sonu/angstrom/bsp-rfi-test/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 38796, PID: 5070 Loading cache: 100% |#########################################################################################################################################################################| Time: 0:00:01 Loaded 3389 entries from dependency cache. Parsing recipes: 100% |#######################################################################################################################################################################| Time: 0:00:01 Parsing of 2607 .bb files complete (2587 cached, 20 parsed). 3409 targets, 303 skipped, 0 masked, 0 errors. WARNING: No recipes available for: /home/sonu/angstrom/bsp-rfi-test/layers/meta-angstrom/recipes-tweaks/ecj/ecj-initial-native.bbappend WARNING: No bb files matched BBFILE_PATTERN_aarch64 '^/home/sonu/angstrom/bsp-rfi-test/layers/meta-linaro/meta-aarch64/' NOTE: Resolving any missing task queue dependencies

Build Configuration: BB_VERSION = "1.32.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-14.04" TARGET_SYS = "arm-angstrom-linux-gnueabi" MACHINE = "imx28scm" DISTRO = "angstrom" DISTRO_VERSION = "v2016.12" TUNE_FEATURES = "arm armv5 thumb dsp" TARGET_FPU = "soft" meta-angstrom = "work:9625910bb4bb48b3f4d87a1e9ff3576d40bd656a" meta-oe
meta-efl
meta-gpe
meta-gnome
meta-xfce
meta-initramfs
meta-multimedia
meta-networking
meta-webserver
meta-ruby
meta-filesystems
meta-perl
meta-python = "work:b40116cf457b88a2db14b86fda9627fb34d56ae6" meta-qt4 = "work:2c7f8df9039be498f8a2232d1428adb7f4e5e800" meta-qt5 = "work:81fb771c3f31110e50eebcb004809361fdb28194" meta-systemd = "work:b40116cf457b88a2db14b86fda9627fb34d56ae6" meta-freescale = "work:03f977d583e4c6bc116531494079d256419a31f9" meta-freescale-3rdparty = "work:742fbd6da4a87c4412dbecee42f859e99c9cb614" meta-rfi-dspbr-mini-scm = "work:948e5e6090f7b193abdcd70a330a56bbfa71929a" meta-rfi = "work:f5c77ecb1b6d24832ae4a76c5b311c45692e3965" meta-linaro
meta-linaro-toolchain meta-aarch64
meta-optee = "work:5d2cb685217794293ea2bab18d7e62019c329d06" meta = "work:c79b479ab4b129007c6679bb0bdd8e2ec7ecb6ad"

NOTE: Tainting hash to force rebuild of task /home/sonu/angstrom/bsp-rfi-test/layers/meta-rfi-dspbr-mini-scm/recipes-devtools/test-apps/libpistache_0.1.bb, do_compile ETA: 0:00:00 WARNING: /home/sonu/angstrom/bsp-rfi-test/layers/meta-rfi-dspbr-mini-scm/recipes-devtools/test-apps/libpistache_0.1.bb.do_compile is tainted from a forced run ETA: 0:00:00 Initialising tasks: 100% #################################################################################################################################################################### Time: 0:00:00 NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: libpistache-0.1-r0 do_compile: oe_runmake failed ERROR: libpistache-0.1-r0 do_compile: Function failed: do_compile (log file is located at /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/temp/log.do_compile.5204) ERROR: Logfile of failure stored in: /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/temp/log.do_compile.5204 Log data follows: DEBUG: Executing shell function do_compile NOTE: make -j 8 /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/cmake -H/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master -B/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build --check-build-system CMakeFiles/Makefile.cmake 0 CMake Warning at examples/CMakeLists.txt:14 (find_package): By not providing "FindRapidJSON.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "RapidJSON", but CMake did not find one.
Could not find a package configuration file provided by "RapidJSON" with
any of the following names:
RapidJSONConfig.cmake
rapidjson-config.cmake
Add the installation prefix of "RapidJSON" to CMAKE_PREFIX_PATH or set
"RapidJSON_DIR" to a directory containing one of the above files. If
"RapidJSON" provides a separate development package or SDK, be sure it has
been installed.
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build
/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_start /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/CMakeFiles /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make -f src/CMakeFiles/pistache.dir/build.make src/CMakeFiles/pistache.dir/depend
make -f googletest-release-1.7.0/CMakeFiles/gtest.dir/build.make googletest-release-1.7.0/CMakeFiles/gtest.dir/depend
make[2]: Entering directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
cd /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build && /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master/googletest-release-1.7.0 /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/googletest-release-1.7.0 /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/googletest-release-1.7.0/CMakeFiles/gtest.dir/DependInfo.cmake --color=
make[2]: Entering directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
cd /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build && /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master/src /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/src /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/src/CMakeFiles/pistache.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make -f googletest-release-1.7.0/CMakeFiles/gtest.dir/build.make googletest-release-1.7.0/CMakeFiles/gtest.dir/build
make[2]: Entering directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make[2]: Leaving directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make -f src/CMakeFiles/pistache.dir/build.make src/CMakeFiles/pistache.dir/build
[ 2%] Building CXX object googletest-release-1.7.0/CMakeFiles/gtest.dir/src/gtest-all.cc.o
cd /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/googletest-release-1.7.0 && /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-g++ -I/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master/include -I/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master/src -I/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master/googletest-release-1.7.0/include -I/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master/googletest-release-1.7.0 -march=armv5te -mthumb --sysroot=/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/imx28scm --std=c++03 -pthread -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_1 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_2 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_4 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_8 -march=armv7-a -marm -mfpu=neon -mfloat-abi=soft -mcpu=cortex-a9 -march=armv7-a -marm -mfpu=neon -mfloat-abi=soft -mcpu=cortex-a9 -std=c++11 -march=armv5te -mthumb --sysroot=/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/imx28scm --std=c++03 -pthread -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_1 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_2 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_4 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_8 -march=armv7-a -marm -mfpu=neon -mfloat-abi=soft -mcpu=cortex-a9 -march=armv7-a -marm -mfpu=neon -mfloat-abi=soft -mcpu=cortex-a9 -std=c++11 -Wall -Wshadow -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -o CMakeFiles/gtest.dir/src/gtest-all.cc.o -c /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master/googletest-release-1.7.0/src/gtest-all.cc
make[2]: Entering directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make[2]: Nothing to be done for `src/CMakeFiles/pistache.dir/build'.
make[2]: Leaving directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
[ 45%] Built target pistache
make -f examples/CMakeFiles/run_http_client.dir/build.make examples/CMakeFiles/run_http_client.dir/depend
make -f examples/CMakeFiles/run_rest_server.dir/build.make examples/CMakeFiles/run_rest_server.dir/depend
make -f examples/CMakeFiles/run_http_server.dir/build.make examples/CMakeFiles/run_http_server.dir/depend
make -f examples/CMakeFiles/run_custom_header.dir/build.make examples/CMakeFiles/run_custom_header.dir/depend
make[2]: Entering directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
cd /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build && /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master/examples /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/examples /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/examples/CMakeFiles/run_http_client.dir/DependInfo.cmake --color=
make[2]: Entering directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
cd /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build && /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master/examples /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/examples /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/examples/CMakeFiles/run_rest_server.dir/DependInfo.cmake --color=
make[2]: Entering directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
cd /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build && /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master/examples /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/examples /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/examples/CMakeFiles/run_http_server.dir/DependInfo.cmake --color=
make[2]: Entering directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
cd /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build && /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/pistache-master/examples /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/examples /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/examples/CMakeFiles/run_custom_header.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make -f examples/CMakeFiles/run_http_client.dir/build.make examples/CMakeFiles/run_http_client.dir/build
make[2]: Leaving directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make -f examples/CMakeFiles/run_custom_header.dir/build.make examples/CMakeFiles/run_custom_header.dir/build
make[2]: Leaving directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make -f examples/CMakeFiles/run_rest_server.dir/build.make examples/CMakeFiles/run_rest_server.dir/build
make[2]: Leaving directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make -f examples/CMakeFiles/run_http_server.dir/build.make examples/CMakeFiles/run_http_server.dir/build
make[2]: Entering directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make[2]: Entering directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make[2]: Nothing to be done for `examples/CMakeFiles/run_custom_header.dir/build'.
make[2]: Leaving directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make[2]: Entering directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make[2]: Entering directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
[ 47%] Linking CXX executable run_http_client
cd /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/examples && /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/cmake -E cmake_link_script CMakeFiles/run_http_client.dir/link.txt --verbose=1
[ 52%] Built target run_custom_header
[ 54%] Linking CXX executable run_rest_server
cd /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/examples && /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/cmake -E cmake_link_script CMakeFiles/run_rest_server.dir/link.txt --verbose=1
[ 56%] Linking CXX executable run_http_server
cd /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/examples && /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/cmake -E cmake_link_script CMakeFiles/run_http_server.dir/link.txt --verbose=1
/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-g++ -march=armv5te -mthumb --sysroot=/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/imx28scm --std=c++03 -pthread -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_1 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_2 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_4 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_8 -march=armv7-a -marm -mfpu=neon -mfloat-abi=soft -mcpu=cortex-a9 -march=armv7-a -marm -mfpu=neon -mfloat-abi=soft -mcpu=cortex-a9 -std=c++11 -march=armv5te -mthumb --sysroot=/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/imx28scm --std=c++03 -pthread -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_1 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_2 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_4 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_8 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/run_http_client.dir/http_client.cc.o -o run_http_client -rdynamic ../src/libpistache.a -lpthread
/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-g++ -march=armv5te -mthumb --sysroot=/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/imx28scm --std=c++03 -pthread -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_1 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_2 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_4 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_8 -march=armv7-a -marm -mfpu=neon -mfloat-abi=soft -mcpu=cortex-a9 -march=armv7-a -marm -mfpu=neon -mfloat-abi=soft -mcpu=cortex-a9 -std=c++11 -march=armv5te -mthumb --sysroot=/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/imx28scm --std=c++03 -pthread -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_1 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_2 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_4 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_8 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/run_rest_server.dir/rest_server.cc.o -o run_rest_server -rdynamic ../src/libpistache.a -lpthread
/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-g++ -march=armv5te -mthumb --sysroot=/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/imx28scm --std=c++03 -pthread -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_1 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_2 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_4 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_8 -march=armv7-a -marm -mfpu=neon -mfloat-abi=soft -mcpu=cortex-a9 -march=armv7-a -marm -mfpu=neon -mfloat-abi=soft -mcpu=cortex-a9 -std=c++11 -march=armv5te -mthumb --sysroot=/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/imx28scm --std=c++03 -pthread -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_1 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_2 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_4 -DGCC_HAVE_SYNC_COMPARE_AND_SWAP_8 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/run_http_server.dir/http_server.cc.o -o run_http_server -rdynamic ../src/libpistache.a -lpthread
CMakeFiles/run_http_server.dir/http_server.cc.o:http_server.cc:function Pistache::Async::Private::Core::Core(Pistache::Async::State, Pistache::TypeId): error: undefined reference to 'std::__exception_ptr::exception_ptr::exception_ptr()'
CMakeFiles/run_http_server.dir/http_server.cc.o:http_server.cc:function Pistache::Async::Private::Core::~Core(): error: undefined reference to 'std::__exception_ptr::exception_ptr::~exception_ptr()'
CMakeFiles/run_http_server.dir/http_server.cc.o:http_server.cc:function PrintException::operator()(std::exception_ptr::exception_ptr) const: error: undefined reference to 'std::exception_ptr::exception_ptr::exception_ptr(std::__exception_ptr::exception_ptr const&)'
CMakeFiles/run_http_server.dir/http_server.cc.o:http_server.cc:function PrintException::operator()(std::__exception_ptr::exception_ptr) const: error: undefined reference to 'std::rethrow_exception(std::__exception_ptr::exception_ptr)'
CMakeFiles/run_http_server.dir/http_server.cc.o:http_server.cc:function PrintException::operator()(std::exception_ptr::exception_ptr) const: error: undefined reference to 'std::exception_ptr::exception_ptr::~exception_ptr()'
CMakeFiles/run_http_server.dir/http_server.cc.o:http_server.cc:function void Pistache::Http::Timeout::arm<std::chrono::duration<long long, std::ratio<1ll, 1ll> > >(std::chrono::duration<long long, std::ratio<1ll, 1ll> >)::{lambda(std::exception_ptr::exception_ptr)#3}::operator()(std::exception_ptr::exception_ptr) const: error: undefined reference to 'std::__exception_ptr::exception_ptr::exception_ptr(std::__exception_ptr::exception_ptr const&)'
CMakeFiles/run_http_server.dir/http_server.cc.o:http_server.cc:function void Pistache::Http::Timeout::arm<std::chrono::duration<long long, std::ratio<1ll, 1ll> > >(std::chrono::duration<long long, std::ratio<1ll, 1ll> >)::{lambda(std::exception_ptr::exception_ptr)#3}::operator()(std::exception_ptr::exception_ptr) const: error: undefined reference to 'std::rethrow_exception(std::__exception_ptr::exception_ptr)'
CMakeFiles/run_http_server.dir/http_server.cc.o:http_server.cc:function void Pistache::Http::Timeout::arm<std::chrono::duration<long long, std::ratio<1ll, 1ll> > >(std::chrono::duration<long long, std::ratio<1ll, 1ll> >)::{lambda(std::exception_ptr::exception_ptr)#3}::operator()(std::exception_ptr::exception_ptr) const: error: undefined reference to 'std::__exception_ptr::exception_ptr::~exception_ptr()'
CMakeFiles/run_http_server.dir/http_server.cc.o:http_server.cc:function Pistache::Async::Private::Continuable::reject(std::shared_ptr const&): error: undefined reference to 'std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr const&)'
CMakeFiles/run_http_server.dir/http_server.cc.o:http_server.cc:function Pistache::Async::Private::impl::Continuation<unsigned long long, void Pistache::Http::Timeout::arm<std::chrono::duration<long long, std::ratio<1ll, 1ll> > >(std::chrono::duration<long long, std::ratio<1ll, 1ll> >)::{lambda(unsigned long long)#2}, void Pistache::Http::Timeout::arm<std::chrono::duration<long long, std::ratio<1ll, 1ll> > >(std::chrono::duration<long long, std::ratio<1ll, 1ll> >)::{lambda(std::exception_ptr::exception_ptr)#3}, void (unsigned long long)>::doReject(std::shared_ptr<Pistache::Async::Private::CoreT > const&): error: undefined reference to 'std::__exception_ptr::exception_ptr::exception_ptr(std::exception_ptr::exception_ptr const&)'
CMakeFiles/run_http_server.dir/http_server.cc.o:http_server.cc:function Pistache::Async::Private::impl::Continuation<unsigned long long, void Pistache::Http::Timeout::arm<std::chrono::duration<long long, std::ratio<1ll, 1ll> > >(std::chrono::duration<long long, std::ratio<1ll, 1ll> >)::{lambda(unsigned long long)#2}, void Pistache::Http::Timeout::arm<std::chrono::duration<long long, std::ratio<1ll, 1ll> > >(std::chrono::duration<long long, std::ratio<1ll, 1ll> >)::{lambda(std::__exception_ptr::exception_ptr)#3}, void (unsigned long long)>::doReject(std::shared_ptr<Pistache::Async::Private::CoreT > const&): error: undefined reference to 'std::__exception_ptr::exception_ptr::~exception_ptr()'
CMakeFiles/run_http_server.dir/http_server.cc.o:http_server.cc:function Pistache::Async::Private::Continuable::reject(std::shared_ptr const&): error: undefined reference to 'std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr const&)'
CMakeFiles/run_http_server.dir/http_server.cc.o:http_server.cc:function Pistache::Async::Private::impl::Continuation<int, MyHandler::onTimeout(Pistache::Http::Request const&, Pistache::Http::ResponseWriter)::{lambda(int)#1}, PrintException, void (int)>::doReject(std::shared_ptr<Pistache::Async::Private::CoreT > const&): error: undefined reference to 'std::__exception_ptr::exception_ptr::exception_ptr(std::__exception_ptr::exception_ptr const&)'
../src/libpistache.a(http.cc.o):http.cc:function std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr&&): error: undefined reference to 'std::exception_ptr::exception_ptr::swap(std::exception_ptr::exception_ptr&)'
../src/libpistache.a(http.cc.o):http.cc:function std::__exception_ptr::exception_ptr std::make_exception_ptr(Pistache::Error): error: undefined reference to 'std::current_exception()'
../src/libpistache.a(http.cc.o):http.cc:function std::__exception_ptr::exception_ptr std::make_exception_ptr(std::runtime_error): error: undefined reference to 'std::current_exception()'
../src/libpistache.a(listener.cc.o):listener.cc:function std::exception_ptr::exception_ptr std::make_exception_ptr<std::exception_ptr::exception_ptr>(std::__exception_ptr::exception_ptr): error: undefined reference to 'std::current_exception()'
../src/libpistache.a(listener.cc.o):listener.cc:function Pistache::Async::Private::Continuable::reject(std::shared_ptr const&): error: undefined reference to 'std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr const&)'
../src/libpistache.a(listener.cc.o):listener.cc:function Pistache::Async::Private::Continuable<std::vector<rusage, std::allocator > >::reject(std::shared_ptr const&): error: undefined reference to 'std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/run_http_server] Error 1
make[2]: Leaving directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make[1]: *** [examples/CMakeFiles/run_http_server.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
../src/libpistache.a(http.cc.o):http.cc:function Pistache::Async::Private::impl::Continuation<int, Pistache::Http::serveFile(Pistache::Http::ResponseWriter&, char const*, Pistache::Http::Mime::MediaType const&)::{lambda(int)#2}, Pistache::Async::Private::Throw, Pistache::Async::Promise (int)>::doReject(std::shared_ptr<Pistache::Async::Private::CoreT > const&): error: undefined reference to 'std::__exception_ptr::exception_ptr::exception_ptr(std::__exception_ptr::exception_ptr const&)'
../src/libpistache.a(http.cc.o):http.cc:function Pistache::Async::Private::impl::Continuation<int, Pistache::Http::serveFile(Pistache::Http::ResponseWriter&, char const*, Pistache::Http::Mime::MediaType const&)::{lambda(int)#2}, Pistache::Async::Private::Throw, Pistache::Async::Promise (int)>::doReject(std::shared_ptr<Pistache::Async::Private::CoreT > const&): error: undefined reference to 'std::__exception_ptr::exception_ptr::~exception_ptr()'
../src/libpistache.a(http.cc.o):http.cc:function Pistache::Async::Private::impl::Continuation<int, Pistache::Http::serveFile(Pistache::Http::ResponseWriter&, char const*, Pistache::Http::Mime::MediaType const&)::{lambda(int)#2}, Pistache::Async::Private::Throw, Pistache::Async::Promise (int)>::doReject(std::shared_ptr<Pistache::Async::Private::CoreT > const&): error: undefined reference to 'std::__exception_ptr::exception_ptr::~exception_ptr()'
../src/libpistache.a(http.cc.o):http.cc:function Pistache::Async::Private::impl::Continuation<int, Pistache::Async::Private::impl::Continuation<int, Pistache::Http::serveFile(Pistache::Http::ResponseWriter&, char const*, Pistache::Http::Mime::MediaType const&)::{lambda(int)#2}, Pistache::Async::Private::Throw, Pistache::Async::Promise (int)>::Chainer, void Pistache::Async::Promise (int)::finishResolve(Pistache::Async::Promise&)::{lambda(std::exception_ptr::exception_ptr)#1}, void (int const&)>::doReject(std::shared_ptr<Pistache::Async::Private::CoreT > const&): error: undefined reference to 'std::__exception_ptr::exception_ptr::exception_ptr(std::exception_ptr::exception_ptr const&)'
../src/libpistache.a(http.cc.o):http.cc:function Pistache::Async::Private::impl::Continuation<int, Pistache::Async::Private::impl::Continuation<int, Pistache::Http::serveFile(Pistache::Http::ResponseWriter&, char const*, Pistache::Http::Mime::MediaType const&)::{lambda(int)#2}, Pistache::Async::Private::Throw, Pistache::Async::Promise (int)>::Chainer, void Pistache::Async::Promise (int)::finishResolve(Pistache::Async::Promise&)::{lambda(std::__exception_ptr::exception_ptr)#1}, void (int const&)>::doReject(std::shared_ptr<Pistache::Async::Private::CoreT > const&): error: undefined reference to 'std::__exception_ptr::exception_ptr::~exception_ptr()'
../src/libpistache.a(http.cc.o):http.cc:function Pistache::Async::Private::impl::Continuation<int, Pistache::Async::Private::impl::Continuation<int, Pistache::Http::serveFile(Pistache::Http::ResponseWriter&, char const*, Pistache::Http::Mime::MediaType const&)::{lambda(int)#2}, Pistache::Async::Private::Throw, Pistache::Async::Promise (int)>::Chainer, void Pistache::Async::Promise (int)::finishResolve(Pistache::Async::Promise&)::{lambda(std::__exception_ptr::exception_ptr)#1}, void (int const&)>::doReject(std::shared_ptr<Pistache::Async::Private::CoreT > const&): error: undefined reference to 'std::__exception_ptr::exception_ptr::~exception_ptr()'
../src/libpistache.a(http.cc.o):http.cc:function std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr&&): error: undefined reference to 'std::exception_ptr::exception_ptr::swap(std::exception_ptr::exception_ptr&)'
../src/libpistache.a(http.cc.o):http.cc:function Pistache::Async::Private::Core::Core(Pistache::Async::State, Pistache::TypeId): error: undefined reference to 'std::__exception_ptr::exception_ptr::exception_ptr()'
../src/libpistache.a(http.cc.o):http.cc:function std::__exception_ptr::exception_ptr std::make_exception_ptr(Pistache::Error): error: undefined reference to 'std::current_exception()'
../src/libpistache.a(http.cc.o):http.cc:function std::__exception_ptr::exception_ptr std::make_exception_ptr(std::runtime_error): error: undefined reference to 'std::current_exception()'
../src/libpistache.a(http.cc.o):http.cc:function Pistache::Async::Private::Continuable::reject(std::shared_ptr const&): error: undefined reference to 'std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr const&)'
../src/libpistache.a(listener.cc.o):listener.cc:function Pistache::Async::Private::impl::Continuation<std::vector<rusage, std::allocator >, Pistache::Tcp::Listener::requestLoad(Pistache::Tcp::Listener::Load const&)::{lambda(std::vector<rusage, std::allocator > const&)#1}, Pistache::Async::Private::Throw, Pistache::Tcp::Listener::Load (std::vector<rusage, std::allocator > const&)>::doReject(std::shared_ptr<Pistache::Async::Private::CoreT<std::vector<rusage, std::allocator > > > const&): error: undefined reference to 'std::__exception_ptr::exception_ptr::exception_ptr(std::__exception_ptr::exception_ptr const&)'
../src/libpistache.a(listener.cc.o):listener.cc:function bool Pistache::Async::Rejection::operator()(std::exception_ptr::exception_ptr) const: error: undefined reference to 'std::exception_ptr::exception_ptr::exception_ptr(std::__exception_ptr::exception_ptr const&)'
../src/libpistache.a(listener.cc.o):listener.cc:function std::exception_ptr::exception_ptr std::make_exception_ptr<std::exception_ptr::exception_ptr>(std::__exception_ptr::exception_ptr): error: undefined reference to 'std::current_exception()'
../src/libpistache.a(listener.cc.o):listener.cc:function Pistache::Async::Private::Continuable::reject(std::shared_ptr const&): error: undefined reference to 'std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr const&)'
../src/libpistache.a(listener.cc.o):listener.cc:function Pistache::Async::Private::Continuable<std::vector<rusage, std::allocator > >::reject(std::shared_ptr const&): error: undefined reference to 'std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/run_rest_server] Error 1
make[2]: Leaving directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make[1]: *** [examples/CMakeFiles/run_rest_server.dir/all] Error 2
CMakeFiles/run_http_client.dir/http_client.cc.o:http_client.cc:function Pistache::Async::Private::impl::Continuation<Pistache::Http::Response, main::{lambda(Pistache::Http::Response)#1}, Pistache::Async::Private::IgnoreException, void (Pistache::Http::Response)>::doReject(std::shared_ptr<Pistache::Async::Private::CoreT > const&): error: undefined reference to 'std::__exception_ptr::exception_ptr::exception_ptr(std::__exception_ptr::exception_ptr const&)'
CMakeFiles/run_http_client.dir/http_client.cc.o:http_client.cc:function Pistache::Async::Private::impl::Continuation<Pistache::Http::Response, main::{lambda(Pistache::Http::Response)#1}, Pistache::Async::Private::IgnoreException, void (Pistache::Http::Response)>::doReject(std::shared_ptr<Pistache::Async::Private::CoreT > const&): error: undefined reference to 'std::__exception_ptr::exception_ptr::~exception_ptr()'
CMakeFiles/run_http_client.dir/http_client.cc.o:http_client.cc:function std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr&&): error: undefined reference to 'std::exception_ptr::exception_ptr::swap(std::exception_ptr::exception_ptr&)'
CMakeFiles/run_http_client.dir/http_client.cc.o:http_client.cc:function std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr&&): error: undefined reference to 'std::__exception_ptr::exception_ptr::~exception_ptr()'
CMakeFiles/run_http_client.dir/http_client.cc.o:http_client.cc:function Pistache::Async::Private::Core::Core(Pistache::Async::State, Pistache::TypeId): error: undefined reference to 'std::__exception_ptr::exception_ptr::exception_ptr()'
CMakeFiles/run_http_client.dir/http_client.cc.o:http_client.cc:function Pistache::Async::Private::Core::~Core(): error: undefined reference to 'std::__exception_ptr::exception_ptr::~exception_ptr()'
CMakeFiles/run_http_client.dir/http_client.cc.o:http_client.cc:function void Pistache::Async::Impl::WhenAllRange<Pistache::Http::Response, std::vector<Pistache::Http::Response, std::allocator > >::operator()<gnu_cxx::__normal_iterator<Pistache::Async::Promise*, std::vector<Pistache::Async::Promise, std::allocator<Pistache::Async::Promise > > > >(gnu_cxx::normal_iterator<Pistache::Async::Promise*, std::vector<Pistache::Async::Promise, std::allocator<Pistache::Async::Promise > > >, __gnu_cxx::normal_iterator<Pistache::Async::Promise*, std::vector<Pistache::Async::Promise, std::allocator<Pistache::Async::Promise > > >)::{lambda(std::exception_ptr::exception_ptr)#1}::operator()(std::exception_ptr::exception_ptr) const: error: undefined reference to 'std::__exception_ptr::exception_ptr::~exception_ptr()'
CMakeFiles/run_http_client.dir/http_client.cc.o:http_client.cc:function bool Pistache::Async::Rejection::operator()(std::exception_ptr::exception_ptr) const: error: undefined reference to 'std::exception_ptr::exception_ptr::exception_ptr(std::__exception_ptr::exception_ptr const&)'
CMakeFiles/run_http_client.dir/http_client.cc.o:http_client.cc:function std::exception_ptr::exception_ptr std::make_exception_ptr<std::exception_ptr::exception_ptr>(std::exception_ptr::exception_ptr): error: undefined reference to 'std::exception_ptr::exception_ptr::exception_ptr(std::__exception_ptr::exception_ptr const&)'
CMakeFiles/run_http_client.dir/http_client.cc.o:http_client.cc:function std::exception_ptr::exception_ptr std::make_exception_ptr<std::exception_ptr::exception_ptr>(std::__exception_ptr::exception_ptr): error: undefined reference to 'std::current_exception()'
CMakeFiles/run_http_client.dir/http_client.cc.o:http_client.cc:function Pistache::Async::Private::Continuable::reject(std::shared_ptr const&): error: ERROR: oe_runmake failed
undefined reference to 'std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr const&)'
CMakeFiles/run_http_client.dir/http_client.cc.o:http_client.cc:function Pistache::Async::Private::impl::Continuation<Pistache::Http::Response, Pistache::Async::Impl::WhenAllRange<Pistache::Http::Response, std::vector<Pistache::Http::Response, std::allocator > >::WhenContinuation<Pistache::Http::Response, void>, void Pistache::Async::Impl::WhenAllRange<Pistache::Http::Response, std::vector<Pistache::Http::Response, std::allocator > >::operator()<gnu_cxx::__normal_iterator<Pistache::Async::Promise*, std::vector<Pistache::Async::Promise, std::allocator<Pistache::Async::Promise > > > >(gnu_cxx::normal_iterator<Pistache::Async::Promise*, std::vector<Pistache::Async::Promise, std::allocator<Pistache::Async::Promise > > >, __gnu_cxx::normal_iterator<Pistache::Async::Promise*, std::vector<Pistache::Async::Promise, std::allocator<Pistache::Async::Promise > > >)::{lambda(std::exception_ptr::exception_ptr)#1}, void (Pistache::Http::Response const&)>::doReject(std::shared_ptr<Pistache::Async::Private::CoreT > const&): error: undefined reference to 'std::__exception_ptr::exception_ptr::exception_ptr(std::exception_ptr::exception_ptr const&)'
CMakeFiles/run_http_client.dir/http_client.cc.o:http_client.cc:function Pistache::Async::Private::Continuable<std::vector<Pistache::Http::Response, std::allocator > >::reject(std::shared_ptr const&): error: undefined reference to 'std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr const&)'
../src/libpistache.a(http.cc.o):http.cc:function std::__exception_ptr::exception_ptr std::make_exception_ptr(Pistache::Error): error: undefined reference to 'std::current_exception()'
../src/libpistache.a(http.cc.o):http.cc:function std::__exception_ptr::exception_ptr std::make_exception_ptr(std::runtime_error): error: undefined reference to 'std::current_exception()'
../src/libpistache.a(http.cc.o):http.cc:function Pistache::Async::Private::Continuable::reject(std::shared_ptr const&): error: undefined reference to 'std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr const&)'
../src/libpistache.a(client.cc.o):client.cc:function Pistache::Http::ExceptionPrinter::operator()(std::__exception_ptr::exception_ptr): error: undefined reference to 'std::rethrow_exception(std::__exception_ptr::exception_ptr)'
../src/libpistache.a(client.cc.o):client.cc:function Pistache::Async::Private::Continuable::reject(std::shared_ptr const&): error: undefined reference to 'std::exception_ptr::exception_ptr::operator=(std::exception_ptr::exception_ptr const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/run_http_client] Error 1
make[2]: Leaving directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make[1]: *** [examples/CMakeFiles/run_http_client.dir/all] Error 2
[ 58%] Linking CXX static library libgtest.a
cd /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/googletest-release-1.7.0 && /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/cmake -P CMakeFiles/gtest.dir/cmake_clean_target.cmake
cd /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build/googletest-release-1.7.0 && /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/cmake -E cmake_link_script CMakeFiles/gtest.dir/link.txt --verbose=1
arm-angstrom-linux-gnueabi-ar qc libgtest.a CMakeFiles/gtest.dir/src/gtest-all.cc.o
/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/bin/arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-ranlib libgtest.a
make[2]: Leaving directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
[ 58%] Built target gtest
make[1]: Leaving directory `/home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/build'
make: *** [all] Error 2
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /home/sonu/angstrom/bsp-rfi-test/build/tmp-angstrom-glibc/work/armv5te-angstrom-linux-gnueabi/libpistache/0.1-r0/temp/log.do_compile.5204)

ERROR: Task (/home/sonu/angstrom/bsp-rfi-test/layers/meta-rfi-dspbr-mini-scm/recipes-devtools/test-apps/libpistache_0.1.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 415 tasks of which 414 didn't need to be rerun and 1 failed. NOTE: Writing buildhistory

Summary: 1 task failed: /home/sonu/angstrom/bsp-rfi-test/layers/meta-rfi-dspbr-mini-scm/recipes-devtools/test-apps/libpistache_0.1.bb:do_compile Summary: There were 3 WARNING messages shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Thanks in advance, Sonu Abraham

xoac commented 6 years ago

For what architecture u want to build it? I build it for armv7 with no problems. But I don't know nothing about bitbake and yocto and I did it using cmake. Mayby try build it first manualy using cross-compiler.

For embedeed device I use musl instead of glibc. There are ready clang cross-compilers here . I use this but because I didn't know about o ellcc project. So i suggest u test it first.

mohsenomidi commented 4 years ago

Since there are no response from author, and the architecture is unknown, we could close this issue, if the issue happened again Please do not hesitate to reopen it.