You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/11/16 01:36:41 UTC

[GitHub] [incubator-teaclave] gaojunjie03 opened a new issue #434: How do I add the ocall function

gaojunjie03 opened a new issue #434:
URL: https://github.com/apache/incubator-teaclave/issues/434


   I write an ocall function on the app of execution.
   
   And then in enclave_ fa.edl, This ocall function declaration is added to the untrusted area of the file. Then I went to executor/src/builtin.rs The ocall function is introduced by using extern "C".
   
   when i compile ,it go wrong :
   undefined reference to "ocall_test_func"
   
   I'm following the "ocall_ handle_ file_request”you wrote. this ocall function can comile.  but my custom ocall go wrong,  so how can i do that?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] gaojunjie03 closed issue #434: How do I add the ocall function

Posted by GitBox <gi...@apache.org>.
gaojunjie03 closed issue #434:
URL: https://github.com/apache/incubator-teaclave/issues/434


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] gaojunjie03 closed issue #434: How do I add the ocall function

Posted by GitBox <gi...@apache.org>.
gaojunjie03 closed issue #434:
URL: https://github.com/apache/incubator-teaclave/issues/434


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] gaojunjie03 commented on issue #434: How do I add the ocall function

Posted by GitBox <gi...@apache.org>.
gaojunjie03 commented on issue #434:
URL: https://github.com/apache/incubator-teaclave/issues/434#issuecomment-727787423


   oh  i know  that


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org