Ethan Benson wrote: > > (i don't see anything in the archives on this so..) > > has anyone tried compiling MOL lately? with version 0.9.50 (after > adding libiberty.h from binutils-dev source to mol-/include/) i get > this: > > gcc -L/usr/X11R6/lib -lX11 -lXext -lncurses -lpthread -lm -o mol > debugger/debugger.o emulation/emulation.o drivers/drivers.o mon/mon.o > booter/booter.o > booter/booter.o: In function `elfloader_init': > booter/booter.o(.text+0x98): undefined reference to `elf_version' > booter/booter.o(.text+0x98): relocation truncated to fit: R_PPC_REL24 > elf_version > booter/booter.o(.text+0xa8): undefined reference to `elf_begin' > booter/booter.o(.text+0xa8): relocation truncated to fit: R_PPC_REL24 > elf_begin > booter/booter.o(.text+0xd8): undefined reference to `elf32_getehdr' > booter/booter.o(.text+0xd8): relocation truncated to fit: R_PPC_REL24 > elf32_getehdr > booter/booter.o(.text+0x114): undefined reference to `elf32_getphdr' > booter/booter.o(.text+0x114): relocation truncated to fit: R_PPC_REL24 > elf32_getphdr > collect2: ld returned 1 exit status > make: *** [mol] Error 1
Do you have libelf installed? In the bk version of mol, I see STATIC_LIBS = /usr/lib/libelf.a in booter/Makefile. > and no i am not interested in using alienated .rpms thank you very much ;-) I could show you a nice RPM containing libelf :-) -- Martin