Multi Channel DMA Intel® FPGA IP for PCI Express* Design Example User Guide

ID 683517
Date 7/30/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.5.2.3.2.2. Build and Install User Space Library

  1. Build the library

    $ cd software/user

    For a 64-bit OS:

    $ make clean all -C libmqdma/

    For a 32-bit OS:

    $ make clean 32BIT=1 all -C libmqdma/

  2. Load the library

    For a 64-bit system with CentOS:

    $ rm -f /usr/lib64/libmqdmasoc.so

    $ cp libmqdma/libmqdmasoc.so /usr/lib64/

    For a 32-bit system with CentOS:

    $ rm -f /usr/lib/libmqdmasoc.so

    $ cp libmqdma/libmqdmasoc.so /usr/lib/

    For hosts with Ubuntu OS:
    $ cp libmqdma/libmqdmasoc.so /usr/local/lib

    Make sure that ldconfig output contains libmqdma.

    $ ldconfig -v | grep libmqdmasoc.so

    Look for this in the output:

    libmqdmasoc.so -> libmqdmasoc.so