LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-11-2007, 11:32 AM   #1
tilman1
Member
 
Registered: Mar 2007
Location: Stuttgart, Germany
Distribution: gentoo
Posts: 72

Rep: Reputation: 15
crosscompiling grub


Hello,

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/libc-2.2.5.so: 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.

Thanks

Tilman
 
  


Reply



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 12: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 04:04 AM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
crosscompiling gcc error Alotau Linux - Software 4 06-22-2005 04:39 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:55 AM.

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