# Errors about making PYNQ images for ZCU106

**URL:** <https://discuss.pynq.io/t/errors-about-making-pynq-images-for-zcu106/5265>\
**Category:** Support\
**Created:** [February 25, 2023, 4:53am UTC](https://discuss.pynq.io/t/errors-about-making-pynq-images-for-zcu106/5265 "2023-02-25T04:53:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremyatedge](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/jeremyatedge/32/4292_2.png) [@jeremyatedge](https://discuss.pynq.io/u/jeremyatedge)\
**Post date:** [February 25, 2023, 4:53am UTC](https://discuss.pynq.io/t/errors-about-making-pynq-images-for-zcu106/5265/1 "2023-02-25T04:53:19Z")

</div>

PYNQ version: v2.7  
Board name: ZCU106

I planned to using PYNQ on ZCU106, and when I performed make image for ZCU106 after I changed ZCU104’s spec and configured related parameters and environment, the error occurs.

The error occurs when running:

```auto
  make images BOARDS=ZCU106 PREBUILT=./prebuilt/focal.aarch64.2.7.0_2021_11_17.tar.gz 

```

Details are:

```auto
  make PYNQ_BUILD_ARCH=aarch64 -C pynq/lib/_pynq/_displayport/
  make[1]: Entering directory '/tmp/pip-req-build-qwdx2lh8/pynq/lib/_pynq/_displayport'
  /usr/lib/ccache/g++ -fPIC -I/usr/include/libdrm -c -g -std=c++11 displayport.cpp
  /usr/lib/ccache/g++ -shared -fPIC -rdynamic displayport.o -ldrm -o libdisplayport.so
  rm *.o
  make[1]: Leaving directory '/tmp/pip-req-build-qwdx2lh8/pynq/lib/_pynq/_displayport'
  copying pynq/lib/_pynq/_displayport/libdisplayport.so -> build/lib/pynq/lib/video
  make PYNQ_BUILD_ARCH=aarch64 -C pynq/lib/_pynq/_xhdmi/
  make[1]: Entering directory '/tmp/pip-req-build-qwdx2lh8/pynq/lib/_pynq/_xhdmi'
  make -C .. -f embeddedsw_lib.mk
  make[2]: Entering directory '/tmp/pip-req-build-qwdx2lh8/pynq/lib/_pynq'
  make[2]: *** No rule to make target 'embeddedsw', needed by '_xhdmi/libxhdmi.so'. Stop.
  make[2]: Leaving directory '/tmp/pip-req-build-qwdx2lh8/pynq/lib/_pynq'
  make[1]: *** [Makefile:7: all] Error 2
  make[1]: Leaving directory '/tmp/pip-req-build-qwdx2lh8/pynq/lib/_pynq/_xhdmi'
  error: command 'make' failed with exit status 2

```

The error said needed by ‘\_xhdmi/libxhdmi.so’, and I have already set up the XILINX HDMI license.

I wonder how this error can be fixed. thanks!

---

<div class="post-metadata">

**Author:** ![briansune](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/briansune/32/3087_2.png) [@briansune](https://discuss.pynq.io/u/briansune)\
**Post date:** [February 25, 2023, 1:29pm UTC](https://discuss.pynq.io/t/errors-about-making-pynq-images-for-zcu106/5265/2 "2023-02-25T13:29:51Z")

</div>

@jeremyatedge

make clean and try?

How about the board files are set properly?

Enjoy~

---

<div class="post-metadata">

**Author:** ![jeremyatedge](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/jeremyatedge/32/4292_2.png) [@jeremyatedge](https://discuss.pynq.io/u/jeremyatedge)\
**Post date:** [February 25, 2023, 1:47pm UTC](https://discuss.pynq.io/t/errors-about-making-pynq-images-for-zcu106/5265/3 "2023-02-25T13:47:26Z")

</div>

@briansune

Thanks for your reply, I will make clean and try again. Btw, what do you mean by setting board file, like modifying .spec file or something else?

---

<div class="post-metadata">

**Author:** ![briansune](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/briansune/32/3087_2.png) [@briansune](https://discuss.pynq.io/u/briansune)\
**Post date:** [February 25, 2023, 2:02pm UTC](https://discuss.pynq.io/t/errors-about-making-pynq-images-for-zcu106/5265/4 "2023-02-25T14:02:43Z")

</div>

@jeremyatedge

Yes, baseoverlay, spec defines etc.

---

<div class="post-metadata">

**Author:** ![jeremyatedge](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/jeremyatedge/32/4292_2.png) [@jeremyatedge](https://discuss.pynq.io/u/jeremyatedge)\
**Post date:** [February 26, 2023, 2:18pm UTC](https://discuss.pynq.io/t/errors-about-making-pynq-images-for-zcu106/5265/5 "2023-02-26T14:18:34Z")

</div>

@briansune

Thank you so much, Briansume! I tried to make clean and make again, it works : ) 👍

---

<div class="post-metadata">

**Author:** ![briansune](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/briansune/32/3087_2.png) [@briansune](https://discuss.pynq.io/u/briansune)\
**Post date:** [February 26, 2023, 3:37pm UTC](https://discuss.pynq.io/t/errors-about-making-pynq-images-for-zcu106/5265/6 "2023-02-26T15:37:05Z")

</div>

@jeremyatedge

Great, time to rock and roll.  
ENJOY~

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/system/32/2_2.png) [@system](https://discuss.pynq.io/u/system)\
**Post date:** [March 1, 2023, 3:37pm UTC](https://discuss.pynq.io/t/errors-about-making-pynq-images-for-zcu106/5265/7 "2023-03-01T15:37:16Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
