Vitis_with_100Gbps_TCP-IP icon indicating copy to clipboard operation
Vitis_with_100Gbps_TCP-IP copied to clipboard

Build error - ERROR: [HLS 207-3776] use of undeclared identifier 'FNS_ROCE_STACK_MAX_QPS'

Open vasyaa opened this issue 1 year ago • 1 comments

Trying to build project but getting errors

Vitis 2022.1 Ubuntu 22.04 u50 platform - xilinx_u50_gen3x16_xdma_5_202210_1

Steps to reproduce -

  1. git clone https://github.com/fpgasystems/Vitis_with_100Gbps_TCP-IP.git
  2. cd Vitis_with_100Gbps_TCP-IP
  3. git submodule update --init --recursive
  4. git branch -> branch is vitis_2022_1
  5. mkdir build && cd build
  6. cmake .. -DFDEV_NAME=u50 -DTCP_STACK_EN=1
  7. make ip

Error:

ERROR: [HLS 207-3776] use of undeclared identifier 'FNS_ROCE_STACK_MAX_QPS' (/home/test/source/learn/xilinx/tcp-ip/Vitis_with_100Gbps_TCP-IP/fpga-network-stack/hls/arp_server_subnet/../fns_config.hpp:5:26)
INFO: [HLS 200-111] Finished Command csynth_design CPU user time: 7.22 seconds. CPU system time: 0.77 seconds. Elapsed time: 6.72 seconds; current allocated memory: -1030.672 MB.
 
    while executing
"source /home/test/source/learn/xilinx/tcp-ip/Vitis_with_100Gbps_TCP-IP/build/fpga-network-stack/hls/arp_server_subnet/arp_server_subnet_synthesis.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 [list source $arg] "

vasyaa avatar Apr 01 '24 22:04 vasyaa

I have the same error. And this undeclared identifier 'FNS_ROCE_STACK_MAX_QPS' is not the only issue. There are quite some other cmake error too. I think the update on March 4, 2024 is broken. I had to go back to the last working code from October 24, 2022. Hopefully they will fix the build issues soon.

ezchips avatar Apr 04 '24 01:04 ezchips