On Tue, Feb 29, 2000 at 04:39:53PM -0800, Renaud Dreyer wrote: > > I'm trying to compile MOL on a a Debian Potato system (PowerMac 7300). > The first problem I had was a missing libiberty.h, which I couldn't > find anywhere. Fortunately, Cathy Connelly was nice enough to send me > a copy so I was able to continue. But now I'm stuck at that particular > point, any ideas? > > Entering '/usr/local/src/mol-0.9.41/netdriver' > gcc -pipe -Wall -O2 -D__KERNEL__ -DMODULE -fno-builtin -I. > -I/usr/src/linux/include -c -o sheep.o sheep.c > ld -r -o sheep_net.o sheep.o > 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': > /usr/local/src/mol-0.9.41/booter/init.c:97: undefined reference to > `elf_version' > /usr/local/src/mol-0.9.41/booter/init.c:97: relocation truncated to fit: > R_PPC_REL24 elf_version > /usr/local/src/mol-0.9.41/booter/init.c:98: undefined reference to `elf_begin' > /usr/local/src/mol-0.9.41/booter/init.c:98: relocation truncated to fit: > R_PPC_REL24 elf_begin > /usr/local/src/mol-0.9.41/booter/init.c:102: undefined reference to > `elf32_getehdr' > /usr/local/src/mol-0.9.41/booter/init.c:102: relocation truncated to fit: > R_PPC_REL24 elf32_getehdr > /usr/local/src/mol-0.9.41/booter/init.c:108: undefined reference to > `elf32_getphdr' > /usr/local/src/mol-0.9.41/booter/init.c:108: relocation truncated to fit: > R_PPC_REL24 elf32_getphdr > collect2: ld returned 1 exit status > make: *** [mol] Error 1
do you have binutils-multiarch inbstalled, it makes ld behave strangely when compiling linux kernels. Friendly, Sven LUTHER