We have bought Cyclone10GX Development Kit and try to check PCIe bandwidth.
I use your Cyclone10GX_PCIeGen2x4_DMA_18_0_project. It contains driver and user application sources.
I am not able to compile them.
Used OS is Ubuntu 20.04.2 LTS.
GCC version is (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0.
When I type "sudo ./install cyclone10", I got many errors. like this:
altera_dma_cmd.h:50:20: error: field ‘write_time’ has incomplete type
50 | struct timeval write_time;
Looks like compiler version is not copmatible. But I can be wrong.
Please help to compile the driver.
This error is not observed in Redhat/CentOS. It might have some OS or system dependencies. Could you try using other OS?
I’m glad that the root cause is identified, I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.