On May 13, 2000, Jonathon Shapiro wrote:
>> make[4]: *** No rule to make target `-lbfd', needed by `mkimage'.
>> make[4]: *** No rule to make target `-liberty', needed by `mkimage'.
>
>Brian:
>
>The rest looks like I should now have them fixed, but this one is
>extremely weird. I need to know what directory this occurred
>in.
I encountered the same problem in base/cross/bin/mkimage. -lbfd and -liberty are included as dependencies of mkimage. Here is a patch for base/cross/bin/mkimage/Makefile that seems to fix it:
37c37,38
< LIBS+= $(EROS_ROOT)/cross/lib/libzlib.a -lbfd -liberty
---
> LIBS+= $(EROS_ROOT)/cross/lib/libzlib.a
> OLIBS= -lbfd -liberty
45c46 < $(GPLUS) $(GPLUSFLAGS) -o mkimage $(OBJECTS) $(XENV_LIBDIR) $(LIBS) ---
> $(GPLUS) $(GPLUSFLAGS) -o mkimage $(OBJECTS) $(XENV_LIBDIR) $(LIBS) $(OLIBS)
---------- Michael Grinder grinder@cs.montana.edu "Well, I've wrestled with reality for 35 years, doctor, and I'm happy to state I finally won out over it." -- Elwood P. Dowd in "Harvey"