Closed SHREEKANT-KUMAR-PRASAD closed 4 months ago
Sorry, but when I put the contents of the sdk and secGear directories locally in the ~/dev/sdk and ~/dev/secGear directories respectively and execut the following command to compile does not prompt the above problem:
# using the pre-compiled sdk toolkit https://ipads.se.sjtu.edu.cn:1313/d/6a464e02cd3d4c1bafb0/ and install penglai-ssl-2.10-1.riscv64.rpm
cd ~/dev
cd sdk
vim demo/Makefile #comment evm and evm/host
PENGLAI_SDK=$(pwd) make -j$(nproc)
cd ~/dev/secGear
mkdir debug
cmake -DENABLE_ENC_KEY=1 -DCMAKE_BUILD_TYPE=Debug -DENCLAVE=PL -DSDK_PATH=/root/dev/sdk -DSSL_PATH=/root/dev/sdk/penglai_sdk_ssl -DPL_ SSLLIB_PATH=/opt/penglai/openssl ..
make -j$(nproc)
make install
If you still fail to run the demo, please provide more detailed log messages or run instructions so that we can find the problem.
Thanks for the comment but In my penglai sdk I am not geeting this folder penglai_sdk_ssl .
Thanks for your solution but in my penglai SDK I am not getting penglai_sdk_ssl. Can you tell me about this issue? Thanks & Regards Shreekant
On Tue, 6 Feb 2024, 09:23 Unlearned Man, @.***> wrote:
Sorry, but when I put the contents of the sdk and secGear directories locally in the ~/dev/sdk and ~/dev/secGear directories respectively and execut the following command to compile does not prompt the above problem:
using the pre-compiled sdk toolkit https://ipads.se.sjtu.edu.cn:1313/d/6a464e02cd3d4c1bafb0/ and install penglai-ssl-2.10-1.riscv64.rpm
cd ~/dev cd sdk vim demo/Makefile #comment evm and evm/host PENGLAI_SDK=$(pwd) make -j$(nproc)
cd ~/dev/secGear mkdir debug
cmake -DENABLE_ENC_KEY=1 -DCMAKE_BUILD_TYPE=Debug -DENCLAVE=PL -DSDK_PATH=/root/dev/sdk -DSSL_PATH=/root/dev/sdk/penglai_sdkssl -DPL SSLLIB_PATH=/opt/penglai/openssl .. make -j$(nproc) make install
If you still fail to run the demo, please provide more detailed log messages or run instructions so that we can find the problem.
— Reply to this email directly, view it on GitHub https://github.com/Penglai-Enclave/Penglai-Enclave-sPMP/issues/112#issuecomment-1928738123, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFYZJUP3HCZF2UCKIMS54XDYSGSJ3AVCNFSM6AAAAABCUMSUHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRYG4ZTQMJSGM . You are receiving this because you authored the thread.Message ID: @.***>
can you help me to locate penglai_sdk_ssl.
someone look into my issue please
can you help me to locate penglai_sdk_ssl.
Download link : https://ipads.se.sjtu.edu.cn:1313/d/6a464e02cd3d4c1bafb0/
In the package penglai_secGear_env.tar.gz you will find the directory _sdk/penglai_sdkssl, which has the same contents as penglai-ssl-2.10-1.riscv64.rpm installed in /opt/penglai/openssl.
Sorry, but penglai_sdk_ssl directory is not located inside the penglai_secGear_env.tar.gz. Can you please check and reconfirm!
Hi Fly0307,
Sorry, but I aslo not getting the penglai_sdk_ssl directory in the penglai_secgear_env.tar.gz which I downloaded from the above suggested link.So please look into this .
Hi Fly0307,
Sorry, but I aslo not getting the penglai_sdk_ssl directory in the penglai_secgear_env.tar.gz which I downloaded from the above suggested link.So please look into this .
Sorry, we have updated the latest link containing the penglai_sdk_ssl directory zip package : https://ipads.se.sjtu.edu.cn:1313/f/96aa0496d47441d6824d/
![Uploading secgearlookingmysqlclientlib.png…]() Hi fly, can you have any reference documents regarding MySQL database connectivity with sec gear. I have tried some attempt to connect to mysql database but its fail,so I am sharing A screenshot of my output attached below
![Uploading image.png…]()
issue: its seems that mysql library is not accessable to secgear while buliding the database connectivity code. thanks shreekant
os-openEuler 23.09 kernal-6.4.0 reference document links for demo run https://github.com/Penglai-Enclave/Penglai-secGear/blob/riscv-penglai-zx-dev/docs/riscv_tee.md Error which I got during compilation of demos [root@openeuler-riscv64 debug]# cmake -DENABLE_ENC_KEY=1 -DCMAKE_BUILD_TYPE=Debug -DENCLAVE=PL -DSDK_PATH=/root/dev/sdk -DSSL_PATH=/root/dev/sdk/penglai_sdk_ssl -DPL_SSLLIB_PATH=/opt/penglai/openssl .. =============cmake help info======================= Example default cmd: cmake .. same with default: cmake -DENCLAVE=SGX -DSDK_PATH=/opt/intel/sgxsdk -DSSL_PATH=/opt/intel/sgxssl .. cmake [-DCMAKE_BUILD_TYPE=val] [-DENCLAVE=val] [-DCC_SIM=ON] [-DSDK_PATH=path] [-DSSL_PATH=path] .. CMAKE_BUILD_TYPE:[optional] pass Debug if you need file line info in log, default log without file line ENCLAVE:[optional] valid val: SGX --default, GP --trustzone, PL --Penglai CC_SIM:[optional] only support by SGX SDK_PATH:[optional] default SGX:/opt/intel/sgxsdk, GP:/opt/itrustee_sdk, PL:/root/dev/sdk; pass SDK_PATH if you installed sdk in custom path SSL_PATH:[optional] pass security ssl installed path when your application use ssl =============cmake help info======================= Current Platform: RISC-V, Penglai SDK PATH:/root/dev/sdk CMake Error at examples/seal_data/enclave/CMakeLists.txt:155 (set_target_properties): set_target_properties Can not find target to add properties to: seal_data
CMake Error at examples/seal_data/host/CMakeLists.txt:69 (target_link_libraries): Cannot specify link libraries for target "secgear_seal_data" which is not built by this project.
-- Configuring incomplete, errors occurred! See also "/root/dev/secGear/debug/CMakeFiles/CMakeOutput.log".
thanks shreekant