Failure to compile qemu-kvm - "In file included from /home/ykaul/qemu-kvm/hw/pci.c:36:0: ./qmp-commands.h:3:1: error: expected identifier or ‘(’ before ‘{’ token"
Latest git hash 1d1c8a498b7ce5c5636f1014f7ad18aa4e1acc0a (though I think it happened before that).
./configure command line:
--target-list=x86_64-softmmu --enable-vnc-thread --audio-card-list=hda --disable-nptl --disable-guest-base --enable-spice --disable-werror --disable-usb-redir --disable-smartcard-nss
On F16/x64. qemu latest compiles fine with those parameters.
...
CC x86_64-softmmu/pci.o
In file included from /home/ykaul/qemu-kvm/hw/pci.c:36:0:
./qmp-commands.h:3:1: error: expected identifier or ‘(’ before ‘{’ token ./qmp-commands.h:10:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:20:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:30:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:40:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:50:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:60:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:70:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:80:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:90:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:100:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:110:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:120:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:130:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:140:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:154:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:164:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:174:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:184:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:194:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:204:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:214:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:224:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:233:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:244:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:254:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:264:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:274:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:284:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:294:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:304:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:314:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:323:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:333:2: error: expected identifier or ‘(’ before ‘,’ token /home/ykaul/qemu-kvm/hw/pci.c:1431:14: warning: no previous prototype for ‘qmp_query_pci’ [-Wmissing-prototypes]
Thanks,
Y.
ping?
(still happens, latest git commit is fcfeed4a398a8524ce8f84eaaba984bd9c27354e )
Quoted 55 lines · Yaniv Kaul
Latest git hash
1d1c8a498b7ce5c5636f1014f7ad18aa4e1acc0a(though I think it happened before that). ./configure command line:
--target-list=x86_64-softmmu --enable-vnc-thread --audio-card-list=hda --disable-nptl --disable-guest-base --enable-spice --disable-werror --disable-usb-redir --disable-smartcard-nssOn F16/x64. qemu latest compiles fine with those parameters.
...
CC
x86_64-softmmu/pci.o
In file included from/home/ykaul/qemu-kvm/hw/pci.c:36:0:
./qmp-commands.h:3:1: error: expected identifier or ‘(’ before ‘{’ token ./qmp-commands.h:10:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:20:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:30:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:40:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:50:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:60:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:70:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:80:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:90:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:100:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:110:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:120:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:130:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:140:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:154:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:164:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:174:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:184:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:194:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:204:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:214:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:224:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:233:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:244:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:254:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:264:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:274:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:284:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:294:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:304:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:314:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:323:2: error: expected identifier or ‘(’ before ‘,’ token ./qmp-commands.h:333:2: error: expected identifier or ‘(’ before ‘,’ token/home/ykaul/qemu-kvm/hw/pci.c:1431:14: warning: no previous prototype for ‘qmp_query_pci’ [-Wmissing-prototypes]Thanks,
Y.Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · Yaniv Kaul
ping?
(still happens, latest git commit isfcfeed4a398a8524ce8f84eaaba984bd9c27354e)
Tried this on a clean build repositor? If that doesn't help, check out of tree building.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux