# Fedora freedom-u-sdk make file error

**URL:** <https://forums.sifive.com/t/fedora-freedom-u-sdk-make-file-error/2485>\
**Category:** HiFive1 Rev B\
**Created:** [June 14, 2019, 4:55am UTC](https://forums.sifive.com/t/fedora-freedom-u-sdk-make-file-error/2485 "2019-06-14T04:55:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sateesh](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sateesh](https://forums.sifive.com/u/sateesh)\
**Post date:** [June 14, 2019, 4:55am UTC](https://forums.sifive.com/t/fedora-freedom-u-sdk-make-file-error/2485/1 "2019-06-14T04:55:55Z")

</div>

Hi,

```
   I am trying to work with fedora riscv64 (older version) . when i am using make command i am getting this error .if anybody have idea for solving this issue share me i will try to resolve this issue.

```

 ![Screenshot%20from%202019-06-14%2010-20-43](https://us1.discourse-cdn.com/flex020/uploads/sifive/original/1X/e45b5d62a453cb96b7aa5592d298ff721ae8465c.png)

Regards,  
Sateesh

---

<div class="post-metadata">

**Author:** ![jimw](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jimw](https://forums.sifive.com/u/jimw)\
**Post date:** [June 14, 2019, 4:06pm UTC](https://forums.sifive.com/t/fedora-freedom-u-sdk-make-file-error/2485/2 "2019-06-14T16:06:37Z")

</div>

If you look at the freedom-u-sdk Makefile, you can see  
target := riscv64-buildroot-linux-gnu  
CROSS\_COMPILE := $(RISCV)/bin/$(target)-  
Your error is while building the kernel is  
riscv64-unknown-linux-gnu-gcc not found  
so you have CROSS\_COMPILE set wrong somehow.
