Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 11-10-2010, 02:33 PM   #1
LQ Newbie
Registered: Nov 2010
Posts: 6

Rep: Reputation: 0
I want to build "ELF 64-bit LSB shared object", not "ELF 64-bit LSB executable"

I downloaded CentOS 5.5 (RedHat) recently, and I see that both on the LiveCD and on my hard drive, where installed, the Linux executable (vmlinuz...) is an ELF 64-bit LSB shared object. When building from sources, a make at the outermost level produces and Linux which is an ELF 64-bit executable, is much bigger than the shared object, and booting it fails with the message "Error 13: Invalid or unsupported executable format". Sounds like I'm missing something simple in my ingorance.
Possible clues?
1. What I build is called vmlinux... instead of vmlinuz.... I tried to build vmlinuz but that's not a known symbol to "make".
2. I've seen on the web where somebody suggested a CONFIG_RELOCATABLE manifest for a different Linux/platform, but I don't see it or anything like it in .config.
3. I've looked for linker options, but they all seem to be geared towards handling different input formats, not output formats.
Old 11-11-2010, 04:20 PM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
If you plan to rebuild your kernel you're better off studying some HOWTO's for the distribution you're working with rather than "winging it." Here is one on the CentOS wiki (probably a good choice) -->, but Google is your friend and may help you find more information.
1 members found this post helpful.
Old 11-15-2010, 12:55 PM   #3
LQ Newbie
Registered: Nov 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for prompt

I had actually already followed the script you pointed to, but it would never complete. Turns out it was because I had set the value of CONFIG_LOG_BUF_SHIFT too high, and I didn't see that it was reporting an error. So on your advice I tried it again, and was able to make the needed adjustment. I now have a nice new set of .rpm's, hopefully I can install them.


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
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 05:40 AM
Shouldn't "Slackware64" Become just "Slackware" and 32-bit Become "Slackware32"? foodown Slackware 6 06-23-2009 02:24 PM
configuring/viewing ELF 32-bit LSB executable file in design view leiashton Linux - Newbie 0 02-20-2009 08:23 AM
ELF 32-bit LSB executable how to run vinsky2002 Linux - Software 1 01-12-2005 03:07 AM
/usr/libexec/ Shared object "" not found lxxy *BSD 1 12-04-2003 01:01 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:53 PM.

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