From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cam Macdonell Subject: VirtIO configure and compilation problems Date: Mon, 03 Sep 2007 15:28:36 -0600 Message-ID: <46DC7C84.1080708@cs.ualberta.ca> References: <64F9B87B6B770947A9F8391472E032160D59005E@ehost011-8.exch011.intermedia.net> <200708271422.54306.borntraeger@de.ibm.com> <64F9B87B6B770947A9F8391472E032160D6558CB@ehost011-8.exch011.intermedia.net> <200708291223.51252.borntraeger@de.ibm.com> <64F9B87B6B770947A9F8391472E032160D70643B@ehost011-8.exch011.intermedia.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Dor Laor Return-path: In-Reply-To: <64F9B87B6B770947A9F8391472E032160D70643B-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Hi Dor, I was able to grab the virtio sources. However, the make -C kernel command to build the modules doesn't copy over all files. when I run: make -C kernel sync LINUX=/home/cam/research/KVM/dor/kvm/ the following files: linux/virtio.h linux/virtio_blk.h linux/virtio_net.h asm-x86_64/hypercall.h don't get copied into kvm-userspace/kernel/include after copying them manually, I get the compile to move forward until this happens: CC [M] /home/cam/research/KVM/dor/kvm-userspace/kernel/virtio_backend.o KVM/dor/kvm-userspace/kernel/virtio_backend.c: In function 'virtio_add_buf': KVM/dor/kvm-userspace/kernel/virtio_backend.c:104: warning: parameter names (without types) in function declaration KVM/dor/kvm-userspace/kernel/virtio_backend.c:131: error: 'prev' undeclared (first use in this function) KVM/dor/kvm-userspace/kernel/virtio_backend.c:131: error: (Each undeclared identifier is reported only once KVM/dor/kvm-userspace/kernel/virtio_backend.c:131: error: for each function it appears in.) make[3]: *** [KVM/dor/kvm-userspace/kernel/virtio_backend.o] Error 1 Hopefully I'll get to a point when I can fix these myself, but I'm not there yet :) Thanks, Cam ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/