AMDESE / AMDSEV

AMD Secure Encrypted Virtualization
294 stars 85 forks source link

SSL errors while compiling #186

Closed benschlueter closed 1 year ago

benschlueter commented 1 year ago

When I compile snp-latest I get the following compile error when building Linux

At main.c:298:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: debian/linux-image/lib/modules/6.5.0-rc6+/kernel/arch/x86/events/amd/amd-uncore.ko
benschlueter commented 1 year ago
diff --git a/common.sh b/common.sh
index e4087d5..3cf901d 100755
--- a/common.sh
+++ b/common.sh
@@ -93,6 +93,7 @@ build_kernel()
                        run_cmd ./scripts/config --enable  CGROUP_MISC
                        run_cmd ./scripts/config --module  X86_CPUID
                        run_cmd ./scripts/config --disable UBSAN
+                       run_cmd ./scripts/config --disable MODULE_COMPRESS_ZSTD

                        run_cmd echo $COMMIT >../../source-commit.kernel.$V
                popd >/dev/null

Caused because the modules are compressed, disable compression and it works again