Ask Your Question

Revision history [back]

Linux Kernel 4.19 wont compile on Fedora 29

Hey, I cant seem to compile the linux kernel 4.19 (SAME KERNEL ON PC NOW). I run these commands:

wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.19.5.tar.gz
tar -xvzf linux-4.19.5.tar.gz
cd linux-4.19.5/
cp /boot/config-$(uname -r) .config
make

I put it into a script. I run it. After the first 4 lines make starts to do its thing and looks good at first until...

PART OF OUTPUT:

scripts/sign-file.c:25:10: fatal error: openssl/opensslv.h: No such file or directory
 #include <openssl/opensslv.h>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.host:90: scripts/sign-file] Error 1
make: *** [Makefile:1067: scripts] Error 2

what am i doing wrong??

Linux Kernel 4.19 wont compile on Fedora 29

Hey, I cant seem to compile the linux kernel 4.19 (SAME KERNEL ON PC NOW). I run these commands:

wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.19.5.tar.gz
tar -xvzf linux-4.19.5.tar.gz
cd linux-4.19.5/
cp /boot/config-$(uname -r) .config
make

I put it into a script. I run it. After the first 4 lines make starts to do its thing and looks good at first until...

PART OF OUTPUT:

scripts/sign-file.c:25:10: fatal error: openssl/opensslv.h: No such file or directory
 #include <openssl/opensslv.h>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.host:90: scripts/sign-file] Error 1
make: *** [Makefile:1067: scripts] Error 2

what am i doing wrong??

UPDATE: So it seemed to have compiled i am not quite sure. i wake up and it says:

>      CALL    scripts/checksyscalls.sh
>       DESCEND  objtool
>       CHK     include/generated/compile.h
>       TEST    posttest
>     arch/x86/tools/insn_decoder_test: success: Decoded and checked 5426122
> instructions
>       TEST    posttest
>     arch/x86/tools/insn_sanity: Success: decoded and checked 1000000
> random instructions with 0 errors
> (seed:0x4f864da4)
>     Kernel: arch/x86/boot/bzImage is ready  (#1)
>       Building modules, stage 2.
>       MODPOST 3414 modules # LAST LINE

And it looked like that QUIT A WAYS UP

Then i see my bash promt and i run it again but make some changes first: OUTPUT:

>   CALL    scripts/checksyscalls.sh  
> DESCEND  objtool   CHK    
> include/generated/compile.h   TEST   
> posttest
> arch/x86/tools/insn_decoder_test:
> success: Decoded and checked 5426122
> instructions   TEST    posttest
> arch/x86/tools/insn_sanity: Success:
> decoded and checked 1000000 random
> instructions with 0 errors
> (seed:0x4f864da4) Kernel:
> arch/x86/boot/bzImage is ready  (#1)  
> Building modules, stage 2.   MODPOST
> 3414 modules

Is this a bad thing or a good thing??

Linux Kernel 4.19 wont compile on Fedora 29

Hey, I cant seem to compile the linux kernel 4.19 (SAME KERNEL ON PC NOW). I run these commands:

wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.19.5.tar.gz
tar -xvzf linux-4.19.5.tar.gz
cd linux-4.19.5/
cp /boot/config-$(uname -r) .config
make

I put it into a script. I run it. After the first 4 lines make starts to do its thing and looks good at first until...

PART OF OUTPUT:

scripts/sign-file.c:25:10: fatal error: openssl/opensslv.h: No such file or directory
 #include <openssl/opensslv.h>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.host:90: scripts/sign-file] Error 1
make: *** [Makefile:1067: scripts] Error 2

what am i doing wrong??

UPDATE: So it seemed to have compiled i am not quite sure. i wake up and it says:

>      CALL    scripts/checksyscalls.sh
>       DESCEND  objtool
>       CHK     include/generated/compile.h
>       TEST    posttest
>     arch/x86/tools/insn_decoder_test: success: Decoded and checked 5426122
> instructions
>       TEST    posttest
>     arch/x86/tools/insn_sanity: Success: decoded and checked 1000000
> random instructions with 0 errors
> (seed:0x4f864da4)
>     Kernel: arch/x86/boot/bzImage is ready  (#1)
>       Building modules, stage 2.
>       MODPOST 3414 modules # LAST LINE

And it looked like that QUIT A WAYS UP

Then i see my bash promt and i run it again but make some changes first: OUTPUT:

>   CALL    scripts/checksyscalls.sh  
> DESCEND  objtool   CHK    
> include/generated/compile.h   TEST   
> posttest
> arch/x86/tools/insn_decoder_test:
> success: Decoded and checked 5426122
> instructions   TEST    posttest
> arch/x86/tools/insn_sanity: Success:
> decoded and checked 1000000 random
> instructions with 0 errors
> (seed:0x4f864da4) Kernel:
> arch/x86/boot/bzImage is ready  (#1)  
> Building modules, stage 2.   MODPOST
> 3414 modules

Is this a bad thing or a good thing??thing?? BTW I AM TRYING TO MAKE A DISTRO

Linux Kernel 4.19 wont compile on Fedora 29

Hey, I cant seem to compile the linux kernel 4.19 (SAME KERNEL ON PC NOW). I run these commands:

wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.19.5.tar.gz
tar -xvzf linux-4.19.5.tar.gz
cd linux-4.19.5/
cp /boot/config-$(uname -r) .config
make

I put it into a script. I run it. After the first 4 lines make starts to do its thing and looks good at first until...

PART OF OUTPUT:

scripts/sign-file.c:25:10: fatal error: openssl/opensslv.h: No such file or directory
 #include <openssl/opensslv.h>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.host:90: scripts/sign-file] Error 1
make: *** [Makefile:1067: scripts] Error 2

what am i doing wrong??

UPDATE: So it seemed to have compiled i am not quite sure. i wake up and it says:

>      CALL    scripts/checksyscalls.sh
>       DESCEND  objtool
>       CHK     include/generated/compile.h
>       TEST    posttest
>     arch/x86/tools/insn_decoder_test: success: Decoded and checked 5426122
> instructions
>       TEST    posttest
>     arch/x86/tools/insn_sanity: Success: decoded and checked 1000000
> random instructions with 0 errors
> (seed:0x4f864da4)
>     Kernel: arch/x86/boot/bzImage is ready  (#1)
>       Building modules, stage 2.
>       MODPOST 3414 modules # LAST LINE

And it looked like that QUIT A WAYS UP

Then i see my bash promt and i run it again but make some changes first: OUTPUT:

>   CALL    scripts/checksyscalls.sh  
> DESCEND  objtool   CHK    
> include/generated/compile.h   TEST   
> posttest
> arch/x86/tools/insn_decoder_test:
> success: Decoded and checked 5426122
> instructions   TEST    posttest
> arch/x86/tools/insn_sanity: Success:
> decoded and checked 1000000 random
> instructions with 0 errors
> (seed:0x4f864da4) Kernel:
> arch/x86/boot/bzImage is ready  (#1)  
> Building modules, stage 2.   MODPOST
> 3414 modules

Is this a bad thing or a good thing?? BTW I AM TRYING TO MAKE A DISTRODISTRO. here is my git so you can see what i am doing https://gitlab.com/lebro/linuxandfriends ..! by the way i am just a 6 grade and got to do school but i can checkup on this every break

Linux Kernel 4.19 wont compile on Fedora 29

Hey, I cant seem to compile the linux kernel 4.19 (SAME KERNEL ON PC NOW). I run these commands:

wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.19.5.tar.gz
tar -xvzf linux-4.19.5.tar.gz
cd linux-4.19.5/
cp /boot/config-$(uname -r) .config
make

I put it into a script. I run it. After the first 4 lines make starts to do its thing and looks good at first until...

PART OF OUTPUT:

scripts/sign-file.c:25:10: fatal error: openssl/opensslv.h: No such file or directory
 #include <openssl/opensslv.h>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.host:90: scripts/sign-file] Error 1
make: *** [Makefile:1067: scripts] Error 2

what am i doing wrong??

UPDATE: So it seemed to have compiled i am not quite sure. i wake up and it says:

>      CALL    scripts/checksyscalls.sh
>       DESCEND  objtool
>       CHK     include/generated/compile.h
>       TEST    posttest
>     arch/x86/tools/insn_decoder_test: success: Decoded and checked 5426122
> instructions
>       TEST    posttest
>     arch/x86/tools/insn_sanity: Success: decoded and checked 1000000
> random instructions with 0 errors
> (seed:0x4f864da4)
>     Kernel: arch/x86/boot/bzImage is ready  (#1)
>       Building modules, stage 2.
>       MODPOST 3414 modules # LAST LINE

And it looked like that QUIT A WAYS UP

Then i see my bash promt and i run it again but make some changes first: OUTPUT:

>   CALL    scripts/checksyscalls.sh  
> DESCEND  objtool   CHK    
> include/generated/compile.h   TEST   
> posttest
> arch/x86/tools/insn_decoder_test:
> success: Decoded and checked 5426122
> instructions   TEST    posttest
> arch/x86/tools/insn_sanity: Success:
> decoded and checked 1000000 random
> instructions with 0 errors
> (seed:0x4f864da4) Kernel:
> arch/x86/boot/bzImage is ready  (#1)  
> Building modules, stage 2.   MODPOST
> 3414 modules

Is this a bad thing or a good thing?? BTW I AM TRYING TO MAKE A DISTRO. here is my git so you can see what i am doing https://gitlab.com/lebro/linuxandfriends ..! by the way i am just a 6 grade and got to do school but i can checkup on this every break