Hi,
I was installing VTR on a new server recently, but I found that in the final stage of make, an error would always be reported. The error message is as follows:
/hpc/home/connect.jzhu484/binutils/bin/ld: /tmp/cczQORsL.ltrans9.ltrans.o: in function `vpr_init_with_options(t_options const*, t_vpr_setup*, t_arch*)':
<artificial>:(.text+0x398d): undefined reference to `tbb::interface9::global_control::internal_create()'
/hpc/home/connect.jzhu484/binutils/bin/ld: <artificial>:(.text+0x447e): undefined reference to `tbb::interface9::global_control::internal_destroy()'
/hpc/home/connect.jzhu484/binutils/bin/ld: <artificial>:(.text+0x4564): undefined reference to `tbb::interface7::internal::task_arena_base::internal_max_concurrency(tbb::interface7:: task_arena const*)'
/hpc/home/connect.jzhu484/binutils/bin/ld: /tmp/cczQORsL.ltrans9.ltrans.o: in function `vpr_init_with_options(t_options const*, t_vpr_setup*, t_arch*) [clone .cold]':
<artificial>:(.text.unlikely+0x4be): undefined reference to `tbb::interface9::global_control::internal_destroy()'
collect2: error: ld returned 1 exit status
My system is centos7, the gcc version is 12.2.0, and the tbb version is 2020.1. However, when I change the gcc version to 11.2.0, or change the tbb version to 2020.3 and 2021.5, or try different versions of VTR, I cannot solve this error. I have spent several days on it, I still haven't found a suitable solution to this problem.
Sincerely,
Jiadong ZHU