I met these errors when compiling keystone-demo

90 views
Skip to first unread message

林天明

unread,
Sep 23, 2020, 9:57:20 AM9/23/20
to Keystone Enclave Forum
I met these errors when compiling keystone-demo. I modified the Makefile, since the relevant directories have changed. To these errors, I just can't figure out why.
微信截图_20200923214245_WPS图片.png

Dayeol Lee

unread,
Sep 23, 2020, 5:41:43 PM9/23/20
to 林天明, Keystone Enclave Forum
Hello,

TL;DR: it is a compatibility bug.

Thanks!

On Wed, Sep 23, 2020 at 6:57 AM 林天明 <dunami...@gmail.com> wrote:
I met these errors when compiling keystone-demo. I modified the Makefile, since the relevant directories have changed. To these errors, I just can't figure out why.
微信截图_20200923214245_WPS图片.png

--
You received this message because you are subscribed to the Google Groups "Keystone Enclave Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keystone-enclave-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keystone-enclave-forum/4beb50d6-617f-4543-bc66-09aa95dafbben%40googlegroups.com.

林天明

unread,
Sep 23, 2020, 11:08:12 PM9/23/20
to Keystone Enclave Forum
Thank you for your suggestion. But after I made these changes, I still met an error -->> "error: 'KEYSTONE_SUCCESS' was not declared in this scope"
What can I do to solve this? By the way, it's me that issued the newest issue in keystone-demo repo~~
微信截图_20200924110151_WPS图片.png微信图片_20200924110210_WPS图片.png

Dayeol Lee

unread,
Sep 29, 2020, 12:01:20 AM9/29/20
to 林天明, Keystone Enclave Forum
Hello, I just submitted a PR (https://github.com/keystone-enclave/keystone-demo/pull/15) that fixes this issue.
I didn't update the docs but will do as soon.

Note that you need to update the SDK to the latest master (instead of one that is bumped in the keystone main repo),
in order to use macros.cmake file.

Please follow up in the Github PR instead of this thread.

Thanks,
Dayeol


林天明

unread,
Sep 29, 2020, 2:26:26 AM9/29/20
to Keystone Enclave Forum
Thank you for your suggestion, really! But I still met an error. So I modified the CMakeLists.txt(Line 78 and Line 83), and finally, the compilation was successful. Still, there are some steps I don't know how to do or some errors.
for example, I ran "make hello-package", copied hello.ke into "./overlay/root", and ran "make image", and booted qemu, but there exists the "hello" directory. I am so confused. So I am still waiting for an updated doc. Come on.
微信图片_20200929141643.png 

Reply all
Reply to author
Forward
0 new messages