genivi-ipc@lists.genivi.org

Development list for inter process communication (IPC) related topics

View all threads

Vsomeip make giving issue

SV
siddhartha v
Tue, Mar 10, 2020 4:36 PM

Hello,

I am trying to build the vsomeip on banana pi M1 with Lubuntu.

Cmake is going good no issue but when give make I am getting the error.

Below is the log for both cmake and make instructions any suggestions will
help me a lot.

bananapi@lemaker:~/Environment_setup/vsomeip-master/build$ cmake ..
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- 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
-- 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
-- Setting build type to 'RelWithDebInfo' as none was specified.
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.66.0
-- Found the following Boost libraries:
--  system
--  thread
--  log
-- Boost_LIBRARY_DIR not empty using it: /usr/local/lib
-- Using boost version: 106600
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for module 'automotive-dlt >= 2.11'
--  package 'automotive-dlt >= 2.11' not found
-- checking for module 'libsystemd'
--  package 'libsystemd' not found
-- Systemd was not found, watchdog disabled!
-- Default configuration folder: /etc/vsomeip
-- Default configuration file: /etc/vsomeip.json
Predefined base path: /tmp
Predefined unicast address: 127.0.0.1
Predefined diagnosis address: 0x01
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6")
dot found
asciidoc found
source-highlight found
-- GTEST_ROOT is not defined. For building the tests the variable
GTEST_ROOT has to be defined. Tests can not be built.
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/bananapi/Environment_setup/vsomeip-master/build

bananapi@lemaker:~/Environment_setup/vsomeip-master/build$ make
Scanning dependencies of target vsomeip3
[  1%] Building CXX object
CMakeFiles/vsomeip3.dir/implementation/endpoints/src/client_endpoint_impl.cpp.o
c++: error: unrecognized command line option ‘-fstack-protector-strong’
make[2]: ***
[CMakeFiles/vsomeip3.dir/implementation/endpoints/src/client_endpoint_impl.cpp.o]
Error 1
make[1]: *** [CMakeFiles/vsomeip3.dir/all] Error 2
make: *** [all] Error 2
bananapi@lemaker:~/Environment_setup/vsomeip-master/build$

Regards,
Siddhartha V

Hello, I am trying to build the vsomeip on banana pi M1 with Lubuntu. Cmake is going good no issue but when give make I am getting the error. Below is the log for both cmake and make instructions any suggestions will help me a lot. bananapi@lemaker:~/Environment_setup/vsomeip-master/build$ cmake .. -- The C compiler identification is GNU 4.8.5 -- The CXX compiler identification is GNU 4.8.5 -- 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 -- 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 -- Setting build type to 'RelWithDebInfo' as none was specified. -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Boost version: 1.66.0 -- Found the following Boost libraries: -- system -- thread -- log -- Boost_LIBRARY_DIR not empty using it: /usr/local/lib -- Using boost version: 106600 -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- checking for module 'automotive-dlt >= 2.11' -- package 'automotive-dlt >= 2.11' not found -- checking for module 'libsystemd' -- package 'libsystemd' not found -- Systemd was not found, watchdog disabled! -- Default configuration folder: /etc/vsomeip -- Default configuration file: /etc/vsomeip.json Predefined base path: /tmp Predefined unicast address: 127.0.0.1 Predefined diagnosis address: 0x01 -- Found Doxygen: /usr/bin/doxygen (found version "1.8.6") dot found asciidoc found source-highlight found -- GTEST_ROOT is not defined. For building the tests the variable GTEST_ROOT has to be defined. Tests can not be built. -- Configuring done -- Generating done -- Build files have been written to: /home/bananapi/Environment_setup/vsomeip-master/build bananapi@lemaker:~/Environment_setup/vsomeip-master/build$ make Scanning dependencies of target vsomeip3 [ 1%] Building CXX object CMakeFiles/vsomeip3.dir/implementation/endpoints/src/client_endpoint_impl.cpp.o c++: error: unrecognized command line option ‘-fstack-protector-strong’ make[2]: *** [CMakeFiles/vsomeip3.dir/implementation/endpoints/src/client_endpoint_impl.cpp.o] Error 1 make[1]: *** [CMakeFiles/vsomeip3.dir/all] Error 2 make: *** [all] Error 2 bananapi@lemaker:~/Environment_setup/vsomeip-master/build$ Regards, Siddhartha V