petalinux 9009 talise

hello, I want to compile the talise (which provided in github linux-master)into Dynamic Link Library(.so) by petalinux, since we want to custom a specific linux system.But when I build many errors occur? Who can help me ,it worth much appreciate.Or are there something userguides to reference? 

 petalinux-build -c talise
[INFO] building talise
[INFO] sourcing bitbake
INFO: bitbake talise
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 3447 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:04
Parsing of 2572 .bb files complete (2538 cached, 34 parsed). 3448 targets, 149 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#######################################| Time: 0:00:00
Checking sstate mirror object availability: 100% |###############| Time: 0:00:02
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: talise-1.0-r0 do_compile: oe_runmake failed
ERROR: talise-1.0-r0 do_compile: Function failed: do_compile (log file is located at /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/talise/1.0-r0/temp/log.do_compile.61703)
ERROR: Logfile of failure stored in: /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/talise/1.0-r0/temp/log.do_compile.61703
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| arm-xilinx-linux-gnueabi-gcc -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed --sysroot=/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/talise/1.0-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/talise/1.0-r0=/usr/src/debug/talise/1.0-r0 -fdebug-prefix-map=/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/talise/1.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/talise/1.0-r0/recipe-sysroot= -c -fPIC *.c
| linux_hal.c:2:10: fatal error: linux/device.h: No such file or directory
| #include <linux/device.h>
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| In file included from talise_agc.c:11:0:
| talise_agc.h:18:10: fatal error: talise_types.h: No such file or directory
| #include "talise_types.h"
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| In file included from talise_arm.c:12:0:
| talise_arm.h:18:10: fatal error: talise_types.h: No such file or directory
| #include "talise_types.h"
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| In file included from talise.c:43:0:
| talise.h:19:10: fatal error: talise_types.h: No such file or directory
| #include "talise_types.h"
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| In file included from talise_cals.c:11:0:
| talise_cals.h:19:10: fatal error: talise_types.h: No such file or directory
| #include "talise_types.h"
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| In file included from talise_error.c:13:0:
| talise_error.h:23:10: fatal error: talise_types.h: No such file or directory
| #include "talise_types.h"
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| In file included from talise_gpio.c:11:0:
| talise_cals.h:19:10: fatal error: talise_types.h: No such file or directory
| #include "talise_types.h"
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| In file included from talise_hal.h:19:0,
| from talise_hal.c:11:
| adi_hal.h:16:10: fatal error: linux/math64.h: No such file or directory
| #include <linux/math64.h>
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| In file included from talise_jesd204.c:11:0:
| talise_jesd204.h:19:10: fatal error: talise_types.h: No such file or directory
| #include "talise_types.h"
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| In file included from talise_radioctrl.c:12:0:
| talise_cals.h:19:10: fatal error: talise_types.h: No such file or directory
| #include "talise_types.h"
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| In file included from talise_rx.c:12:0:
| talise_rx.h:19:10: fatal error: talise_types.h: No such file or directory
| #include "talise_types.h"
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| In file included from talise_user.c:11:0:
| talise_user.h:18:10: fatal error: talise_types.h: No such file or directory
| #include "talise_types.h"
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| make: *** [Makefile:16: *.o] Error 1
| ERROR: oe_runmake failed
| WARNING: /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/talise/1.0-r0/temp/run.do_compile.61703:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/talise/1.0-r0/temp/log.do_compile.61703)
ERROR: Task (/home/zlh/mini_sysy_petalinux/project-spec/meta-user/recipes-apps/talise/talise.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 555 tasks of which 548 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/zlh/mini_sysy_petalinux/project-spec/meta-user/recipes-apps/talise/talise.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build talise

 

  • 0
    •  Analog Employees 
    on Sep 8, 2020 2:01 PM 2 months ago

    Dear customer,

    This community is dedicated to customers who are looking for design services from a 3rd party design house.

    If this is what you need, please let me know and we can discuss the details. 

    If you are only looking for support on a Talise project, please ask this question in the appropriate community.

    Thanks

    Charly