hamishcoleman / thinkpad-ec

Infrastructure for examining and patching Thinkpad embedded controller firmware
GNU General Public License v2.0
1.07k stars 115 forks source link

Add openssl-devel dependency for Fedora #144

Closed DF2NwasJiMYLNFyAOQarZtfPPj0qXh4G closed 5 years ago

DF2NwasJiMYLNFyAOQarZtfPPj0qXh4G commented 5 years ago

Without the openssl-devel package, the following error message comes up:

git submodule update
make -C mec-tools
make[1]: Entering directory '/tmp/thinkpad-ec/mec-tools'
cc -Wall -O2 mec_encrypt.c -o mec_encrypt -lcrypto
make[1]: Leaving directory '/tmp/thinkpad-ec/mec-tools'
mec_encrypt.c:6:10: fatal error: openssl/blowfish.h: No such file or directory
    6 | #include <openssl/blowfish.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:8: mec_encrypt] Error 1
make: *** [Makefile:294: mec-tools/mec_encrypt] Error 2