OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 25, 2024 4:50 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Building GRUB2 failed at step make
PostPosted: Wed Dec 07, 2016 4:08 pm 
Offline

Joined: Wed Dec 07, 2016 10:39 am
Posts: 9
Hello,

I have a problem. I wanted to build GRUB2 but it failed at the command make. I attached the console output. Sorry some words are in German.

Fehler = error
wird verlassen = is left
die Regel = the rule
Verzeichnis = directory
scheiterte = failed
für Ziel = for target

How can I solve this problem I installed all dependencies??


Attachments:
errors.png
errors.png [ 95.92 KiB | Viewed 2233 times ]

_________________
"The world is in greater peril from those who tolerate or encourage evil than from those who actually commit it." - Albert Einstein


Last edited by Adrox on Thu Dec 08, 2016 1:21 pm, edited 1 time in total.
Top
 Profile  
 
 Post subject: Re: Building GRUB2 failed at step make
PostPosted: Wed Dec 07, 2016 4:31 pm 
Offline
Member
Member
User avatar

Joined: Tue Aug 02, 2016 1:52 pm
Posts: 286
Location: East Riding of Yorkshire, UK
Adrox wrote:
Hello,

I have a problem. I wanted to build GRUB2 but it failed at the command make. I attached the console output. Sorry some words are in German.

Fehler = error
wird verlassen = is left
die Regel = the rule
Verzeichnis = directory
scheiterte = failed
für Ziel = for target

How can I solved this problem I installed all dependencies??


Is there any reason you can't use the grub2 from the Ubuntu repositories?

_________________
com.sun.java.swing.plaf.nimbus.InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState
Compiler Development Forum


Top
 Profile  
 
 Post subject: Re: Building GRUB2 failed at step make
PostPosted: Wed Dec 07, 2016 11:07 pm 
Offline

Joined: Wed Dec 07, 2016 10:39 am
Posts: 9
Grub2 is in the official repositories? Is grub2 precompiled there?

_________________
"The world is in greater peril from those who tolerate or encourage evil than from those who actually commit it." - Albert Einstein


Top
 Profile  
 
 Post subject: Re: Building GRUB2 failed at step make
PostPosted: Wed Dec 07, 2016 11:33 pm 
Offline
Member
Member
User avatar

Joined: Fri Aug 07, 2015 6:13 am
Posts: 1134
Just: sudo apt-get install grub2 and sudo apt-get install xorriso to make sure your builds are not failing because of that. Why would you want to compile GRUB, just use those two commands.

_________________
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader


Top
 Profile  
 
 Post subject: Re: Building GRUB2 failed at step make
PostPosted: Thu Dec 08, 2016 12:30 am 
Offline
Member
Member

Joined: Sat Nov 07, 2015 3:12 pm
Posts: 145
Hi,
in order to have standard error messages , prefix your command line with LC_ALL=C.
Many GNU software needs to be configured before running make. So go ahead and run:
Code:
LC_ALL=C ./configure


Top
 Profile  
 
 Post subject: Re: Building GRUB2 failed at step make
PostPosted: Thu Dec 08, 2016 12:59 pm 
Offline

Joined: Wed Dec 07, 2016 10:39 am
Posts: 9
Thanks for your answers I am going to test these solutions soon. Besides I am going to install grub2 via the official repositories

_________________
"The world is in greater peril from those who tolerate or encourage evil than from those who actually commit it." - Albert Einstein


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 121 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group