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

Re: MOL compilation



Ethan Benson wrote:
> 
> On Mon, Sep 11, 2000 at 04:42:59PM +0100, Martin Costabel wrote:
> 
> > Do you have libelf installed? In the bk version of mol, I see
> > STATIC_LIBS     = /usr/lib/libelf.a
> > in booter/Makefile.
> 
> [eb@socrates eb]$ locate libelf.a
> /usr/lib/libelf.a
> [eb@socrates eb]$ dlocate -S /usr/lib/libelf.a
> libelfg0-dev: /usr/lib/libelf.a
> [eb@socrates eb]$
> 
> > I could show you a nice RPM containing libelf :-)
> 
> why?  i already have it ;-)

Then I don't understand anymore how you manage to get 
  undefined reference to `elf32_getehdr'
and so on. Must be some other trick.

If I rm booter/booter.o and then make, I see

...
Entering '/2/mol-bk/booter/strip_nwrom'
gcc   -o strip_nwrom strip.o 
ld  -r -o booter.o obj/init.o obj/ofglue.o obj/of1275.o obj/ofmem.o
obj/rtas.o /usr/lib/libelf.a
...
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 
++ BUILD COMPLETE ++


--
Martin



Reply to: