intel / intel/confidential-computing.sgx.sdk

Problem in building v2.23

Open
#153 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hello, when building the latest v2.23, I am getting this error due to the external `cbor` dependency. Can you please help? I am using the same command for building since a long time for other versions.

```
make[5]: Leaving directory '/home/giovanni/linux-sgx/external/cbor/sgx_libcbor/build'
#in case of cbor lib is installed as lib64 on CentOS
if [ -d ./trusted/lib64 ]; then \
mv ./trusted/lib64 ./trusted/lib; \
fi
mv ./trusted/lib/libcbor.a ./trusted/lib/libsgx_cbor.a
mv: cannot stat './trusted/lib/libcbor.a': No such file or directory
```

My build command is the following:

```
git clone https://github.com/intel/linux-sgx.git && \
cd linux-sgx && git checkout tags/sgx_"${SDK_V}" && \
make preparation && \
cp external/toolset/ubuntu20.04/* /usr/local/bin && which as ld ld.gold objdump && \
make sdk DESTDIR=/opt/intel/ && \
make sdk_install_pkg
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.