sslab-gatech / opensgx

OpenSGX
Other
294 stars 80 forks source link

I'm running Ubuntu 14.04( 32 bit kernel on a 64 bit CPU) #15

Closed optimus1130 closed 8 years ago

optimus1130 commented 8 years ago

I can't get this system compile following the instructions in README.md Should I adjust something according to my OS and CPU version? well, the $./configure-arch $make works fine but when I get into the ../user/polarssl_sgx dir I got this when make:

aes.c: In function ‘sgx_aes_setkey_enc’: aes.c:506:9: error: ‘aes_padlock_ace’ undeclared (first use in this function) if( aes_padlock_ace == -1 ) ^ aes.c:506:9: note: each undeclared identifier is reported only once for each function it appears in aes.c: In function ‘sgx_aes_setkey_dec’: aes.c:605:9: error: ‘aes_padlock_ace’ undeclared (first use in this function) if( aes_padlock_ace == -1 )

would you please help me trouble shooting this? Thanks a lot!

optimus1130 commented 8 years ago

ok, I changed variable name in aes.c, line 86 (from sgx_aes_padlock_ace to aes_padlockace), and now , it complies^^