Subject: can't build current kernel, Not enough room for program headers
To: None <>
From: Harry Waddell <>
List: current-users
Date: 05/23/2004 13:45:12
I tried building a new kernel from todays src to test some ACPI patches, and
ran into this:

#      link  GENERIC_LAPTOP/netbsd
ld -T ../../../../arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X
-o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o ld: netbsd: Not enough room for
program headers (allocated 3, need 4) ld: final link failed: Bad value
*** [netbsd] Error code 1
1 error

is anyone else experiencing this problem? Is there an easy workaround? 

Harry Waddell
Caravan Electronic Publishing