Intel Agilex® 7 Hard Processor System Remote System Update User Guide

ID 683184
Date 6/09/2023
Public

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

Document Table of Contents

7.1.11. Building ZLIB

The ZLIB is required by LIBRSU. The following steps can be used to compile it:
cd $TOP_FOLDER
rm -rf zlib-1.2.12
wget http://zlib.net/zlib-1.2.12.tar.gz
tar xf zlib-1.2.12.tar.gz
rm zlib-1.2.12.tar.gz
cd zlib-1.2.12/
export CROSS_PREFIX=${CROSS_COMPILE}
./configure
make
export ZLIB_PATH=`pwd`
cd ..
Note: The version of zlib mentioned above is the one that was tested with this release. You may want to use the latest zlib version, as it may contain updates and bug fixes.
After the above steps are completed, the following items are available:
  • $TOP_FOLDER/zlib-1.2.12/zlib.h — header file, used to compile files using zlib services
  • $TOP_FOLDER/zlib-1.2.12/libz.so* — shared objects, used to run executables linked against zlib APIs