pulp-platform / hero-sdk

⛔ DEPRECATED ⛔ HERO Software Development Kit
https://www.pulp-platform.org/hero
Apache License 2.0
20 stars 6 forks source link

[pulp-sdk] Build fails on `sdk:archi-host` #32

Closed alessandrocapotondi closed 6 years ago

alessandrocapotondi commented 6 years ago
sdk:archi-host:build (hero-z-7045@config_file=/home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/configs/json/hero-z-7045.json): make build install
/home0/alessandro/workspace_PULP/hero/hero-sdk/hero-gcc-toolchain/install/bin/riscv32-unknown-elf-gcc  -march=rv32imcxpulpv2 -D__riscv__  -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wundef -fdata-sections -ffunction-sections -I/home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/pkg/sdk/dev/install/include/io -I/home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/pkg/sdk/dev/install/include -include /home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/build/sdk/archi-host/hero-z-7045/cl_config.h    -MMD -MP -c src/arm/phys_addr.c -o /home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/build/sdk/archi-host/hero-z-7045/archi_host/cl/src/arm/phys_addr.o
/home0/alessandro/workspace_PULP/hero/hero-sdk/hero-gcc-toolchain/install/bin/riscv32-unknown-elf-gcc  -march=rv32imcxpulpv2 -D__riscv__  -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wundef -fdata-sections -ffunction-sections -I/home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/pkg/sdk/dev/install/include/io -I/home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/pkg/sdk/dev/install/include -include /home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/build/sdk/archi-host/hero-z-7045/cl_config.h    -MMD -MP -c src/phys_addr.c -o /home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/build/sdk/archi-host/hero-z-7045/archi_host/cl/src/phys_addr.o
In file included from /home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/pkg/sdk/dev/install/include/rt/data/rt_data_bridge.h:42:0,
                 from /home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/pkg/sdk/dev/install/include/rt/rt_data.h:152,
                 from /home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/pkg/sdk/dev/install/include/rt/rt_alloc.h:20,
                 from src/phys_addr.c:21:
/home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/pkg/sdk/dev/install/include/hal/debug_bridge/debug_bridge.h: In function 'hal_bridge_is_connected':
/home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/pkg/sdk/dev/install/include/hal/debug_bridge/debug_bridge.h:46:39: error: 'hal_bridge_t {aka struct <anonymous>}' has no member named 'bridge_connected'
   return *(volatile uint32_t *)&bridge->bridge_connected;
                                       ^~
/home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/build/sdk/archi-host/hero-z-7045/__rules.mk:57: recipe for target '/home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/build/sdk/archi-host/hero-z-7045/archi_host/cl/src/phys_addr.o' failed
make: *** [/home0/alessandro/workspace_PULP/hero/hero-sdk/pulp-sdk/build/sdk/archi-host/hero-z-7045/archi_host/cl/src/phys_addr.o] Error 1
Reached EOF with exit status 2
FATAL ERROR: the command 'build' has failed
haugoug commented 6 years ago

You need to update the version of pulp_debug_bridge, it brings a header file which has been updated