writes:
| While compiling the latest version of uae (the unix amiga emulator), I
| got a strange error-message when linking. It was something similar to:
| 'not enough room for program headers (allocated 5 needed 6)'
| after which the make aborted. I doubt it was a memory problem (with 24 megs
| of ram and 16 swap), but have no clue as to what the problem is.
| Anybody...?
The error is coming from the GNU BFD tools (linker typically). It means that
in order to create an ELF object, it has to create a number of program headers
to reference each section of memory. The current released version of the GNU
BFD tools, 'know' how many program headers are needed in calculating file
offsets. If when it goes to write out the sections, it finds more program
headers than it anticipated, it aborts with the above message. One easy way to
get this error is to use the -Ttext option.
--
Michael Meissner, Cygnus Support (East Coast)
Suite 105, 48 Grove Street, Somerville, MA 02144, USA