I'm trying to build NestedVM on cygwin. I get the following error
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o size.exe
size.o
bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a
../libiberty/libiberty.a ./
../intl/libintl.a
../bfd/.libs/libbfd.a(archures.o): In function `bfd_scan_arch':
/nestedvm/upstream/build/binutils-obj/bfd/../../binutils-2.14/bfd/archures.c:512
: undefined reference to `_bfd_mips_arch'
I really have no idea so any help is much appreciated.
John
I have no idea. The binutils build proces is failing for some reason.
Fortunately you caught me at just the right time; I'm on a windows box
right now. I'll give it a shot here and see what happens.
-Brian
I just built NestedVM right out of the box on cygwin here: Just typed:
$ darcs get ...
$ cd nestedvm
$ make test
A quick google search revealed this[1] though (unrelated to NestedVM,
but seems to be the same problem):
> If it fails with a message to the effect of "symbol _bfd_mips_arch not
> found, referenced in archures.c" - make sure there are no DOS CR
> characters (^M) in the source files (that includes .patch files,
> Makefiles,etc.), then
> find . -exec grep -l -L ^M '{}' \;
> is your friend (where ^M is produced in Cygwin shell by doing Ctrl-V
> Ctrl-J). If this finds anything run dos2unix on the files it found.
It might have something to do with text-vs binary mounts in cygwin, or
how you extracted the files (did you start with one of the tarballs or
from darcs?). Wish I could help more, but I'm not cygwin expert, I just
know it works for me.
-Brian