"Michael S. Tsirkin" <m...@redhat.com> wrote: > On Thu, Nov 26, 2009 at 07:33:02PM +0100, Juan Quintela wrote: >> "Michael S. Tsirkin" <m...@redhat.com> wrote: >> > Hi! >> > qemu build on fedora 10 fails with: >> > /root/scm/qemu/fpu/softfloat-native.c:132:5: error: "HOST_LONG_BITS" is >> > not defined >> > make[1]: *** [fpu/softfloat-native.o] Error 1 >> > make: *** [subdir-x86_64-softmmu] Error 2 >> > >> > just sticking >> > >> > #define HOST_LONG_BITS 64 >> > >> > in fpu/softfloat-native.c helps, but what is the correct >> > fix? >> >> rm */config.h >> >> You updated from an old tree, right? >> >> Later, Juan. > > Yes. That helped, but I am surprised simply re-running configure was > insufficient.
It is a long, long story. basically config.h was generated and stoped being generated, then moved to a different directory, and you could have an old one around. Make distclean also fixed the problem. Later, Juan.