Error to compile musdk

Hy,
I try to compile musdk.

I follow the Instructions from the script build.

I decompress the Archive, apply the patches.

I use the command line ./bootstrap, ./configure and make

I have error when i apply the command line error :

root@workstation:/diagbox/compile/musdk-marvell-SDK11.22.07# 
root@workstation:/diagbox/compile/musdk-marvell-SDK11.22.07# ARCH=arm64 CROSS_COMPILE=/etc/diagbox/toolchain/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- ./bootstrap 
+ aclocal
aclocal: warning: couldn't open directory 'm4': No such file or directory
+ libtoolize --copy
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
+ autoheader
+ automake --add-missing --copy --warnings=all
configure.ac:257: installing './ar-lib'
configure.ac:249: installing './compile'
configure.ac:269: installing './config.guess'
configure.ac:269: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
apps/examples/Makefile.am: installing './depcomp'
+ autoconf --force
root@workstation:/diagbox/compile/musdk-marvell-SDK11.22.07# ARCH=arm64 CROSS_COMPILE=/etc/diagbox/toolchain/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
fatal: not a git repository (or any of the parent directories): .git
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... failed
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/libmusdk.pc
config.status: creating apps/Makefile
config.status: creating apps/tests/Makefile
config.status: creating apps/examples/Makefile
config.status: creating src/include/env/mv_autogen_build_assert.h
config.status: creating src/include/env/mv_autogen_comp_flags.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

        MUSDK Library name:     

        libdir:                 ${exec_prefix}/lib
        includedir:             ${exec_prefix}

        cc:                     gcc
        cppflags:               
        cflags:                 -g -O2 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -pthread -DMVCONF_DBG_LEVEL=6 -DMVCONF_SYS_DMA_UIO -DMVCONF_TYPES_PUBLIC -DMVCONF_DMA_PHYS_ADDR_T_PUBLIC -DMVCONF_DMA_PHYS_ADDR_T_SIZE=64   
        ldflags:                
        libs:                   

root@workstation:/diagbox/compile/musdk-marvell-SDK11.22.07# ARCH=arm64 CROSS_COMPILE=/etc/diagbox/toolchain/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- make
make --no-print-directory all-recursive
Making all in src
  CC       lib/libmusdk_la-list.lo
  CC       lib/libmusdk_la-lib_misc.lo
  CC       lib/libmusdk_la-mem_mng.lo
  CC       lib/libmusdk_la-file_utils.lo
  CC       lib/uio/libmusdk_la-uio_find_devices.lo
  CC       lib/uio/libmusdk_la-uio_find_devices_byname.lo
  CC       lib/uio/libmusdk_la-uio_free.lo
  CC       lib/uio/libmusdk_la-uio_get_all_info.lo
  CC       lib/uio/libmusdk_la-uio_get_event_count.lo
  CC       lib/uio/libmusdk_la-uio_get_mem_addr.lo
  CC       lib/uio/libmusdk_la-uio_get_mem_size.lo
  CC       lib/uio/libmusdk_la-uio_get_mem_name.lo
  CC       lib/uio/libmusdk_la-uio_get_name.lo
  CC       lib/uio/libmusdk_la-uio_get_version.lo
  CC       lib/uio/libmusdk_la-uio_line_from_file.lo
  CC       lib/uio/libmusdk_la-uio_num_from_filename.lo
  CC       lib/uio/libmusdk_la-uio_single_mmap.lo
  CC       lib/uio/libmusdk_la-uio_find_mem_byname.lo
  CC       lib/libmusdk_la-perf_mon_emu.lo
  CC       env/libmusdk_la-spinlock.lo
  CC       env/libmusdk_la-cma.lo
  CC       env/libmusdk_la-hugepage_mem.lo
  CC       env/libmusdk_la-sys_dma.lo
  CC       env/libmusdk_la-of.lo
  CC       env/libmusdk_la-netdev.lo
  CC       env/libmusdk_la-sys_iomem.lo
  CC       env/libmusdk_la-sys_event.lo
  CC       drivers/ppv2/libmusdk_la-pp2.lo
drivers/ppv2/pp2_mem.h: Messages de l'assembleur:
drivers/ppv2/pp2_mem.h:119: Erreur: non concordance du nombre d'opérandes pour « ds »
../src/include/env/io.h:91: Erreur: caractère '[' invalide au début de l'opérande 2 « [%rbx] »
drivers/ppv2/pp2_mem.h:119: Erreur: non concordance du nombre d'opérandes pour « ds »
../src/include/env/io.h:91: Erreur: caractère '[' invalide au début de l'opérande 2 « [%rax] »
drivers/ppv2/pp2_mem.h:119: Erreur: non concordance du nombre d'opérandes pour « ds »
../src/include/env/io.h:91: Erreur: caractère '[' invalide au début de l'opérande 2 « [%rdx] »
drivers/ppv2/pp2_mem.h:119: Erreur: non concordance du nombre d'opérandes pour « ds »
../src/include/env/io.h:91: Erreur: caractère '[' invalide au début de l'opérande 2 « [%rbp] »
../src/include/env/io.h:67: Erreur: pas de telle instruction: « ldr %dx,[%rdx] »
drivers/ppv2/pp2_mem.h:153: Erreur: non concordance du nombre d'opérandes pour « ds »
../src/include/env/io.h:67: Erreur: pas de telle instruction: « ldr %ax,[%rax] »
drivers/ppv2/pp2_mem.h:153: Erreur: non concordance du nombre d'opérandes pour « ds »
make[2]: *** [Makefile:1539: drivers/ppv2/libmusdk_la-pp2.lo] Error 1
make[1]: *** [Makefile:405: all-recursive] Error 1
make: *** [Makefile:333: all] Error 2

Thanks by Advance tohelp me :slight_smile: