Firtst,I add files and dirs in apps directory for hellodataport.I followed the manual( https://docs.sel4.systems/projects/camkes/manual.html ).but when I execute in bash with command below:
../init-build.sh -DPLATFORM=sabre -DAARCH32=1 -DCAMKES_APP=hellodataport -DSIMULATION=1
But the logs reports errors below,is anyone have ideas?Thanks!
xu@xu-HP-Slim-Desktop-S01-pF1xxx:~/code/camkes-project/hellodataport_build$ ../init-build.sh -DPLATFORM=sabre -DAARCH32=1 -DCAMKES_APP=hellodataport -DSIMULATION=1
loading initial cache file /home/xu/code/camkes-project/projects/camkes/settings.cmake
-- Set platform details from PLATFORM=sabre
-- KernelPlatform: imx6
-- KernelARMPlatform: sabre
-- Setting from flags KernelSel4Arch: aarch32
-- Found seL4: /home/xu/code/camkes-project/kernel
-- Found GCC with prefix arm-linux-gnueabi-
-- Found GCC with prefix arm-linux-gnueabi-
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/arm-linux-gnueabi-gcc
-- Check for working C compiler: /usr/bin/arm-linux-gnueabi-gcc
-- Check for working C compiler: /usr/bin/arm-linux-gnueabi-gcc -- 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/arm-linux-gnueabi-g++
-- Check for working CXX compiler: /usr/bin/arm-linux-gnueabi-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found camkes-tool: /home/xu/code/camkes-project/projects/camkes-tool
-- Found global-components: /home/xu/code/camkes-project/projects/global-components
-- Found sel4_projects_libs: /home/xu/code/camkes-project/projects/seL4_projects_libs
-- Found elfloader-tool: /home/xu/code/camkes-project/tools/seL4/elfloader-tool
-- Found musllibc: /home/xu/code/camkes-project/projects/musllibc
-- Found util_libs: /home/xu/code/camkes-project/projects/util_libs
-- Found seL4_libs: /home/xu/code/camkes-project/projects/seL4_libs
-- Found projects_libs: /home/xu/code/camkes-project/projects/projects_libs
-- Found capdl: /home/xu/code/camkes-project/projects/capdl
-- /home/xu/code/camkes-project/hellodataport_build/kernel/gen_headers/plat/machine/devices_gen.h is out of date. Regenerating...
WARNING:root:Only mapping 4096/16384 bytes from node /soc/aips-bus@2100000/serial@21e8000, region 0. Set kernel_size in YAML to silence.
interrupts for device /soc/aips-bus@2100000/serial@21e8000
interrupts for device /soc/interrupt-controller@a01000
interrupts for device /soc/l2-cache@a02000
interrupts for device /soc/timer@a00600
-- CPIO test cpio_reproducible_flag PASSED
-- Detecting cached version of: capDL-tool
-- Found Git: /usr/bin/git (found version "2.25.1")
-- Not found cache entry for capDL-tool - will build from source
-- Found sel4runtime: /home/xu/code/camkes-project/projects/sel4runtime
-- Performing Test HARD_FLOAT
-- Performing Test HARD_FLOAT - Failed
-- Performing Test SOFTFP_FLOAT
-- Performing Test SOFTFP_FLOAT - Success
-- Performing Test compiler_arch_test
-- Performing Test compiler_arch_test - Success
-- libmuslc architecture: 'arm' (from KernelSel4Arch 'aarch32')
-- Detecting cached version of: musllibc
-- Not found cache entry for musllibc - will build from source
-- /home/xu/code/camkes-project/hellodataport_build/ast.pickle is out of date. Regenerating...
ERROR:CAmkES:/home/xu/code/camkes-project/projects/camkes/apps/hellodataport/components/Ping/Ping.camkes:7: dataport MyData_t d2;
ERROR:CAmkES:import 'Porttype.idl4' not found
CMake Error at /home/xu/code/camkes-project/projects/camkes-tool/camkes.cmake:524 (message):
Failed to generate
/home/xu/code/camkes-project/hellodataport_build/ast.pickle
Call Stack (most recent call first):
CMakeLists.txt:40 (GenerateCAmkESRootserver)
-- Configuring incomplete, errors occurred!
See also "/home/xu/code/camkes-project/hellodataport_build/CMakeFiles/CMakeOutput.log".
See also "/home/xu/code/camkes-project/hellodataport_build/CMakeFiles/CMakeError.log".