Home Forums Software MPU Deployment Error

Viewing 0 reply threads
  • Author
    Posts
    • zhiyangongzhiyangong
      Participant
      Post count: 1

      Hi all,
      When I ran the example MPUBasics, I received the following error. Full error log is attached.
      ### Build procedure for MPUBasics aborted due to an error.
      Top model targets built:

      Model Action Rebuild Reason
      =====================================================================
      MPUBasics Failed Code generation information file does not exist.

      Error:Error executing command “sudo make -C /opt/MATLAB/mw_server_v22.2.0 SERVER_DIR=/opt/MATLAB/mw_server_v22.2.0 -f Makefile_raspiPeriphs”. Details:

      STDERR: /usr/bin/ld: MW_availableWebcam.c.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `wc’ which may bind externally can not be used when making a shared object; recompile with -fPIC
      MW_availableWebcam.c.o: in function `getCameraAddrIndex’:
      MW_availableWebcam.c:(.text+0x140): dangerous relocation: unsupported relocation

      A quick google indicates that it might be a library dependencies problem. Appreciate for any guidance.
      I am using Simulink 2022b and Support Package for RPI version 22.2.2

      Attachments:
      You must be logged in to view attached files.
Viewing 0 reply threads
  • You must be logged in to reply to this topic.