Tinydtls build issue for Legato wp8548 firmware - resolved


#1

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


#2

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