[Prev][Next][Index][Thread]

ld error with OSKit 20000002



I'm getting a linker error trying to build a kernel that I have built
before on the same setup (same compilers, linkers, oskit version etc). 

The only thing I've changed is that I've gone over to an automake style
build, and now that I have all these obj files in different directories I get this error:

[jewel@svetlana kissme]$ make -f newoskit-Makefile ld -Ttext 100000
-L/home/jewel/oskit-install/lib/ -L/home/jewel/oskit-install/lib/oskit \
-o kissmeimage /home/jewel/oskit-install/lib/oskit/multiboot.o \ 
vm/*.o \
vm/svetlana/*.o \ 
lib/indigenous/java.lang/*.o \
lib/indigenous/java.lang.reflect/*.o \
lib/indigenous/plava/*.o \
lib/indigenous/java.io/*.o \ 
lib/indigenous/java.util/*.o \
lib/indigenous/gnu.vm.stack.kludge/*.o \ 
lib/classpath/java.lang/*.o \
lib/classpath/java.io/*.o \ 
lib/classpath/java.net/*.o \ -lz -lm
-loskit_startup -loskit_clientos -loskit_fsnamespace \ 
-loskit_memfs -loskit_dev -loskit_kern -loskit_lmm -loskit_posix \
/home/jewel/oskit-install/lib/oskit/crtn.o -loskit_freebsd_c -loskit_com \
-loskit_freebsd_net -loskit_bootp -loskit_linux_dev -loskit_bootp  \
-loskit_c 
ld: kissmeimage: Not enough room for program headers (allocated 5, need 6)
ld: final link failed: Bad value 
make: *** [kissmeimage] Error 1
[jewel@svetlana kissme]$            


What exactly does " Not enough room for program headers (allocated 5, need
6)" mean?

John


Follow-Ups: References: