View previous topic :: View next topic |
Author |
Message |
Shoto n00b
Joined: 06 Feb 2016 Posts: 2
|
Posted: Sun Feb 07, 2016 12:30 pm Post subject: Issues compiling kernel |
|
|
I have been installing Gentoo as is said in the handbook and after running make && make install I get errors, the first time I ran it it meant on for about an hour before any errors now it doesn't last more than 30 seconds.
Picture of errors: http://i.imgur.com/8Fi2C7G.jpg (Sorry for bad quality)
Any help would be great! |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Feb 07, 2016 1:08 pm Post subject: |
|
|
It's compiling example code in the documentation directory... that doesn't make any sense.
How did you configure this kernel? |
|
Back to top |
|
|
Shoto n00b
Joined: 06 Feb 2016 Posts: 2
|
|
Back to top |
|
|
alinefr Tux's lil' helper
Joined: 05 Jul 2009 Posts: 113 Location: São Paulo, Brasil
|
Posted: Sun Feb 07, 2016 8:01 pm Post subject: |
|
|
undefined reference to __stack_chk_fail means you are building with -fstack-protector linking against a non-enabled -fstack-protector library.
Have you set an hardened profile?
What is the output of?
Code: |
sudo eselect profile show
|
|
|
Back to top |
|
|
alinefr Tux's lil' helper
Joined: 05 Jul 2009 Posts: 113 Location: São Paulo, Brasil
|
Posted: Sun Feb 07, 2016 9:31 pm Post subject: |
|
|
Ah... as Ant P. has pointed out. It's building Documentation/.
You may have set 'Kernel Hacking -> Build targets in Documentation/ tree'. Unset it. |
|
Back to top |
|
|
|