# Build failing when linking between components

**URL:** <https://forum.legato.io/t/build-failing-when-linking-between-components/3357>\
**Category:** Legato Application Framework\
**Created:** [June 21, 2018, 9:04pm UTC](https://forum.legato.io/t/build-failing-when-linking-between-components/3357 "2018-06-21T21:04:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvd](https://avatars.discourse-cdn.com/v4/letter/n/82dd89/32.png) [@nvd](https://forum.legato.io/u/nvd)\
**Post date:** [June 21, 2018, 9:04pm UTC](https://forum.legato.io/t/build-failing-when-linking-between-components/3357/1 "2018-06-21T21:04:28Z")

</div>

Hey all,

I think this is a fairly simple problem and I’ve run into it a few times. When building with `mkapp` or `mksys`, I’m seeing failure on the linker step when it tries to link routines from a “required” component. The code for this app can be found here: [GitHub - brnkl/legato-storage-service: Service for non-volatile data storage.](https://github.com/brnkl/legato-storage-service), and the linker error here: [linker.log · GitHub](https://gist.github.com/nvandoorn/3881e474c8e558aca168a0da4f72882b#file-linker-log).

Hopefully I’m just missing something simple in a component definition somewhere. Any help is greatly appreciated.

Cheers!

---

<div class="post-metadata">

**Author:** ![nvd](https://avatars.discourse-cdn.com/v4/letter/n/82dd89/32.png) [@nvd](https://forum.legato.io/u/nvd)\
**Post date:** [June 28, 2018, 4:41pm UTC](https://forum.legato.io/t/build-failing-when-linking-between-components/3357/2 "2018-06-28T16:41:46Z")

</div>

Turns out I forgot to include the required component’s header in the main source.
