Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-11-2007, 12:32 PM   #1
Registered: Mar 2007
Location: Stuttgart, Germany
Distribution: gentoo
Posts: 72

Rep: Reputation: 15
crosscompiling grub


I would like to use grub to boot an embedded box with linux over the net.
For that, I need to (cross)compile grub on a host (AMD Duron /kernel 2.6.18) for the embedded box (kernel 2.4.23 + patches). I am running grub's configure script like this:

./configure --enable-diskless --enable-davicom --enable-tulip --build=i486 --disable-iso9660 --disable-xfs --disable-jfs --disable-reiserfs --disable-minix --disable-ufs2 --disable-ffs --without-curses --host=i386 --enable-example-kernel LDFLAGS='-static -L/usr/src/libc_ts5600/lib' --build=i386

The executable generated by make does not run on the embeeded box (error message: kernel to old) and seems to be build for the host:
file grub/grub
grub/grub: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, statically linked, for GNU/Linux 2.6.9, not stripped

What I would need is
.file ./libc_ts5600/lib/ ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, not stripped
(The libraries were delivered with the embedded box)

I'd appreciate some help with this.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 01:55 PM
can some fc4 user mail his grub.conf and tell me how can i make this grub read this amolgupta Linux - Software 1 03-15-2006 05:04 AM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 09:01 PM
crosscompiling gcc error Alotau Linux - Software 4 06-22-2005 05:39 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 05:55 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration