# Missing le\_mdmDefs.api

**URL:** <https://forum.legato.io/t/missing-le-mdmdefs-api/2406>\
**Category:** Uncategorized\
**Created:** [April 3, 2017, 5:18pm UTC](https://forum.legato.io/t/missing-le-mdmdefs-api/2406 "2017-04-03T17:18:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jleitner](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@jleitner](https://forum.legato.io/u/jleitner)\
**Post date:** [April 3, 2017, 5:18pm UTC](https://forum.legato.io/t/missing-le-mdmdefs-api/2406/1 "2017-04-03T17:18:55Z")

</div>

Hello,

I am seeing a build error when I try the apps/sample modemDemo application. It appears there is a missing le\_mdm\_Defs.api.

jonathan@jonathan-ThinkPad-X201:~/Desktop/samples/legato-af-master/apps/sample/modemDemo$ mkapp -t wp85 modemDemo.adef  
\*\* ERROR:  
/home/jonathan/Desktop/samples/legato-af-master/apps/sample/modemDemo/demoComponent/Component.cdef:17:8: error: Can’t find dependent .api file: ‘le\_mdmDefs.api’.  
jonathan@jonathan-ThinkPad-X201:~/Desktop/samples/legato-af-master/apps/sample/modemDemo$

Thank you,

Jon

---

<div class="post-metadata">

**Author:** ![akasilin](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@akasilin](https://forum.legato.io/u/akasilin)\
**Post date:** [April 17, 2017, 4:47pm UTC](https://forum.legato.io/t/missing-le-mdmdefs-api/2406/2 "2017-04-17T16:47:37Z")

</div>

Hi jleitner,

Please include the dependency api file as below. In general, all dependant api files could be found at  
your ${Legato checkout location}/interfaces.

$ mkapp -t wp85 modemDemo.adef  
\*\* ERROR:  
…/legato/apps/sample/modemDemo/demoComponent/Component.cdef:17:8: error: Can’t find dependent .api file: ‘le\_mdmDefs.api’.

$ mkapp -t wp85 modemDemo.adef -i $LEGATO\_ROOT/interfaces/modemServices  
[31/31] Packaging app
