You have kernel26-headers and linux-api-headers installed, correct?
If so, I would try and see if I could change this: "cc1: warnings being treated as errors".
I think they're using "-Werror" or "-Werror=$something" in their compile, and if you can change that (maybe with a -Wno-error=$something, or less appealing by sed-ing the Makefile responsible), you could get it to build.
Can't test at the moment or I would.
Search Criteria
Package Base Details: qemu-git
Package Actions
Git Clone URL: | https://aur.archlinux.org/qemu-git.git (read-only, click to copy) |
---|---|
Keywords: | git kvm qemu |
Submitter: | None |
Maintainer: | FredBezies |
Last Packager: | FredBezies |
Votes: | 29 |
Popularity: | 0.000498 |
First Submitted: | 2009-09-19 20:02 (UTC) |
Last Updated: | 2024-04-24 10:20 (UTC) |
<deleted-account> commented on 2010-11-08 06:14 (UTC)
FredBezies commented on 2010-11-04 06:32 (UTC)
Got this error when trying to build recent source code :
CC i386-softmmu/vhost_net.o
cc1: warnings being treated as errors
In file included from /usr/src/linux-2.6.36-ARCH/include/linux/vhost.h:13:0,
from /home/fred/download/qemu-git/src/qemu-build/hw/vhost_net.c:22:
/usr/src/linux-2.6.36-ARCH/include/linux/types.h:13:2: erreur: #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders"
make[1]: *** [vhost_net.o] Erreur 1
make: *** [subdir-i386-softmmu] Erreur 2
Any idea to get it fixed ?
FredBezies commented on 2010-09-17 06:58 (UTC)
Adopted it, and made it "better" using official kvm PKGBUILD.
<deleted-account> commented on 2010-04-18 18:47 (UTC)
Missing dependency - vde2.
Pinned Comments
FredBezies commented on 2022-04-22 08:38 (UTC) (edited on 2022-11-09 10:49 (UTC) by FredBezies)
Note: I won't use the ultimate splitting for Qemu (introduced by Qemu 7.0) until I get some help to migrate to the splitted PKGBUILD.
Note 2 : qemu-git packages are conflicting with qemu-desktop meta package. This package will need a lot of work and time to be corrected. Sorry.