Skip to contentSkip to conversation

configure fail for grub

DISCUSSION James Shewey 4 participants 5 messages Dec 8, 2008 – Dec 9, 2008

lore
Share & tools
lore
#0 lore raw

Grub will not currently compile on 64 bit distros. Try compiling with a 32 bit live cd or a 32 bit VM (you can try virtualbox.org for this) and then copying the requisite files to the 64 bit OS.

-----Original Message-----
From: Alan Zheng <[email protected]>
Sent: Monday, December 08, 2008 3:50 AM
To: [email protected]
Subject: configure fail for grub

Hello All:

When I configure grub-1.96, I got following error message:

configure: error: neither start nor _start is defined

Could anybody give me some ideas for it?

Signature · 3 lines
Best Regards

Alan Zheng
#1 lore raw
Quoted 1 line · James Shewey

Grub will not currently compile on 64 bit distros. Try compiling with a 32 bit live cd or a 32 bit VM (you can try virtualbox.org for this) and then copying the requisite files to the 64 bit OS.

I compile GRUB 2 SVN always on 64 bit Ubuntu...

So please try with SVN version.

#2 lore raw

This is what I used (64 bit ubuntu trying to compile grub2 latest SVN [at the time, that was about 2 mos ago]) to compile (which resulted in this error). I had to compile on 32 bit to get it to work. I compiled on 32 bit because I either read it on the mailing list or was told that in the IRC channel at the time. But if it should work... Try compiling it with the latest version of SVN and see what happens. If it still doesn't work, see if you can work with the devs here to figure out why it is not working.

Regards,

James

Quoted 15 lines · Vesa Jääskeläinen
Quoted 1 line · James Shewey

Grub will not currently compile on 64 bit distros. Try compiling with a

32 bit live cd or a 32 bit VM (you can try virtualbox.org for this) and then copying the requisite files to the 64 bit OS.

I compile GRUB 2 SVN always on 64 bit Ubuntu...

So please try with SVN version.

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

#3 lore raw
In reply to James Shewey
Quoted 5 lines · James Shewey

When I configure grub-1.96, I got following error message:

configure: error: neither start nor _start is defined

Could anybody give me some ideas for it?

This happens if tools for 32-bit compilation are not available. Compiling on x86_64 defaults to 32-bit PC platform. It's possible to compile for 64-bit EFI platform by specifying:

./configure --with-platform=efi

Signature · 2 lines
Regards,
Pavel Roskin
#4 lore raw

----- Original Message ----

Quoted 11 lines

From: Pavel Roskin <[email protected]>
To: The development of GRUB 2 <[email protected]>
Sent: Tuesday, 9 December, 2008 6:22:36 AM
Subject: RE: configure fail for grub

Quoted 4 lines · James Shewey

When I configure grub-1.96, I got following error message:

configure: error: neither start nor _start is defined

Quoted 13 lines
Quoted 1 line

Could anybody give me some ideas for it?

This happens if tools for 32-bit compilation are not available. Compiling on x86_64 defaults to 32-bit PC platform.  It's possible to compile for 64-bit EFI platform by specifying:

./configure --with-platform=efi

Signature · 2 lines
Regards,
Pavel Roskin

Hi,

As mentioned above, it is because of the 32 bit compilation tools not available.I have faced the same problem in which my compiler was gcc-4.2.1 and to compile this I installed gcc-3.4.3 and made the CC point to the proper compiler and it worked.

Viswesh

Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/