Nope. That utility runs in native linux mode, so it should be linking the standard libbfd from your linux distribution.
It definitely should NOT be linking the one from the cross directory.
Is it possible that libbfd.a is installed in a nonstandard place on your system?
>
> Well, I did the start from scratch, make update thing and tried it
again...
>
> I ran into this error :
>
> make[4]: Entering directory
`/usr/local/src/eros/src/base/cross/bin/mkimage'
> make[4]: *** No rule to make target `-lbfd', needed by `mkimage'. Stop.
> make[4]: Leaving directory
`/usr/local/src/eros/src/base/cross/bin/mkimage'
> *** RECURSIVE BUILD STOPS ***
>
> If we visit the directory and look at the Makefile we find the
> following line in it :
>
> LIBS+= $(EROS_ROOT)/cross/lib/libzlib.a -lbfd -liberty
>
> I'm assuming it should be :
>
> LIBS+= $(EROS_ROOT)/cross/lib/libzlib.a $(EROS_XENV)/lib/libbfd.a \
> $(EROS_XENV)/lib/libiberty.a
>
> So I tried that, and saw a most happy thing :-)
>
> ../../../build/lib/make/erosinstall -d /usr/local/src/eros/domain
> ../../../build/lib/make/erosinstall -m 644 nfile.map
/usr/local/src/eros/domain