Missing le_mdmDefs.api


#1

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


#2

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