# \[BBB\] Error while uboot compile

**URL:** <https://forum.digikey.com/t/bbb-error-while-uboot-compile/7350>\
**Category:** Linux Discussions\
**Created:** [July 11, 2020, 7:57am UTC](https://forum.digikey.com/t/bbb-error-while-uboot-compile/7350 "2020-07-11T07:57:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![taek8461](https://avatars.discourse-cdn.com/v4/letter/t/34f0e0/32.png) [@taek8461](https://forum.digikey.com/u/taek8461)\
**Post date:** [July 11, 2020, 7:57am UTC](https://forum.digikey.com/t/bbb-error-while-uboot-compile/7350/1 "2020-07-11T07:57:57Z")

</div>

Hi  
I tried to compile u-boot as following site.  
[https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone+Black](https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone+Black)

but it has some errors as belows

 ![image](https://global.discourse-cdn.com/digikey/original/2X/f/f864df1f8cf1dba27393e47f7b16328344f0e44f.png)

What’s wrong with it?  
Could you let me know how to fix it?

Regards.

---

<div class="post-metadata">

**Author:** ![RobertCNelson](https://sea2.discourse-cdn.com/digikey/user_avatar/forum.digikey.com/robertcnelson/32/12_2.png) [@RobertCNelson](https://forum.digikey.com/u/RobertCNelson)\
**Post date:** [July 13, 2020, 1:40pm UTC](https://forum.digikey.com/t/bbb-error-while-uboot-compile/7350/2 "2020-07-13T13:40:40Z")

</div>

Hi @taek8461,

```auto
/bin/sh: 1: cc: not found

```

U-Boot has some native applications that need to be built to help finalize the final application. It’s looking for native version of gcc.

```auto
sudo apt update
sudo apt install gcc

```

Regards,

---

<div class="post-metadata">

**Author:** ![taek8461](https://avatars.discourse-cdn.com/v4/letter/t/34f0e0/32.png) [@taek8461](https://forum.digikey.com/u/taek8461)\
**Post date:** [July 14, 2020, 5:43am UTC](https://forum.digikey.com/t/bbb-error-while-uboot-compile/7350/3 "2020-07-14T05:43:01Z")

</div>

Thank you so much~
