Re: Can't compile MOL 0.9.41 on Debian PowerPC
> 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_ver
> sion'
> > /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_beg
> in'
> > /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,
No, unfortunately that's not it, I only have:
ii binutils 2.9.5.0.22-4 The GNU assembler, linker and binary utiliti
ii binutils-dev 2.9.5.0.22-4 The GNU binary utilities (BFD development fi
Thanks for the help. It looks like I might be condemned to alienating
the MOL RPM and hope for the best... Ciao,
Renaud
Reply to: