Open seena-hne opened 6 years ago
hello, how do you build open-amp , for vxworks 7 , platform ? thx
Following is our system configuration that I modified for Cmake and or target system: -- Build type: Debug -- Host: Windows/Intel64 -- Target: VxWorks/aarch64 -- Machine: zynqmp_a53 (Our host build machine: We use Windows since our Workbench is licensed for it only. Couldn't try it out on Linux machine, due to organization wise firewall restrictions in place.) Error Dumps:
cmake toolchain does not support Wind River Workbench 4 for building Vxworks. This CMAKE_GENERATOR needs this value to generate appropriate files for the libraries. By default, it defaults to Visual Studio files or Nmake files. Cmake generator supports only Unix Makefiles and Eclipse files, apart from the above. “Error: System is unknown to cmake, please send your config file to cmake@www.cmake.org so it can be added to cmake”
The wrs-MultiOS-OpenAmp adaptor layer only supports GNU while VSB building uses both diab and gnu to build openamp libraries.
“"X:/MisconHNE/C/Projects/VxWorks7-510/ZU102_VSB_SMP/krnl/h/public/openamp/virtqueue.h", line 37: catastrophic error (etoa:5711): cannot open source file "metal/dma.h"
“patching file io.c Hunk #2 FAILED at 31. Hunk #3 FAILED at 50. 2 out of 3 hunks FAILED -- saving rejects to file io.c.rej”
“CMake Error: Cannot determine link language for target "metal-static".”
“CMake Error at lib/CMakeLists.txt:103 (add_library): Cannot find source file: system/vxworks/init.c”
“patching file common/hil.c Hunk #2 FAILED at 53. 1 out of 2 hunks FAILED -- saving rejects to file common/hil.c.rej”
“File not found - X:/MisconHNE/C/Projects/VxWorks7-510/ZU102_VSB_SMP/krnl/h/public/openamp/metal”
“cmake: Cannot identify the C compiler”
“cp: cannot stat to lib\metal”
“metal/io.h", line 359: catastrophic error (etoa:5711): cannot open source file "metal/system/vxworks/io.h" #include <metal/system/vxworks/io.h>”
“.\metal/io.h", line 69: error (etoa:4018): expected a ")" void *restrict dst,”
“.\metal/io.h", line 245: warning (etoa:4223): function "__sync_synchronize" declared implicitly return atomic_load_explicit((atomic_uchar *)ptr, order);”
“cmake: cannot find stdatomic.h”
Looks like WindRiver Workbench 4 is not supported when this platform is used to build the open-amp package.