Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Make failed showing a message that sizefunc is deprecated #2

@Buhadod

Description

@Buhadod

Hi,

I am trying to run the sample code. I've set the environment variable for PCL_DIR. but, I am facing an error about sizefunc been deprecated. Please note that export the PCL_DIR as an environment variable and run make. any help on this issue?

$ make
GEN  =>  Seal/Seal_t.c
CC   <=  Seal/Seal_t.c
CXX  <=  Seal/Seal.cpp
g++ Seal/Seal_t.o Seal/Seal.o -o Seal.so -m64 -O0 -g -Wl,--no-undefined -nostdlib -nodefaultlibs -nostartfiles -L/home/david/sgx-sdk/sgxsdk/lib64 -Wl,--whole-archive -lsgx_trts -Wl,--no-whole-archive -Wl,--start-group -lsgx_tstdc -lsgx_tcxx -lsgx_tcrypto -lsgx_tservice -Wl,--end-group -Wl,-Bstatic -Wl,-Bsymbolic -Wl,--no-undefined -Wl,-pie,-eenclave_entry -Wl,--export-dynamic -Wl,--defsym,__ImageBase=0 -Wl,--gc-sections -Wl,--version-script=Enclave/Enclave.lds
LINK =>  Seal.so
<EnclaveConfiguration>
    <ProdID>0</ProdID>
    <ISVSVN>0</ISVSVN>
    <StackMaxSize>0x40000</StackMaxSize>
    <HeapMaxSize>0x100000</HeapMaxSize>
    <TCSNum>10</TCSNum>
    <TCSPolicy>1</TCSPolicy>
    <!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release -->
    <DisableDebug>0</DisableDebug>
    <MiscSelect>0</MiscSelect>
    <MiscMask>0xFFFFFFFF</MiscMask>
</EnclaveConfiguration>
tcs_num 10, tcs_max_num 10, tcs_min_pool 1
The required memory is 3997696B.
Succeed.
SIGN =>  Seal.signed.so
GEN  =>  App/Seal_u.c
CC   <=  App/Seal_u.c
error: The attribute 'sizefunc' is deprecated. Please use 'size' attribute instead.
Makefile:256: recipe for target 'App/Enclave_u.c' failed
make: *** [App/Enclave_u.c] Error 255

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions