INFO: [HLS 200-10] Analyzing design file '/home/vslyu/SDX_workspace/ZCU706_test/src/madd.cpp' ...
WARNING: [HLS 200-40] In file included from /home/vslyu/SDX_workspace/ZCU706_test/src/madd.cpp:40:
In file included from /usr/include/stdlib.h:24:
/usr/include/features.h:367:12: fatal error: 'sys/cdefs.h' file not found
# include <sys/cdefs.h>
^
1 error generated.\n
C preprocessor failed.
while executing
"source /home/vslyu/SDX_workspace/ZCU706_test/Debug/_sds/vhls/madd_run.tcl"
invoked from within
"hls::main /home/vslyu/SDX_workspace/ZCU706_test/Debug/_sds/vhls/madd_run.tcl -l madd_vivado_hls.log"
("uplevel" body line 1)
invoked from within
"uplevel 1 hls::main {*}$args"
(procedure "hls_proc" line 5)
invoked from within
"hls_proc $argv"
INFO: [Common 17-206] Exiting vivado_hls at Wed Nov 14 01:11:16 2018...
法一:
https://forums.xilinx.com/t5/SDSoC-Environment-and-reVISION/SDx-2016-4-HLS-compilation-errors-from-stdio-h/td-p/766447
sudo apt-get install gcc-multilib g++-multilib -y
法二:
sudo apt-get install lib32readline-gplv2-dev -y
sudo apt-get install libc6-dev -y
sudo apt-get install lib32readline-gplv2-dev -y
sudo apt-get install libc6 libc6-dev -y
sudo apt-get install libc6-dev-i386 -y
推测原因:没有32位的lib
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)