Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2022

helloworld-service example does not compile on flounder at all

XMLWordPrintable

      To test the helloworld service example on flounder , I created a flounder branch right before the switch to the CMake module (SHA1 below). It fails to configure.

      dl9pf@monster:~/binding_build_example> git clone --recursive -b flounder git@github.com:dl9pf/helloworld-service.git helloworld-service-dl9pf-flounder
      Cloning into 'helloworld-service-dl9pf-flounder'...
      remote: Enumerating objects: 14, done.
      remote: Counting objects: 100% (14/14), done.
      remote: Compressing objects: 100% (11/11), done.
      remote: Total 321 (delta 5), reused 8 (delta 3), pack-reused 307
      Receiving objects: 100% (321/321), 104.05 KiB | 447.00 KiB/s, done.
      Resolving deltas: 100% (139/139), done.
      Submodule 'app-templates' (https://gerrit.automotivelinux.org/gerrit/p/apps/app-templates.git) registered for path 'conf.d/app-templates'
      Cloning into '/home/dl9pf/binding_build_example/helloworld-service-dl9pf-flounder/conf.d/app-templates'...
      remote: Counting objects: 81, done        
      remote: Total 2325 (delta 0), reused 2325 (delta 0)        s   
      Receiving objects: 100% (2325/2325), 1.16 MiB | 1.31 MiB/s, done.
      Resolving deltas: 100% (1199/1199), done.
      Submodule path 'conf.d/app-templates': checked out '17456de19e50f63348d42c4ae26dda156ddec53d'
      dl9pf@monster:~/binding_build_example> cd helloworld-service-dl9pf-flounder/
      dl9pf@monster:~/binding_build_example/helloworld-service-dl9pf-flounder> ls
      CMakeLists.txt  LICENSE  README.md  conf.d  helloworld-afb  htdocs  nbproject
      dl9pf@monster:~/binding_build_example/helloworld-service-dl9pf-flounder> ./conf.d/autobuild/linux/autobuild package
      -- The C compiler identification is GNU 7.3.1
      -- The CXX compiler identification is GNU 7.3.1
      -- Check for working C compiler: /usr/bin/cc
      -- Check for working C compiler: /usr/bin/cc -- works
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Check for working CXX compiler: /usr/bin/c++
      -- Check for working CXX compiler: /usr/bin/c++ -- works
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Distribution used ID_LIKE="suse opensuse"-- Include: /home/dl9pf/AGLCLASS/binding_build_example/helloworld-service-dl9pf-flounder/conf.d/app-templates/cmake/cmake.d/01-build_options.cmake
      -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
      -- Checking for module 'json-c'
      --   Found json-c, version 0.13
      -- Checking for module 'libsystemd>=222'
      --   Found libsystemd, version 234
      -- Checking for module 'afb-daemon'
      --   No package 'afb-daemon' found
      CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:415 (message):
        A required package was not found
      Call Stack (most recent call first):
        /usr/share/cmake/Modules/FindPkgConfig.cmake:593 (_pkg_check_modules_internal)
        conf.d/app-templates/cmake/cmake.d/01-build_options.cmake:92 (PKG_CHECK_MODULES)
        conf.d/app-templates/cmake/common.cmake:77 (include)
        conf.d/cmake/config.cmake:184 (include)
        CMakeLists.txt:3 (include)
      -- Configuring incomplete, errors occurred!
      See also "/home/dl9pf/AGLCLASS/binding_build_example/helloworld-service-dl9pf-flounder/build/CMakeFiles/CMakeOutput.log".
      make: *** [conf.d/autobuild/linux/autobuild:67: /home/dl9pf/AGLCLASS/binding_build_example/helloworld-service-dl9pf-flounder/build/Makefile] Error 1
      
      dl9pf@monster:~/binding_build_example/helloworld-service-dl9pf-flounder> git log -1
      commit e8c717e95d729b3589752893c909ba673c9451e0 (HEAD -> flounder, origin/flounder)
      Author: Forlot Romain [IoT.bzh] <claneys@iot.bzh>
      Date:   Fri Oct 20 14:54:20 2017 +0200
      

       

      I followed all steps for

      export REVISION=FunkyFlounder'

       

      http://docs.automotivelinux.org/docs/devguides/en/dev/reference/host-configuration/docs/1_Prerequisites.html

       

      Marking as blocker b/c ppl fail following the official tutorial.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jobol-iot jose bollo
            jsmoeller Jan-Simon Moeller
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: