what does this error mean?

mairtin loingsigh mairtin.loingsigh1 at gmail.com
Fri Jan 4 10:08:59 EST 2013


When producing an ELF output file, if the linker script uses the
SIZEOF_HEADERS builtin function, the linker must compute the number of
program headers before it has determined all the section addresses and
sizes. If the linker later discovers that it needs additional program
headers, it will report an error `not enough room for program headers'. To
avoid this error, you must avoid using the SIZEOF_HEADERS function, or you
must rework your linker script to avoid forcing the linker to use
additional program headers, or you must define the program headers yourself
using the PHDRS command (see section 3.8 PHDRS
Command<http://www.delorie.com/gnu/docs/binutils/ld_39.html>).


On Fri, Jan 4, 2013 at 5:33 AM, John Smith <horserivers at gmail.com> wrote:

> Not enough room for program headers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130104/4d4e336f/attachment.html 


More information about the Kernelnewbies mailing list