Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

Not able to install MEI driver required by PSW

Gokhale__Sushant
Beginner
267 Views

Hi,

While trying to install mei-7.1.20-25, I encounter the error :

make -C /lib/modules/`uname -r`/build M=`pwd` modules
make[1]: Entering directory '/usr/src/linux-headers-4.13.0-36-generic'
  CC  /home/sushant/Downloads/outputdir/mei-7.1.20/src/init.o
In file included from /home/sushant/Downloads/outputdir/mei-7.1.20/src/init.c:20:0:
/home/sushant/Downloads/outputdir/mei-7.1.20/src/init.c:33:6: error: expected ‘,’ or ‘;’ before ‘__MODULE_STRING’
      __MODULE_STRING(AMT_WD_VALUE)
      ^
./include/linux/moduleparam.h:23:26: note: in definition of macro ‘__MODULE_INFO’
   = __stringify(tag) "=" info
                          ^
/home/sushant/Downloads/outputdir/mei-7.1.20/src/init.c:31:1: note: in expansion of macro ‘MODULE_PARM_DESC’
 MODULE_PARM_DESC(watchdog_timeout,
 ^
/home/sushant/Downloads/outputdir/mei-7.1.20/src/init.c: In function ‘mei_hw_init’:
/home/sushant/Downloads/outputdir/mei-7.1.20/src/init.c:234:38: warning: comparison of constant ‘8’ with boolean expression is always true [-Wbool-compare]
    if (!(dev->host_hw_state & H_RDY) != H_RDY)
                                      ^
/home/sushant/Downloads/outputdir/mei-7.1.20/src/init.c:234:38: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
/home/sushant/Downloads/outputdir/mei-7.1.20/src/init.c:237:41: warning: comparison of constant ‘8’ with boolean expression is always true [-Wbool-compare]
    if (!(dev->me_hw_state & ME_RDY_HRA) != ME_RDY_HRA)
                                         ^
/home/sushant/Downloads/outputdir/mei-7.1.20/src/init.c:237:41: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
scripts/Makefile.build:308: recipe for target '/home/sushant/Downloads/outputdir/mei-7.1.20/src/init.o' failed
make[2]: *** [/home/sushant/Downloads/outputdir/mei-7.1.20/src/init.o] Error 1
Makefile:1550: recipe for target '_module_/home/sushant/Downloads/outputdir/mei-7.1.20/src' failed
make[1]: *** [_module_/home/sushant/Downloads/outputdir/mei-7.1.20/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-36-generic'
Makefile:27: recipe for target 'all' failed
make: *** [all] Error 2

Note: By mistake, I had installed the psw with only the tools installed

(command: $ sudo apt-get install libssl-dev libcurl4-openssl-dev libprotobuf-dev)

and not following other prerequisites.

 

How should I resolve the error?

 

 

 

 

0 Kudos
0 Replies
Reply