UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
652 Views
Registered: ‎01-30-2018

[CHaiDNN] error: unknown type name '__Int8x8_t'

Hi guys,

 

I'm trying to build CHaiDNN (last version on github) in Ubuntu. I've followed all the steps from here, and it gives me some weird errors.

 

All of the errors are related to undefined types in arm_neon.h: __Int8x8_t, __Int16x4_t, ...

 

Can anyone help me please? I'm not the only one having this issue.

 

Thanks in advance.

 

(c) Copyright 2012-2018 Xilinx, Inc. All Rights Reserved.
#-----------------------------------------------------------
# Tool version  : sds++ 2018.2 SW Build 2258646 on Thu Jun 14 20:03:40 MDT 2018
# Start time    : Tue Sep 11 12:46:42 CEST 2018
# Command line  : sds++ -sds-hw XiConvolutionTop /home/pc-i7/workspace/CHaiDNN/src/design/conv/src/xi_convolution_top.cpp -clkid 1 -hls-tcl /home/pc-i7/workspace/CHaiDNN/src/design/conv/scripts/config_core.tcl -sds-end -D__SDSOC -D__CONV_ENABLE__ -D__DSP48E2__ -D__SYNTHESIS__ -D__POOL_ENABLE__ -D__DECONV_ENABLE__ -Wall -O0 -I../src -I/home/pc-i7/Descargas/CHaiDNN-master/SD_Card/opencv/arm64/include -I/home/pc-i7/Descargas/CHaiDNN-master/SD_Card/protobuf/arm64/include -I/home/pc-i7/Descargas/CHaiDNN-master/SD_Card/cblas/arm64/include -I/home/pc-i7/workspace/CHaiDNN/src/design/conv/include -I/home/pc-i7/workspace/CHaiDNN/src/design/conv/src -I/home/pc-i7/workspace/CHaiDNN/src/design/pool/include -I/home/pc-i7/workspace/CHaiDNN/src/design/pool/src -I/home/pc-i7/workspace/CHaiDNN/src/design/deconv/include -I/home/pc-i7/workspace/CHaiDNN/src/design/deconv/src -c -fmessage-length=0 -MTsrc/software/swkernels/xi_eltwiseadd_top.o -MMD -MP -MFsrc/software/swkernels/xi_eltwiseadd_top.d -MTsrc/software/swkernels/xi_eltwiseadd_top.o -o src/software/swkernels/xi_eltwiseadd_top.o ../src/software/swkernels/xi_eltwiseadd_top.cpp -sds-sys-config a53_linux -sds-proc a53_linux -sds-pf zcu104
# Log file      : /home/pc-i7/workspace/CHaiDNN/Release/_sds/reports/sds_xi_eltwiseadd_top.log
# Journal file  : /home/pc-i7/workspace/CHaiDNN/Release/_sds/reports/sds_xi_eltwiseadd_top.jou
# Report file   : /home/pc-i7/workspace/CHaiDNN/Release/_sds/reports/sds_xi_eltwiseadd_top.rpt
#-----------------------------------------------------------

Create data motion intermediate representation
/opt/Xilinx/SDx/2018.2/bin/clang_wrapper -I../src -I/home/pc-i7/Descargas/CHaiDNN-master/SD_Card/opencv/arm64/include -I/home/pc-i7/Descargas/CHaiDNN-master/SD_Card/protobuf/arm64/include -I/home/pc-i7/Descargas/CHaiDNN-master/SD_Card/cblas/arm64/include -I/home/pc-i7/workspace/CHaiDNN/src/design/conv/include -I/home/pc-i7/workspace/CHaiDNN/src/design/conv/src -I/home/pc-i7/workspace/CHaiDNN/src/design/pool/include -I/home/pc-i7/workspace/CHaiDNN/src/design/pool/src -I/home/pc-i7/workspace/CHaiDNN/src/design/deconv/include -I/home/pc-i7/workspace/CHaiDNN/src/design/deconv/src -D__SDSOC -D__CONV_ENABLE__ -D__DSP48E2__ -D__SYNTHESIS__ -D__POOL_ENABLE__ -D__DECONV_ENABLE__ -Wall -fmessage-length=0 -MMD -MP -D __SDSCC__ -target aarch64-linux-gnu -mcpu=cortex-a53 -O0 -g     -I /opt/Xilinx/SDx/2018.2/target/aarch64-linux/include  -D HLS_NO_XIL_FPO_LIB  -I /opt/Xilinx/Vivado/2018.2/include   -I/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1 -I/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1/aarch64-linux-gnu -I/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1/backward -I/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include -I/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include-fixed -I/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/aarch64-linux-gnu/include -I/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/aarch64-linux-gnu/libc/usr/include  -std=c++11 -emit-llvm -S /home/pc-i7/workspace/CHaiDNN/src/software/swkernels/xi_eltwiseadd_top.cpp -o /home/pc-i7/workspace/CHaiDNN/Release/_sds/.llvm/src/software/swkernels/xi_eltwiseadd_top.s
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:30:13: warning: unknown pragma ignored [-Wunknown-pragmas]
#pragma GCC push_options
            ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:31:13: warning: unknown pragma ignored [-Wunknown-pragmas]
#pragma GCC target ("+nothing+simd")
            ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:38:9: error: unknown type name '__Int8x8_t'
typedef __Int8x8_t int8x8_t;
        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:39:9: error: unknown type name '__Int16x4_t'
typedef __Int16x4_t int16x4_t;
        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:40:9: error: unknown type name '__Int32x2_t'; did you mean '__int32_t'?
typedef __Int32x2_t int32x2_t;
        ^~~~~~~~~~~
        __int32_t
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/aarch64-linux-gnu/libc/usr/include/bits/types.h:40:20: note: '__int32_t' declared here
typedef signed int __int32_t;
                   ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:41:9: error: unknown type name '__Int64x1_t'; did you mean '__int64_t'?
typedef __Int64x1_t int64x1_t;
        ^~~~~~~~~~~
        __int64_t
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/aarch64-linux-gnu/libc/usr/include/bits/types.h:43:25: note: '__int64_t' declared here
typedef signed long int __int64_t;
                        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:42:9: error: unknown type name '__Float16x4_t'
typedef __Float16x4_t float16x4_t;
        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:43:9: error: unknown type name '__Float32x2_t'
typedef __Float32x2_t float32x2_t;
        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:44:9: error: unknown type name '__Poly8x8_t'
typedef __Poly8x8_t poly8x8_t;
        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:45:9: error: unknown type name '__Poly16x4_t'
typedef __Poly16x4_t poly16x4_t;
        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:46:9: error: unknown type name '__Uint8x8_t'
typedef __Uint8x8_t uint8x8_t;
        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:47:9: error: unknown type name '__Uint16x4_t'
typedef __Uint16x4_t uint16x4_t;
        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:48:9: error: unknown type name '__Uint32x2_t'
typedef __Uint32x2_t uint32x2_t;
        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:49:9: error: unknown type name '__Float64x1_t'
typedef __Float64x1_t float64x1_t;
        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:50:9: error: unknown type name '__Uint64x1_t'
typedef __Uint64x1_t uint64x1_t;
        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:51:9: error: unknown type name '__Int8x16_t'; did you mean '__int16_t'?
typedef __Int8x16_t int8x16_t;
        ^~~~~~~~~~~
        __int16_t
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/aarch64-linux-gnu/libc/usr/include/bits/types.h:38:26: note: '__int16_t' declared here
typedef signed short int __int16_t;
                         ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:52:9: error: unknown type name '__Int16x8_t'
typedef __Int16x8_t int16x8_t;
        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:53:9: error: unknown type name '__Int32x4_t'; did you mean '__int32_t'?
typedef __Int32x4_t int32x4_t;
        ^~~~~~~~~~~
        __int32_t
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/aarch64-linux-gnu/libc/usr/include/bits/types.h:40:20: note: '__int32_t' declared here
typedef signed int __int32_t;
                   ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:54:9: error: unknown type name '__Int64x2_t'; did you mean '__int64_t'?
typedef __Int64x2_t int64x2_t;
        ^~~~~~~~~~~
        __int64_t
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/aarch64-linux-gnu/libc/usr/include/bits/types.h:43:25: note: '__int64_t' declared here
typedef signed long int __int64_t;
                        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:55:9: error: unknown type name '__Float16x8_t'
typedef __Float16x8_t float16x8_t;
        ^
/opt/Xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include/arm_neon.h:56:9: error: unknown type name '__Float32x4_t'
typedef __Float32x4_t float32x4_t;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
ERROR: [SdsCompiler 83-5005] clang exited with non-zero code processing /home/pc-i7/workspace/CHaiDNN/src/software/swkernels/xi_eltwiseadd_top.cpp
sds++ log file saved as /home/pc-i7/workspace/CHaiDNN/Release/_sds/reports/sds_xi_eltwiseadd_top.log
ERROR: [SdsCompiler 83-5004] Build failed
sds++ completed at Tue Sep 11 12:46:43 CEST 2018

 

0 Kudos
4 Replies
Contributor
Contributor
620 Views
Registered: ‎09-19-2018

Re: [CHaiDNN] error: unknown type name '__Int8x8_t'

any help on this?

0 Kudos
Xilinx Employee
Xilinx Employee
525 Views
Registered: ‎08-20-2018

Re: [CHaiDNN] error: unknown type name '__Int8x8_t'

hi @shairva @kardec

 

 

The solution for above problem is,

Go to src/software/swkernels/xi_eltwiseadd_top.cpp line no.38

#ifdef __SDSOC

 

change it to #ifndef __SDSOC

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Participant yan0110
Participant
251 Views
Registered: ‎09-12-2018

Re: [CHaiDNN] error: unknown type name '__Int8x8_t'

Hi,I meet the same problem when i build the SDSoC colordetect acceleration demo project according to the SDSoC Environment Tutorial: Migrate OpenCV to xfOpenCV(https://github.com/Xilinx/SDSoC-Tutorials/blob/master/opencv-to-xfopencv-migration-tutorial/lab2-build-sdsoc-acceleration-project.md). 

Either the version of my SDSoC and reVISION Stack is 2018.3.

How can i solve this problem?

Many thanks.

0 Kudos
Participant yan0110
Participant
216 Views
Registered: ‎09-12-2018

Re: [CHaiDNN] error: unknown type name '__Int8x8_t'

Are you solved this problem? Could you tell me how to solve this problem, please?

0 Kudos