# Tinydtls build issue for Legato wp8548 firmware - resolved

**URL:** <https://forum.legato.io/t/tinydtls-build-issue-for-legato-wp8548-firmware-resolved/3005>\
**Category:** Legato Application Framework\
**Created:** [February 1, 2018, 3:37pm UTC](https://forum.legato.io/t/tinydtls-build-issue-for-legato-wp8548-firmware-resolved/3005 "2018-02-01T15:37:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![griggs](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@griggs](https://forum.legato.io/u/griggs)\
**Post date:** [February 1, 2018, 3:37pm UTC](https://forum.legato.io/t/tinydtls-build-issue-for-legato-wp8548-firmware-resolved/3005/1 "2018-02-01T15:37:54Z")

</div>

I need new Legato firmware for a wp85, and I am having serious issues building libqmi. Since this is STRAIGHT out of the tarball (and same issue with Git clone) I have trouble seeing this as a toolchain issue, but I am obviously missing something.

1. download tarball for Legato and extract - have tried both 17.09 and 17.11
2. make clean
3. make wp85

And it blows up as soon as the make gets to the tls portion with :

make[2]: Leaving directory ‘/home/mangoh/Downloads/legato-17.11.0/build/wp85/system/component/9ee2e3f4dfbe94e932a0deb4489478d7/aes’  
make[2]: Entering directory ‘/home/mangoh/Downloads/legato-17.11.0/build/wp85/system/component/9ee2e3f4dfbe94e932a0deb4489478d7/ecc’  
test -d /home/mangoh/Downloads/legato-17.11.0/build/wp85/3rdParty/tinydtls/include/tinydtls/ecc || mkdir -p /home/mangoh/Downloads/legato-17.11.0/build/wp85/3rdParty/tinydtls/include/tinydtls/ecc  
cp ecc.h test\_helper.h /home/mangoh/Downloads/legato-17.11.0/build/wp85/3rdParty/tinydtls/include/tinydtls/ecc  
make[2]: Leaving directory ‘/home/mangoh/Downloads/legato-17.11.0/build/wp85/system/component/9ee2e3f4dfbe94e932a0deb4489478d7/ecc’  
make[1]: Leaving directory ‘/home/mangoh/Downloads/legato-17.11.0/build/wp85/system/component/9ee2e3f4dfbe94e932a0deb4489478d7’  
ninja: build stopped: subcommand failed.  
Makefile:414: recipe for target ‘system\_wp85’ failed  
make: \*\*\* [system\_wp85] Error 1  
m

---

<div class="post-metadata">

**Author:** ![griggs](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@griggs](https://forum.legato.io/u/griggs)\
**Post date:** [February 1, 2018, 10:07pm UTC](https://forum.legato.io/t/tinydtls-build-issue-for-legato-wp8548-firmware-resolved/3005/2 "2018-02-01T22:07:37Z")

</div>

Warning - DO NOT update your copy of Ubuntu. New libs break the build unpredictably

---

<div class="post-metadata">

**Author:** ![plu](https://avatars.discourse-cdn.com/v4/letter/p/e19b73/32.png) [@plu](https://forum.legato.io/u/plu)\
**Post date:** [July 30, 2018, 12:50pm UTC](https://forum.legato.io/t/tinydtls-build-issue-for-legato-wp8548-firmware-resolved/3005/3 "2018-07-30T12:50:26Z")

</div>

HI Griggs,  
did you succeed in resolving the issue?
