# "mkapp" stop working

**URL:** <https://forum.legato.io/t/mkapp-stop-working/5669>\
**Category:** Uncategorized\
**Created:** [March 24, 2021, 8:08pm UTC](https://forum.legato.io/t/mkapp-stop-working/5669 "2021-03-24T20:08:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremyinvictoria](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@jeremyinvictoria](https://forum.legato.io/u/jeremyinvictoria)\
**Post date:** [March 24, 2021, 8:08pm UTC](https://forum.legato.io/t/mkapp-stop-working/5669/1 "2021-03-24T20:08:21Z")

</div>

The app had been installed on wp7702 already before. I updated the .c source code in the development environment, saved it, and tried to re-compile the code by “mkapp -t wp77xx sqlTest.adef”, but the command returned “ninja: no work to do.”

> (lsh:wp76\_r9\_toolchain) mangoh@mangoh-vm:~/Desktop/myWorkspace/sqlTest$ mkapp -t wp77xx sqlTest.adef  
> ninja: no work to do.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 25, 2021, 12:32am UTC](https://forum.legato.io/t/mkapp-stop-working/5669/2 "2021-03-25T00:32:01Z")

</div>

Can you try VSCode ?  
Does it work if you compile for WP76?

---

<div class="post-metadata">

**Author:** ![jeremyinvictoria](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@jeremyinvictoria](https://forum.legato.io/u/jeremyinvictoria)\
**Post date:** [March 25, 2021, 6:13am UTC](https://forum.legato.io/t/mkapp-stop-working/5669/3 "2021-03-25T06:13:01Z")

</div>

looks like wp76 didn’t work either

> (lsh:wp76\_r9\_toolchain) mangoh@mangoh-vm:~/Desktop/myWorkspace/sqlTest$ mkapp -t wp76 sqlTest.adef -i “$LEGATO\_ROOT/third-party/inc” -L “$LEGATO\_ROOT/third-party/lib/sqlite3.so”  
> \*\* WARNING: Failed to receive sysroot path from compiler ‘gcc --print-sysroot’ (errno: Success).  
> ninja: error: ‘/home/mangoh/Desktop/myWorkspace/leaf-data/wp76\_r9\_toolchain/wp76-legato/build/wp76/framework/lib/liblegato.so’, needed by ‘\_build\_sqlTest/wp76/staging/read-only/lib/libComponent\_testsqlComp.so’, missing and no known rule to make it

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 25, 2021, 6:16am UTC](https://forum.legato.io/t/mkapp-stop-working/5669/4 "2021-03-25T06:16:42Z")

</div>

can you try with vscode?  
Or try with Developer studio?  
seems the path in your PC is not correct…

---

<div class="post-metadata">

**Author:** ![jeremyinvictoria](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@jeremyinvictoria](https://forum.legato.io/u/jeremyinvictoria)\
**Post date:** [March 25, 2021, 7:36am UTC](https://forum.legato.io/t/mkapp-stop-working/5669/5 "2021-03-25T07:36:31Z")

</div>

I’m wondering if it is possible to run wp76 on wp77  
Can you link me a tutorial to use Developer studio with my existing legato project?

BTW, what is this error mean(I select a different leaf profile though):

> (lsh:p1\_red77) mangoh@mangoh-vm:~/Desktop/myWorkspace/sqlTest$ mkapp -t wp77 sqlTest.adef -L “$LEGATO\_ROOT/third-party/lib/sqlite3.so”  
> \*\* ERROR:  
> Bad configuration environment file path ‘/home/mangoh/Desktop/myWorkspace/leaf-data/p1\_red77/wp77-legato/build/wp77/config.sh’.

I just simply want to use sqlite3 in my legato project, and sqlite.so has been produced following this post [https://forum.mangoh.io/t/database-support/93/15?u=jeremyzhang](https://forum.mangoh.io/t/database-support/93/15?u=jeremyzhang), but now fail to compile the code

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 25, 2021, 7:47am UTC](https://forum.legato.io/t/mkapp-stop-working/5669/6 "2021-03-25T07:47:46Z")

</div>

I don’t think you can run WP76 legato application in WP77.

I think you need to start with a simple helloworld application first before you are trying to compile an application to call sqlite3.so.
