You are not logged in.
I am trying to compile android kernel but i was getting this error
/home/inferno0230/android/pep/kernel/oneplus/martini/scripts/extract-cert.c:21:1
0: fatal error: 'openssl/bio.h' file not found
#include <openssl/bio.h>
^~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [scripts/Makefile.host:107: scripts/extract-cert] Error 1I tried changing <> to "" but still same error exists
/home/inferno0230/android/pep/kernel/oneplus/martini/scripts/extract-cert.c:21:1
0: fatal error: 'openssl/bio.h' file not found
#include "openssl/bio.h"
^~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [scripts/Makefile.host:107: scripts/extract-cert] Error 1After googling around for 3 hrs, I installed some packages (lib32-openssl, lib32-openssl-1.1 , openssl-1.1) but the error still exists.
i did found that peeps on debian have a package to fix this named libssl-dev but ig this should be already included in base
Packages i have installed :
$ yay -Qq | grep ssl
lib32-openssl
lib32-openssl-1.1
libressl
openssl
openssl-1.1
python-pyopenssl
wolfssl
Any help would be appreciated
Last edited by inferno0230 (2023-03-22 19:55:52)
Offline
locate bio.h
/usr/include/openssl/bio.h
/usr/include/openssl-1.0/openssl/bio.h
/usr/share/doc/openjpeg-2.5/html/structopj__bio.html
pacman -Si openssl
Repository : core
Name : openssl
Version : 3.0.8-1
...test.c
#include <openssl/bio.h>
#include <stdio.h>
int main()
{
printf("Hello world\n");
return 0;
}
//gcc test.c -o test./test
Hello worldOffline
Please post at least the verbose output of make for the failing job so that it shows the compiler command that failed.
Offline