# Cannot Build Linux Source

**URL:** <https://forum.legato.io/t/cannot-build-linux-source/5613>\
**Category:** Legato Application Framework\
**Created:** [February 16, 2021, 7:42pm UTC](https://forum.legato.io/t/cannot-build-linux-source/5613 "2021-02-16T19:42:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcchurchill](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@dcchurchill](https://forum.legato.io/u/dcchurchill)\
**Post date:** [February 16, 2021, 7:42pm UTC](https://forum.legato.io/t/cannot-build-linux-source/5613/1 "2021-02-16T19:42:31Z")

</div>

Trying to build the linux source for swi-fx30-catm\_2.0.0 (Release R11.0.0.007 + Legato 18.09.4) and I get the following errors on running `make`:

```
ERROR: Task do_install in /swi-linux-src/poky/meta/recipes-core/base-files/base-files_3.0.14.bb depends upon non-existent task do_deploy in /swi-linux-src/meta-swi/common/recipes-legato/legato-af/legato-af_git.bb
ERROR: Command execution failed: 1

```

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![dcchurchill](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@dcchurchill](https://forum.legato.io/u/dcchurchill)\
**Post date:** [February 16, 2021, 9:15pm UTC](https://forum.legato.io/t/cannot-build-linux-source/5613/2 "2021-02-16T21:15:44Z")

</div>

Disregard, I had not downloaded the legato source (`leaf getsrc legato`) did that and all is well now.

---

<div class="post-metadata">

**Author:** ![Pankaj](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/pankaj/32/1317_2.png) [@Pankaj](https://forum.legato.io/u/Pankaj)\
**Post date:** [April 30, 2021, 5:17am UTC](https://forum.legato.io/t/cannot-build-linux-source/5613/3 "2021-04-30T05:17:21Z")

</div>

@dcchurchill ,

facing the similar issue legato source is installed in the linus srcdirectory or in a different diectory?

I downloaded the legato src in different directory and I still face the issue.
