Skip to contentSkip to conversation

Problem with building the kernel

DISCUSSION Supriya Srivatsa 3 participants 5 messages Sep 24, 2015 – Sep 25, 2015

lore
Share & tools
lore
#0 lore raw

Hello.
I am trying to build the kernel code. I am following instructions from the tutorial page.
However, I have run into a problem.
When I run the 'make' command, I land at the following errors and compilation is terminated.

  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  HOSTCC  scripts/sign-file
scripts/sign-file.c:20:25: fatal error: openssl/bio.h: No such file or 
directory
 #include <openssl/bio.h>
                         ^

compilation terminated.
make[1]: *** [scripts/sign-file] Error 1
make: *** [scripts] Error 2

I am not able to proceed and will be really grateful for guidance. Thank you. :)

#1 lore raw
Quoted 20 lines · Supriya Srivatsa

Hello.
I am trying to build the kernel code. I am following instructions from the tutorial page.
However, I have run into a problem.
When I run the 'make' command, I land at the following errors and compilation is terminated.

  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  HOSTCC  scripts/sign-file
scripts/sign-file.c:20:25: fatal error: openssl/bio.h: No such file or
directory
 #include <openssl/bio.h>
                         ^
Quoted 7 lines

compilation terminated.
make[1]: *** [scripts/sign-file] Error 1
make: *** [scripts] Error 2

I am not able to proceed and will be really grateful for guidance. Thank you. :)

You are missing the package that brings openssl/bio.h file. On a debian based distribution, running:

$ apt get install libssl-dev

should fix the problem.

thanks,
Daniel.

#2 lore raw

That fixed it. Thank you Daniel. :)

Quoted 43 lines · Daniel Baluta
Quoted 2 lines · On Thu, Sep 24, 2015 at 5:01 PM, Supriya Srivatsa <[email protected]…

Hello.
I am trying to build the kernel code. I am following instructions from

the

Quoted 18 lines

tutorial page.
However, I have run into a problem.
When I run the 'make' command, I land at the following errors and compilation is terminated.

  CHK     include/config/kernel.release 
  CHK     include/generated/uapi/linux/version.h 
  CHK     include/generated/utsrelease.h 
  CHK     include/generated/bounds.h 
  CHK     include/generated/timeconst.h 
  CHK     include/generated/asm-offsets.h 
  CALL    scripts/checksyscalls.sh 
  HOSTCC  scripts/sign-file 
scripts/sign-file.c:20:25: fatal error: openssl/bio.h: No such file or 
directory 
 #include <openssl/bio.h> 
                         ^ 
Quoted 7 lines

compilation terminated.
make[1]: *** [scripts/sign-file] Error 1
make: *** [scripts] Error 2

I am not able to proceed and will be really grateful for guidance. Thank you. :)

You are missing the package that brings openssl/bio.h file. On a debian based distribution, running:

$ apt get install libssl-dev 

should fix the problem.

thanks,
Daniel.

#3 lore raw
In reply to Supriya Srivatsa
Quoted 25 lines · Supriya Srivatsa

Hello.
I am trying to build the kernel code. I am following instructions from the tutorial page.
However, I have run into a problem.
When I run the 'make' command, I land at the following errors and compilation is terminated.

  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  HOSTCC  scripts/sign-file
scripts/sign-file.c:20:25: fatal error: openssl/bio.h: No such file or directory
 #include <openssl/bio.h>
                         ^
compilation terminated.
make[1]: *** [scripts/sign-file] Error 1
make: *** [scripts] Error 2

Quoted 1 line

I am not able to proceed and will be really grateful for guidance.

An old stack overflow response suggests that you need to install libssl-dev. Did you try that?

julia

Quoted 13 lines

Thank you. :)

--
You received this message because you are subscribed to the Google Groups
"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/979eb3fd-be55-4cad-8c74- 8bb99fa095c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

#4 lore raw

Hi Julia. Thankyou, that worked. :)

Quoted 54 lines · Julia Lawall
Quoted 2 lines · Supriya Srivatsa

Hello.
I am trying to build the kernel code. I am following instructions from

the

Quoted 18 lines

tutorial page.
However, I have run into a problem.
When I run the 'make' command, I land at the following errors and compilation is terminated.

  CHK     include/config/kernel.release 
  CHK     include/generated/uapi/linux/version.h 
  CHK     include/generated/utsrelease.h 
  CHK     include/generated/bounds.h 
  CHK     include/generated/timeconst.h 
  CHK     include/generated/asm-offsets.h 
  CALL    scripts/checksyscalls.sh 
  HOSTCC  scripts/sign-file 
scripts/sign-file.c:20:25: fatal error: openssl/bio.h: No such file or 
directory 
 #include <openssl/bio.h> 
                         ^ 
Quoted 6 lines

compilation terminated.
make[1]: *** [scripts/sign-file] Error 1
make: *** [scripts] Error 2

I am not able to proceed and will be really grateful for guidance.

An old stack overflow response suggests that you need to install libssl-dev. Did you try that?

julia

Quoted 4 lines

Thank you. :)

Signature · 1 line
You received this message because you are subscribed to the Google 

Groups

Quoted 2 lines

"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send

an

Quoted 2 lines

email to [email protected] <javascript:>. To post to this group, send email to [email protected]

<javascript:>.

Quoted 1 line

To view this discussion on the web visithttps://

groups.google.com/d/msgid/outreachy-kernel/979eb3fd-be55-4cad-8c74-

Quoted 4 lines

8bb99fa095c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.