I'm getting Error during the build the program

Hellooo
I’m using this version of studio
Developer Studio 5.3.1
Copyright (c) Sierra Wireless 2009-2018
Build Version 5.3.1.201802071201
Supported Legato versions: [16.01 - 19.01]

here u can see the error what im getting druing build project,please go through once?
/tmp/build/sam/Target_Legato_Debug/staging/read-only/lib/libComponent_samComponent.so: undefined reference to curl_global_cleanup' /tmp/build/sam/Target_Legato_Debug/staging/read-only/lib/libComponent_samComponent.so: undefined reference to curl_easy_perform’
/tmp/build/sam/Target_Legato_Debug/staging/read-only/lib/libComponent_samComponent.so: undefined reference to curl_global_init' /tmp/build/sam/Target_Legato_Debug/staging/read-only/lib/libComponent_samComponent.so: undefined reference to curl_easy_init’
/tmp/build/sam/Target_Legato_Debug/staging/read-only/lib/libComponent_samComponent.so: undefined reference to curl_easy_strerror' /tmp/build/sam/Target_Legato_Debug/staging/read-only/lib/libComponent_samComponent.so: undefined reference to curl_easy_setopt’
/tmp/build/sam/Target_Legato_Debug/staging/read-only/lib/libComponent_samComponent.so: undefined reference to `curl_easy_cleanup’
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
make: *** [target] Error 1
Makefile:37: recipe for target ‘target’ failed
make: Leaving directory ‘D:\likhith\codeexample\sam/Target_Legato_Debug’

Please try to compile the sample application httpget which will also use curl function.

Hello,

Did you include the curl library in the component definition of your application?

Also, if you are starting with Legato I recommend to start with Leaf and VSCode. There is already a beta plugin for VSCode (altough I am not using it yet). As IDE you can still use Eclipse if you want. But Leaf itslef is a great software for package managment and the future is definitely is that way, please check these links if you are interested:

Best,
tom

Hi,

Sampled application is compiled successfully.

https://curl.haxx.se/libcurl/c/example.html, i take this example code and extract that code, after compiling the example code which was i copied the path, i got the target failed.

Regards,

Likith

I took the 10-at-a-time as example, no problem is found to compile as legato application. curl_example.rar (3.6 MB)
You can use my application here.

Hi
I’m using wp7608 module and Developer studio.Im trying to send a mail by using this code.

this code build successfully in developer studio ,but
I try to run this code ,Im getting this error curl_easy_perform() failed: Unsupported protocol

But in curl smtp,smtps protocols are enabled

root@swi-mdm9x28-wp:~# curl -V
curl 7.61.0 (arm-poky-linux-gnueabi) libcurl/7.61.0 OpenSSL/1.0.2p zlib/1.2.11 libssh2/1.8.0
Release-Date: 2018-07-11
Protocols: file ftp ftps http https scp sftp smtp smtps
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy
.Please tell how to slove this problem

maill.c (2.54 KB)

in your adef file, you need to add the following to import on-board library to legato application :

requires:
{
	file:
    {
    	
 
/usr/lib/libcurl.so.4.5.0 /lib/libcurl.so.4
/usr/lib/libssh2.so.1.0.1 /lib/libssh2.so.1

Also there is a problem in DNS:

you need to change your code to the following to use real IP address:

curl_easy_setopt(curl, CURLOPT_URL, "smtps://108.177.125.109:465");
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYSTATUS, 0);

have done the changes what u suggested in.adef file,then it works fine only for one time,then now im trying to send the mail but its not working? whats the issue with this?

I have attached the Log what im getting please go through once.

Jan 6 05:38:57 | uartMode@2[3497]/swiQmi T=main | swiQmi.c PrintServiceDetails() 338 | Service.2: library_version.6 idl_version.1 service_id.0x2 idl_minor_version.57
Jan 6 05:38:57 | uartMode@1[3496]/swiQmi T=main | swiQmi.c PrintServiceDetails() 338 | Service.2: library_version.6 idl_version.1 service_id.0x2 idl_minor_version.57
Jan 6 05:38:57 | QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-6
Jan 6 05:38:57 | uartMode@1[3496]/swiQmi T=main | swiQmi.c StartService() 103 | qmi_client_get_service_list rc=0, numServices=1
Jan 6 05:38:57 | QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-6
Jan 6 05:38:57 | uartMode@2[3497]/swiQmi T=main | swiQmi.c StartService() 103 | qmi_client_get_service_list rc=0, numServices=1
Jan 6 05:38:57 | supervisor[832]/supervisor T=main | proc.c proc_SigChildHandler() 2051 | Process ‘uartMode@1’ (PID: 3496) has exited with exit code 0.
Jan 6 05:38:57 | supervisor[832]/supervisor T=main | proc.c proc_SigChildHandler() 2051 | Process ‘uartMode@2’ (PID: 3497) has exited with exit code 0.
Jan 6 05:38:57 | supervisor[832]/supervisor T=main | app.c app_StopComplete() 4686 | app ‘tools’ has stopped.
Jan 6 05:38:57 | supervisor[832]/supervisor T=main | apps.c DeactivateAppContainer() 374 | Application ‘tools’ has stopped.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateDaemon.c le_update_Start() 2092 | Update request accepted.
Jan 6 05:39:17 | updateDaemon[3605]/framework T=main | LE_FILENAME user_Create() 1370 | Created user ‘SecurityUnpack’ with uid 1024 and gid 1024.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum da6abe287ad89d4c133768063b44a947 is still needed.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum ddef99431a86b4cc236d5b04abfe5666 is still needed.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum c11bf618cc4812fabfc3002f565195a6 is still needed.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum 87b1488b400ad6a6fd380fe4297545f2 is still needed.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum ab1e8460152d0ab22d13dd28e366c6f4 is still needed.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum b90e5184d3a8864edb9b288ad8df5f02 is still needed.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum 3b784d7e383e75d5136a7ec090169787 is still needed.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum e0c4ed114ccc7b5ff1ad8a59ddaf5c2b is still needed.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum 56c5eb34ca871da24767dfcbb3a801a6 is still needed.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum 3e87d6e0ebef33669f85856323f0c42e is still needed.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum c7a5bacec69cb75571937cd16850ad2c is still needed.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum c681852e0b1c0a05260209d661233c00 is still needed.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum deaa955d1609f0f51004b66101d48093 is still needed.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum c0a0f0c9d937ef49b817912689470f09 is still needed.
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c JsonDone() 895 | App with MD5 sum 7feab22a3052dd37ff7682b85fba99c7 being unpacked.

Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 3980/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 8076/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 12172/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 16268/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 20364/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 24460/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 28556/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 32501/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 49036/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 65118/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 89694/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 97735/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 114270/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 130352/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 154928/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 162969/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 179504/1258210
Jan 6 05:39:17 | updateDaemon[846]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 195586/1258210
Jan 6 05:39:22 | updateDaemon[846]/updateDaemon T=main | system.c system_Snapshot() 917 | Snapshot taken of system index 147. Current system index is now 148.
Jan 6 05:39:22 | updateDaemon[846]/updateDaemon T=main | system.c system_SymlinkApp() 611 | Creating symlink /legato/systems/current/apps/nmb → /legato/apps/7feab22a3052dd37ff7682b85fba99c7
Jan 6 05:39:22 | updateDaemon[846]/updateDaemon T=main | appUser.c appUser_Add() 37 | Creating user ‘appnmb’ for application ‘nmb’.
Jan 6 05:39:22 | updateDaemon[846]/framework T=main | LE_FILENAME user_Create() 1370 | Created user ‘appnmb’ with uid 1027 and gid 1027.
Jan 6 05:39:22 | sdir[3636]/framework T=main | LE_FILENAME user_Init() 445 | /etc is writable
Jan 6 05:39:22 | updateDaemon[846]/framework T=main | LE_FILENAME sysStatus_MarkTried() 261 | Current system has been marked “tried 1”.
Jan 6 05:39:22 | avcDaemon[859]/avcDaemon T=main | avcAppUpdate.c AppInstallHandler() 851 | Application, ‘nmb,’ has been installed.
Jan 6 05:39:22 | avcDaemon[859]/avcDaemon T=main | avcAppUpdate.c AppInstallHandler() 898 | Local install, create new object9 instance.
Jan 6 05:39:22 | updateDaemon[846]/updateDaemon T=main | supCtrl.c supCtrl_StartApp() 61 | Starting app ‘nmb’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c app_Create() 3207 | Creating app ‘nmb’
Jan 6 05:39:22 | avcDaemon[859]/avcDaemon T=main | avcAppUpdate.c GetObject9InstanceForApp() 648 | No instance mapping found, creating new.
Jan 6 05:39:22 | avcDaemon[859]/avcDaemon T=main | assetData.c assetData_CreateInstanceById() 1990 | Creating asset instance for lwm2m/9
Jan 6 05:39:22 | avcDaemon[859]/avcDaemon T=main | assetData.c assetData_CreateInstanceById() 2092 | Finished creating instance 13 for lwm2m/9
Jan 6 05:39:22 | avcDaemon[859]/avcDaemon T=main | avcAppUpdate.c GetObject9InstanceForApp() 657 | Recording new instance id.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | proc.c GetFaultAction() 323 | No fault action specified for process ‘ml’. Assuming ‘ignore’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | proc.c GetWatchdogAction() 359 | ml watchdogAction ‘’ in proc section
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | proc.c GetWatchdogAction() 359 | ml watchdogAction ‘’ in proc section
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c app_Start() 3420 | Starting app ‘nmb’
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/dev/log’ to ‘/legato/systems/current/appsWriteable/nmb/dev/log’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/dev/null’ to ‘/legato/systems/current/appsWriteable/nmb/dev/null’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/dev/zero’ to ‘/legato/systems/current/appsWriteable/nmb/dev/zero’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/legato/systems/current/lib/liblegato.so’ to ‘/legato/systems/current/appsWriteable/nmb/lib/liblegato.so’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/lib/ld-linux.so.3’ to ‘/legato/systems/current/appsWriteable/nmb/lib/ld-linux.so.3’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/lib/libc.so.6’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libc.so.6’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/lib/libpthread.so.0’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libpthread.so.0’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/lib/librt.so.1’ to ‘/legato/systems/current/appsWriteable/nmb/lib/librt.so.1’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/lib/libdl.so.2’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libdl.so.2’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/lib/libgcc_s.so.1’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libgcc_s.so.1’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/lib/libm.so.6’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libm.so.6’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/usr/lib/libstdc++.so.6’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libstdc++.so.6’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/legato/systems/current/apps/nmb/read-only/lib/libgmp.so.10’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libgmp.so.10’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/legato/systems/current/apps/nmb/read-only/lib/libComponent_mlComponent.so’ to '/legato/systems/current/appsWriteable/nmb/lib/libCompo
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/legato/systems/current/apps/nmb/read-only/lib/libssl.so.1.0.2’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libssl.so.1.0.2’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/legato/systems/current/apps/nmb/read-only/lib/libcrypto.so.1.0.2’ to '/legato/systems/current/appsWriteable/nmb/lib/libcrypto.so.1.0.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/legato/systems/current/apps/nmb/read-only/lib/libcurl.so.4’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libcurl.so.4’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/legato/systems/current/apps/nmb/read-only/lib/libz.so.1’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libz.so.1’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/legato/systems/current/apps/nmb/read-only/bin/ml’ to ‘/legato/systems/current/appsWriteable/nmb/bin/ml’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2034 | Skipping file link ‘/legato/systems/current/apps/nmb/read-only/lib/libgmp.so.10’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libgmp.so.10’: Already
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2034 | Skipping file link ‘/legato/systems/current/apps/nmb/read-only/lib/libcurl.so.4’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libcurl.so.4’: Already
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2034 | Skipping file link ‘/legato/systems/current/apps/nmb/read-only/lib/libcrypto.so.1.0.2’ to '/legato/systems/current/appsWriteable/nmb/lib/libcrypto.so.1.0
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2034 | Skipping file link ‘/legato/systems/current/apps/nmb/read-only/lib/libssl.so.1.0.2’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libssl.so.1.0.2’: A
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2034 | Skipping file link ‘/legato/systems/current/apps/nmb/read-only/lib/libz.so.1’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libz.so.1’: Already exist
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/bin/date’ to ‘/legato/systems/current/appsWriteable/nmb/bin/date’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/bin/sh’ to ‘/legato/systems/current/appsWriteable/nmb/bin/sh’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/etc/hosts’ to ‘/legato/systems/current/appsWriteable/nmb/etc/hosts’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/etc/nsswitch.conf’ to ‘/legato/systems/current/appsWriteable/nmb/etc/nsswitch.conf’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/etc/resolv.conf’ to ‘/legato/systems/current/appsWriteable/nmb/etc/resolv.conf’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/etc/ssl/certs/ca-certificates.crt’ to ‘/legato/systems/current/appsWriteable/nmb/etc/ssl/certs/ca-certificates.crt’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/usr/lib/libcurl.so.4.5.0’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libcurl.so.4’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/lib/libnss_compat.so.2’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libnss_compat.so.2’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/lib/libnss_dns.so.2’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libnss_dns.so.2’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/lib/libnss_files.so.2’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libnss_files.so.2’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/lib/libresolv.so.2’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libresolv.so.2’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/usr/lib/libssh2.so.1.0.1’ to ‘/legato/systems/current/appsWriteable/nmb/lib/libssh2.so.1’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/usr/bin/curl’ to ‘/legato/systems/current/appsWriteable/nmb/usr/bin/curl’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2034 | Skipping file link ‘/dev/null’ to ‘/legato/systems/current/appsWriteable/nmb/dev/null’: Already exists
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/dev/random’ to ‘/legato/systems/current/appsWriteable/nmb/dev/random’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/dev/urandom’ to ‘/legato/systems/current/appsWriteable/nmb/dev/urandom’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateTmpFs() 1738 | Mounted tmpfs at /legato/systems/current/appsWriteable/nmb/tmp.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/tmp/legato/serviceDirectoryServer’ to ‘/legato/systems/current/appsWriteable/nmb/tmp/legato/serviceDirectoryServer’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link ‘/tmp/legato/serviceDirectoryClient’ to ‘/legato/systems/current/appsWriteable/nmb/tmp/legato/serviceDirectoryClient’.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxCoreDumpFileBytes to value 524288.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxFileBytes to value 524288.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxLockedMemoryBytes to value 8192.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxFileDescriptors to value 256.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxMQueueBytes to value 512.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxThreads to value 20.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxQueuedSignals to value 100.
Jan 6 05:39:22 | supervisor[832]/supervisor T=main | proc.c proc_Start() 1390 | Starting process ‘ml’ with pid 3637
Jan 6 05:39:22 | updateDaemon[846]/updateDaemon T=main | app.c app_InstallIndividual() 794 | App nmb <7feab22a3052dd37ff7682b85fba99c7> installed
Jan 6 05:39:22 | updateDaemon[846]/updateDaemon T=main | updateDaemon.c ApplyAppUpdate() 956 | App ‘nmb<7feab22a3052dd37ff7682b85fba99c7>’ installed properly.
Jan 6 05:39:22 | updateDaemon[846]/updateDaemon T=main | updateDaemon.c StartProbation() 214 | System on probation (timer started).
Jan 6 05:39:22 | supervisor[3637]/supervisor T=main | proc.c proc_Start() 1355 | Execing ‘ml’
Jan 6 05:39:22 | avcDaemon[859]/avcDaemon T=main | avcAppUpdate.c avcApp_SetSwUpdateState() 3027 | No update is going on. CurrentObj9 = null
Jan 6 05:39:22 | avcDaemon[859]/avcDaemon T=main | avcAppUpdate.c avcApp_SetSwUpdateResult() 2962 | No update is going on. CurrentObj9 = null
Jan 6 05:39:23 | avcDaemon[859]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 691 | Found 4 object 9 instances
Jan 6 05:39:23 | avcDaemon[859]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 692 | obj9ListLen; 52 obj9List: </lwm2m/9/0>,</lwm2m/9/7>,</lwm2m/9/9>,</lwm2m/9/13>
Jan 6 05:39:23 | avcDaemon[859]/avcDaemon T=main | assetData.c RegUpdateTimerHandler() 3262 | RegUpdate timer expired; reporting REG_UPDATE
Jan 6 05:39:23 | avcDaemon[859]/avcDaemon T=main | assetData.c assetData_RegistrationUpdate() 1946 | unsupported function called.
Jan 6 05:39:32 | updateDaemon[846]/updateDaemon T=main | updateDaemon.c updateDaemon_MarkGood() 227 | System passed probation. Marking ‘good’.
Jan 6 05:39:33 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum da6abe287ad89d4c133768063b44a947 is still needed.
Jan 6 05:39:33 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum ddef99431a86b4cc236d5b04abfe5666 is still needed.
Jan 6 05:39:33 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum c11bf618cc4812fabfc3002f565195a6 is still needed.
Jan 6 05:39:33 | updateDaemon[846]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1081 | App with MD5 sum 87b1488b400ad6a6fd380fe4297545f2 is still needed.

I don’t see the application starts, can you add a message in component_init() function?