Sander Eikelenboom
2012-Aug-30 20:53 UTC
/usr/src/new/xen-unstable.hg/tools/qemu-xen-dir/fpu/softfloat-specialize.h:92: error: initializer element is not constant
Hi All, I''m was trying to compile xen-unstable (last changeset: 25786) and ran into a compile error in qemu-xen: After freshly cloning, running ./configure and make world: CC hmp.o CC libdis/i386-dis.o GEN config-target.h CC i386-softmmu/arch_init.o CC i386-softmmu/cpus.o GEN i386-softmmu/hmp-commands.h GEN i386-softmmu/qmp-commands-old.h CC i386-softmmu/monitor.o CC i386-softmmu/machine.o CC i386-softmmu/gdbstub.o CC i386-softmmu/balloon.o CC i386-softmmu/ioport.o CC i386-softmmu/virtio.o CC i386-softmmu/virtio-blk.o CC i386-softmmu/virtio-balloon.o CC i386-softmmu/virtio-net.o CC i386-softmmu/virtio-serial-bus.o CC i386-softmmu/vhost_net.o CC i386-softmmu/9pfs/virtio-9p-device.o CC i386-softmmu/kvm-stub.o CC i386-softmmu/memory.o CC i386-softmmu/xen-all.o CC i386-softmmu/xen_machine_pv.o CC i386-softmmu/xen_domainbuild.o CC i386-softmmu/xen-mapcache.o CC i386-softmmu/exec.o CC i386-softmmu/translate-all.o CC i386-softmmu/cpu-exec.o CC i386-softmmu/translate.o CC i386-softmmu/tcg/tcg.o CC i386-softmmu/tcg/optimize.o CC i386-softmmu/fpu/softfloat.o In file included from /usr/src/new/xen-unstable.hg/tools/qemu-xen-dir/fpu/softfloat.c:60: /usr/src/new/xen-unstable.hg/tools/qemu-xen-dir/fpu/softfloat-specialize.h:92: error: initializer element is not constant /usr/src/new/xen-unstable.hg/tools/qemu-xen-dir/fpu/softfloat-specialize.h:107: error: initializer element is not constant make[5]: *** [fpu/softfloat.o] Error 1 make[4]: *** [subdir-i386-softmmu] Error 2 make[4]: Leaving directory `/usr/src/new/xen-unstable.hg/tools/qemu-xen-dir-remote'' make[3]: *** [subdir-all-qemu-xen-dir] Error 2 make[3]: Leaving directory `/usr/src/new/xen-unstable.hg/tools'' make[2]: *** [subdirs-install] Error 2 make[2]: Leaving directory `/usr/src/new/xen-unstable.hg/tools'' make[1]: *** [install-tools] Error 2 make[1]: Leaving directory `/usr/src/new/xen-unstable.hg'' make: *** [world] Error 2
Olaf Hering
2012-Aug-30 21:17 UTC
Re: /usr/src/new/xen-unstable.hg/tools/qemu-xen-dir/fpu/softfloat-specialize.h:92: error: initializer element is not constant
On Thu, Aug 30, Sander Eikelenboom wrote:> In file included from /usr/src/new/xen-unstable.hg/tools/qemu-xen-dir/fpu/softfloat.c:60: > /usr/src/new/xen-unstable.hg/tools/qemu-xen-dir/fpu/softfloat-specialize.h:92: error: initializer element is not constant > /usr/src/new/xen-unstable.hg/tools/qemu-xen-dir/fpu/softfloat-specialize.h:107: error: initializer element is not constantI have seen that too months ago, but cant remember the solution. Did you export CFLAGS before build by any chance? Olaf
Sander Eikelenboom
2012-Aug-30 21:34 UTC
Re: /usr/src/new/xen-unstable.hg/tools/qemu-xen-dir/fpu/softfloat-specialize.h:92: error: initializer element is not constant
Hello Olaf, Ahh yes good point, after setting them for a kernel build, i had set them to "", instead of unsetting them completely ... Thx ! -- Sander Thursday, August 30, 2012, 11:17:16 PM, you wrote:> On Thu, Aug 30, Sander Eikelenboom wrote:>> In file included from /usr/src/new/xen-unstable.hg/tools/qemu-xen-dir/fpu/softfloat.c:60: >> /usr/src/new/xen-unstable.hg/tools/qemu-xen-dir/fpu/softfloat-specialize.h:92: error: initializer element is not constant >> /usr/src/new/xen-unstable.hg/tools/qemu-xen-dir/fpu/softfloat-specialize.h:107: error: initializer element is not constant> I have seen that too months ago, but cant remember the solution. Did > you export CFLAGS before build by any chance?> Olaf