OpenSync

Home Forums OpenSync Facing issue while integrating opensync onto the RDK-B platform.

This topic contains 0 replies, has 1 voice, and was last updated by  eresh.eregowda 1 year, 11 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #67237

    eresh.eregowda
    Participant

    Hi,

    Getting below compilation error when i try to compile opensync on top of the RDK-B.
    can someone please help me out in this as i am new to opensync and RDK-B.

    compilation logs:
    DEBUG: Executing shell function do_compile
    | NOTE: make MAKEFLAGS= RDK_TARGET_ARCH=i586 RDK_MACHINE=qemux86broadband-dev RDK_DISTRO=rdk PLATFORM_SDK=RDK TARGET=RDKB
    | === pwd ===
    | /Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/work/i586-rdk-linux/opensync/1.4.0-r3/git/core
    | === bb var ===
    | SRCPV=AUTOINC+d46964b258_9350258f7d_vendor
    | PV=1.4.0
    | S=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/work/i586-rdk-linux/opensync/1.4.0-r3/git/core
    | === env ===
    | AS=i586-rdk-linux-as
    | BUILD_CCLD=gcc
    | AR=i586-rdk-linux-ar
    | LDFLAGS=-Wl,-O1 -Wl,–hash-style=gnu -Wl,–as-needed
    | PKG_CONFIG_DISABLE_UNINSTALLED=yes
    | sbindir=/usr/sbin
    | BUILD_STRIP=strip
    | TERM=xterm-256color
    | sysconfdir=/etc
    | servicedir=/srv
    | TARGET_LDFLAGS=-Wl,-O1 -Wl,–hash-style=gnu -Wl,–as-needed
    | systemd_unitdir=/lib/systemd
    | docdir=/usr/share/doc
    | NM=i586-rdk-linux-nm
    | BUILD_CXXFLAGS=-isystem/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/usr/include -O2 -pipe -D_GLIBCXX_USE_CXX11_ABI=0
    | BUILD_CFLAGS=-isystem/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/usr/include -O2 -pipe
    | bindir=/usr/bin
    | CPPFLAGS=
    | PKG_CONFIG_SYSTEM_LIBRARY_PATH=/lib:/usr/lib
    | includedir=/usr/include
    | OLDPWD=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev
    | TARGET_CFLAGS= -Os -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/work/i586-rdk-linux/opensync/1.4.0-r3=/usr/src/debug/opensync/1.4.0-r3 -fdebug-prefix-map=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux= -fdebug-prefix-map=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev=
    | PKG_CONFIG_SYSTEM_INCLUDE_PATH=/usr/include
    | LC_ALL=en_US.UTF-8
    | STAGING_LIBDIR=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev/usr/lib
    | USER=eresh
    | CCACHE_DIR=/home/eresh/.ccache
    | base_libdir=/lib
    | BUILD_NM=nm
    | PKG_CONFIG_SYSROOT_DIR=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev
    | TARGET_CPPFLAGS=
    | base_prefix=
    | BUILD_AR=ar
    | BUILD_AS=as
    | PKG_CONFIG_DIR=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev/usr/lib/pkgconfig
    | PSEUDO_UNLOAD=1
    | CXXFLAGS= -Os -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/work/i586-rdk-linux/opensync/1.4.0-r3=/usr/src/debug/opensync/1.4.0-r3 -fdebug-prefix-map=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux= -fdebug-prefix-map=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev= -fvisibility-inlines-hidden
    | mandir=/usr/share/man
    | base_sbindir=/sbin
    | STRINGS=i586-rdk-linux-strings
    | libdir=/usr/lib
    | systemd_user_unitdir=/usr/lib/systemd/user
    | CPP=i586-rdk-linux-gcc -E –sysroot=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev -m32 -march=i586 -fno-omit-frame-pointer -fno-optimize-sibling-calls
    | PATH=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/usr/bin/python3-native:/Dakota_Drive/RDK_B/emulator2/openembedded-core/scripts:/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/usr/bin/i586-rdk-linux:/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev/usr/bin/crossscripts:/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/usr/sbin:/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/usr/bin:/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/sbin:/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/bin:/Dakota_Drive/RDK_B/emulator2/openembedded-core/scripts:/Dakota_Drive/RDK_B/emulator2/openembedded-core/bitbake/bin:/home/eresh/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/media/eresh/Dakota_Drive/Google_Code/depot_tools/
    | BUILD_CPP=gcc -E
    | CCACHE_DISABLE=1
    | LD=i586-rdk-linux-ld –sysroot=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev
    | PWD=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/work/i586-rdk-linux/opensync/1.4.0-r3/git/core
    | localstatedir=/var
    | infodir=/usr/share/info
    | systemd_system_unitdir=/lib/systemd/system
    | PSEUDO_DISABLED=1
    | oldincludedir=/usr/include
    | STRIP=i586-rdk-linux-strip
    | CCLD=i586-rdk-linux-gcc -m32 -march=i586 -fno-omit-frame-pointer -fno-optimize-sibling-calls –sysroot=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev
    | PKG_CONFIG_LIBDIR=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev/usr/lib/pkgconfig
    | datadir=/usr/share
    | BUILD_CC=gcc
    | STAGING_INCDIR=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev/usr/include
    | CXX=i586-rdk-linux-g++ -m32 -march=i586 -fno-omit-frame-pointer -fno-optimize-sibling-calls –sysroot=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev
    | OBJCOPY=i586-rdk-linux-objcopy
    | SHLVL=1
    | HOME=/home/eresh
    | BUILD_CXX=g++
    | MAKE=make
    | BUILD_RANLIB=ranlib
    | CFLAGS= -Os -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/work/i586-rdk-linux/opensync/1.4.0-r3=/usr/src/debug/opensync/1.4.0-r3 -fdebug-prefix-map=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux= -fdebug-prefix-map=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev=
    | FC=i586-rdk-linux-gfortran -m32 -march=i586 -fno-omit-frame-pointer -fno-optimize-sibling-calls –sysroot=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev
    | exec_prefix=/usr
    | BUILD_FC=gfortran
    | LOGNAME=eresh
    | libexecdir=/usr/libexec
    | nonarch_base_libdir=/lib
    | BUILD_LDFLAGS=-L/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/usr/lib -L/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/lib -Wl,-rpath-link,/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/lib -Wl,-rpath,/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath,/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/lib -Wl,-O1
    | prefix=/usr
    | TARGET_CXXFLAGS= -Os -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/work/i586-rdk-linux/opensync/1.4.0-r3=/usr/src/debug/opensync/1.4.0-r3 -fdebug-prefix-map=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux= -fdebug-prefix-map=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev=
    | sharedstatedir=/com
    | BUILD_CPPFLAGS=-isystem/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/usr/include
    | PKG_CONFIG_PATH=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev/usr/lib/pkgconfig:/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev/usr/share/pkgconfig
    | BUILD_LD=ld
    | RANLIB=i586-rdk-linux-ranlib
    | nonarch_libdir=/usr/lib
    | CC=i586-rdk-linux-gcc -m32 -march=i586 -fno-omit-frame-pointer -fno-optimize-sibling-calls –sysroot=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev
    | READELF=i586-rdk-linux-readelf
    | OBJDUMP=i586-rdk-linux-objdump
    | PYTHON=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/usr/bin/python3-native/python3
    | base_bindir=/bin
    | _=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/i686-linux/usr/bin/env
    | === make ===
    | All platforms: rdk
    | “RDK:”
    | Included platform/rdk/build/target-arch.mk
    | TARGET=RDKB
    | RDK_DISTRO=rdk
    | RDK_MACHINE=qemux86broadband-dev
    | RDK_TARGET_ARCH=i586
    | TARGET=RDKB PLATFORM=rdk VENDOR=
    | build/kconfig.mk:82: No kconfig for target RDKB. Using default: kconfig/targets/config_default
    | Included platform/rdk/build/rdk.mk
    | RDK_OEM=
    | RDK_TARGET=
    | RDK_CFLAGS=-DLOG_ENABLE_RDKLOG
    | RDK_LDFLAGS=
    | CFLAGS=-Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-label -Wno-strict-aliasing -fasynchronous-unwind-tables -Wno-error=cpp -I/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev/usr/include/protobuf-c -DLOG_ENABLE_RDKLOG
    | LDFLAGS=-Wl,–export-dynamic
    | ERROR: oe_runmake failed
    | Layers(2): . platform/rdk
    | build/schema.sh check || { echo “The OVS schema was changed but the version was not updated. Please run make schema-update”; exit 1; }
    | touch “work/RDKB/obj/src.lib.ds/.target”
    | touch “work/RDKB/obj/src.lib.common/.target”
    | touch “work/RDKB/obj/platform.rdk.src.lib.devinfo/.target”
    | compile [osync_hal] platform/rdk/src/lib/osync_hal/src/init.c
    | i586-rdk-linux-gcc -m32 -march=i586 -fno-omit-frame-pointer -fno-optimize-sibling-calls –sysroot=/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-label -Wno-strict-aliasing -fasynchronous-unwind-tables -Wno-error=cpp -I/Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/sysroots/qemux86broadband-dev/usr/include/protobuf-c -DLOG_ENABLE_RDKLOG -g -DUSE_QM -DBUILD_REMOTE_LOG -DTARGET_RDKB -DTARGET_NAME=”\”RDKB\”” -Iplatform/rdk/src/lib/osync_hal/inc -Iplatform/rdk/src/lib/devinfo/inc -Iplatform/rdk/src/lib/pl2rl/inc -Isrc/lib/common/inc -fasynchronous-unwind-tables -Isrc/lib/osa/inc -Isrc/lib/const/inc -Isrc/lib/crt/inc -Isrc/lib/daemon/inc -Isrc/lib/datapipeline/inc -Isrc/lib/ds/inc -Isrc/lib/evsched/inc -Isrc/lib/evx/inc -Isrc/lib/execsh/inc -Isrc/lib/json_util/inc -DJSON_MEMDBG -include “work/RDKB/kconfig/config_default.h” -Isrc/lib/kconfig/inc -Isrc/lib/log/inc -Isrc/lib/osa/inc -Isrc/lib/osa/inc -fasynchronous-unwind-tables -Isrc/lib/osn/inc -Isrc/lib/osn/inc -Isrc/lib/ovsdb/inc -Isrc/lib/pjs/inc -Isrc/lib/read_until/inc -Iwork/RDKB/obj/src.lib.schema -Isrc/lib/schema/inc -Isrc/lib/common/inc/ -Isrc/lib/log/inc/ -Isrc/lib/target/inc -Iwork/RDKB/obj/src.lib.target -DTARGET_H='”target_RDKB.h”‘ -Iplatform/rdk/src/lib/target/inc -DENABLE_MESH_SOCKETS -DCONTROLLER_ADDR=”\”\”” -Isrc/lib/version/inc -Isrc/qm/qm_conn/src -fPIC platform/rdk/src/lib/osync_hal/src/init.c -MMD -c -o work/RDKB/obj/platform.rdk.src.lib.osync_hal/platform/rdk/src/lib/osync_hal/src/init.o
    | In file included from src/lib/target/inc/target.h:38:0,
    | from platform/rdk/src/lib/osync_hal/src/init.c:29:
    | src/lib/schema/inc/schema.h:34:24: fatal error: schema_gen.h: No such file or directory
    | #include “schema_gen.h”
    | ^
    | compilation terminated.
    | build/unit-build.mk:510: recipe for target ‘work/RDKB/obj/platform.rdk.src.lib.osync_hal/platform/rdk/src/lib/osync_hal/src/init.o’ failed
    | make: *** [work/RDKB/obj/platform.rdk.src.lib.osync_hal/platform/rdk/src/lib/osync_hal/src/init.o] Error 1
    | WARNING: /Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/work/i586-rdk-linux/opensync/1.4.0-r3/temp/run.do_compile.20328:1 exit 1 from ‘exit 1’
    | ERROR: Function failed: do_compile (log file is located at /Dakota_Drive/RDK_B/emulator2/build-qemux86broadband-dev/tmp/work/i586-rdk-linux/opensync/1.4.0-r3/temp/log.do_compile.20328)
    ERROR: Task (/Dakota_Drive/RDK_B/emulator2/meta-rdk-opensync/recipes/opensync/opensync_1.4.0.bb:do_compile) failed with exit code ‘1’
    NOTE: Tasks Summary: Attempted 1600 tasks of which 1599 didn’t need to be rerun and 1 failed.
    NOTE: Writing buildhistory

    Summary: 1 task failed:
    /Dakota_Drive/RDK_B/emulator2/meta-rdk-opensync/recipes/opensync/opensync_1.4.0.bb:do_compile
    Summary: There were 2 WARNING messages shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
    ———————————————————————————————–

    Thanks.

Viewing 1 post (of 1 total)

The forum ‘OpenSync’ is closed to new topics and replies.