I am getting the error: make command return an error of 2, while trying to implement a software interface model of OFDM Transmit and Receive Using Analog Devices AD9361/AD9364
Show older comments
Please help me with this error: make command return an error 2, while i am implementing the Software interface model of OFDM Transmit and Receive Using Analog Devices AD9361/AD9364 in Monitor and Tune Mode, provided by matlab. Another error is fatal error: ad9361.h: No such file or directory which might resolve on reinstalling the embedded coder support for xilinx radio. I am using ZC706 and FMCOMMS5. I am able to complete all steps of HDL Workflow advisor. Kindly guide me the cause and solution to the above errors.
Thankyou, for helping out!

Accepted Answer
More Answers (1)
Bhanu Medasani
on 14 Nov 2025
0 votes
The code generation for the SW Interface model for targeting on hardware requires third party libraries, tools chain for compilation and systroot for the respective boards to be installed in MATLAB. For this example you need to set up the "Embedded Coder® Support Package for AMD SoC Devices" hardware support package.
Please check the following link for a detailed steps on how to install the support package Install Support for AMD SoC Boards - MATLAB & Simulink.
Once the support package is installed, run the hardware setup for your board which can be one of the following.
- ADI RF SOM
- ZC706 and FMCOMMS2/3/4/5
- ZCU102 and FMCOMMS2/3/4
The hardware setup will enable you to create the SD Card with required Linux Image and register the required sysroot to build the software interface model. Once the setup is done you should be able to build and deploy the model successfully.
Categories
Find more on Targeting FPGA & SoC Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!