Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29274 Discussions

Intel SGX SDK and PSW installation error (Error 2 during make sdk_install_pkg)

Prince_Khatri
Beginner
303 Views

Hello everyone,

 

I’m trying to install the Intel SGX SDK and PSW in one of our college lab machines as part of a project.

 

  • Hardware: Intel Core i7 9th Gen (SGX compatible)

  • BIOS: SGX enabled

  • OS: Ubantu 22.04 LTS

 

 

The issue I’m facing:

 

  • The command make preparation runs successfully without errors.

  • But when I run make sdk_install_pkg, I keep getting the same Error 2 repeatedly.

 

 

I have attached a copy of my terminal output (with line numbers for the commands I ran) to help illustrate the issue.

 

Could anyone please guide me on how to resolve this installation problem or suggest what I might be missing?

 

Thanks in advance for your help!

0 Kudos
1 Reply
jimdempseyatthecove
Honored Contributor III
213 Views

>>as: unrecognized option '-mlfence-after-load=yes'

...google search...

In summary, when encountering mlfence-after-load errors:
  • Check your binutils version. Ensure it's modern enough to support the flags you are using.

Jim Dempsey

0 Kudos
Reply