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

132 views (last 30 days)
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

Harshit Gupta
Harshit Gupta on 21 Dec 2022
As per my understanding, you are getting the following two errors-
  1. The make command returned an error of 2.
  2. Fatal error: ad9361.h: No such file or directory.
For the first error-
For the second error-
  • To resolve this error, restart MATLAB as administrator (sudo on Linux). Then, re-run the set up for "Embedded Coder Support Package" for your particular board(s). You can do this by clicking on Add-Ons > Manage Add-Ons and then clicking the Gear icon next to the support package.
  • Running the support package setup will register the "sysroot" folder with the toolchain and also regenerate the correct Linux image needed to boot the Xilinx board.
  • If re-running the setup alone does not resolve the issue, please re-install the support package as an administrator. Then, perform the setup steps with the fresh installation.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!